|
Methods defined here:
- __init__(self, **kw)
- constructor.
Keyword arguments:
deb -- begin position is deb (default: 0);
fin -- end position is fin (default: 0);
num -- descriptor number is a copy of list num (default: []);
str -- descriptor is string str (default: "");
val -- (prediction) value is val (default:0).
- __len__(self)
- __str__(self)
- (x.__str__()<==> str(x))
- abr(self)
- Return the string without the descriptor.
- copy(self)
- Return a copy of the Segment.
- deb(self)
- Return beginning position
- fin(self)
- Return ending position
- g_deb(self, i)
- Beginning position is i
- g_fin(self, i)
- Ending position is i
- g_num(self, l)
- List numbers of the segment is l
- g_val(self, v)
- Value is v
- g_word(self, m)
- Descriptor of the segment is l
- num(self)
- Return the list of descripors' numbers
- read_str(self, st)
- Build from string st. Return True iff ok.
- val(self)
- Return the value
- word(self)
- Return the descriptor
|