class Lpartition
module lpartition
The documentation is here.
A Lpartition is simply a list of couples
[data,
Partition], in which couples
partition and data fit when the
Partition exists.
As it inherits of list, it has all the methods of
list.
Construction
-
__init__
-
- add_Lseq
- appends to the data-list the list of
Lsequence;
- add_don
- appends to the data-list several copies of a
data;
- build_random
- creates random
Partition on the data-list,
using build_random;
- viterbi
- computes the
Partition on the stored
Sequence with a
Lexique using
viterbi algorithm;
- fb
- computes the
Partition on the stored
Sequence with a
Lexique using
forward-backward algorithm and
read_Matrice method;
- mpp
- computes a
maximum-prediction
Partition on the stored data
with a Lexique using
mpp;
Input-Output
-
str_part
- returns the string of the successive
Partition, in their
format.