compte::Compte Class Reference

Inheritance diagram for compte::Compte:
compte::_Arbre

List of all members.

Public Member Functions

def add_seq
def add_pseudo
def __iadd__

Member Function Documentation

def compte::Compte::add_pseudo (   self,
  x,
  val = 1 
)
Add the counts of the word x with optionnal value val=1.
Only the count of the given word are added, and not its prefixes.
def compte::Compte::add_seq (   self,
  s,
  lg,
  kw 
)
Add the counts of words at most lg-length from sequence s.
Needs operator s[].
Character '^' is for beginnings and ends of sequences.
 
Keyword argument:
deb -- Count only after position deb (>=0) included;
fin -- Count only before position fin (<len()) included;
alpha -- Count only words which letters are in string alpha. If
 alpha='', do not consider alpha;
fact -- Count each word fact (default: 1).

The documentation for this class was generated from the following file:
 All Classes Functions
Generated on Fri Oct 14 11:46:20 2011 by  doxygen 1.6.3