nltk.Feature

class nltk.Feature(name, default=None, display=None)[source]

A feature identifier that’s specialized to put additional constraints, default values, etc.

Methods

__init__(name[, default, display])
read_value(s, position, reentrances, parser)
unicode_repr()
unify_base_values(fval1, fval2, bindings) If possible, return a single value..

Attributes

default Default value for this feature.
display Custom display location: can be prefix, or slash.
name The name of this feature.