nltk.featstruct.SlashFeature

class nltk.featstruct.SlashFeature[source]

Bases: Feature

read_value(s, position, reentrances, parser)[source]
__init__(name, default=None, display=None)
property default

Default value for this feature.

property display

Custom display location: can be prefix, or slash.

property name

The name of this feature.

unify_base_values(fval1, fval2, bindings)

If possible, return a single value.. If not, return the value UnificationFailure.