|
Methods defined here:
- __init__(self, **kw)
- Keyword argument:
fic -- Build using file of name f.
- add_Partition(self, p, g, lg, **kw)
- Add a count of words of at most lg-length on Partition p
and Sequence g.
Keyword argument:
alpha -- count only words which letters are in string. If empty
string, do as if no keyword alpha.
fact -- each word counts fact (default: 1 ).
- read_Lpart(self, lp, lg, **kw)
- Count lg-length words from the Lpartition lp.
Keyword argument:
alpha -- counts are restricted to letters of alphabet string.
- read_nf(self, nf)
- Read a file of several Compte
- read_nf_seq(self, ls, lg, **kw)
- Count lg-length words from the list of filenames ls. In
each file are the counted sequences. Count number (n-1) is related to
file number n. Between-descriptors transitions are uniformaly
distributed.
Keyword argument:
alpha -- counts are restricted to letters of alphabet string.
- rstrip(self)
- Return the Lcompte without ending characters ^.
- strip(self)
- Return the Lcompte without characters ^.
Methods inherited from _Lrac_Arb:
- __getitem__(self, i)
- Return the count of descriptor i ( x.__getitem__(i) <==> x[i]).
- __setitem__(self, i, c)
- Set the Compte or Proportion c to descriptor number i
( x.__setitem__(i,c) <==> x[i]=c ).
- __str__(self)
- Return the string of within and between descriptors' counts.
(x.__str__()<==> str(x))
- alph(self)
- Return the list of used letters.
- g_inter(self, a, b, v)
- Set the count or proportion of transitions from a to b at value v.
- inter(self, a, b)
- Return the count or proportion of transitions from a to b.
- lg_max(self)
- Return the length of the longest word.
- num(self)
- Return the list of descriptors' numbers.
|