Environment¶
- class corpustools.corpus.classes.lexicon.Environment(middle, position, lhs=None, rhs=None)[source]¶
Specific sequence of segments that was a match for an EnvironmentFilter
- Parameters
- middlestr
Middle segment
- positionint
Position of the middle segment in the word (to differentiate between repetitions of an environment in the same word
- lhslist, optional
Segments to the left of the middle segment
- rhslist, optional
Segments to the right of the middle segment
Methods
__init__
(middle, position[, lhs, rhs])