nltk.featstruct.RangeFeature¶
- class nltk.featstruct.RangeFeature[source]¶
Bases:
Feature
- RANGE_RE = re.compile('(-?\\d+):(-?\\d+)')¶
- unify_base_values(fval1, fval2, bindings)[source]¶
If possible, return a single value.. If not, return the value
UnificationFailure
.
- property default¶
Default value for this feature.
- property display¶
Custom display location: can be prefix, or slash.
- property name¶
The name of this feature.