nltk.FeatStructReader

class nltk.FeatStructReader(features=(*slash*, *type*), fdict_class=<class 'nltk.featstruct.FeatStruct'>, flist_class=<class 'nltk.featstruct.FeatList'>, logic_parser=None)[source]

Methods

__init__([features, fdict_class, ...])
fromstring(s[, fstruct]) Convert a string representation of a feature structure (as displayed by repr) into a FeatStruct.
read_app_value(s, position, reentrances, match) Mainly included for backwards compat.
read_fstruct_value(s, position, reentrances, ...)
read_int_value(s, position, reentrances, match)
read_logic_value(s, position, reentrances, match)
read_partial(s[, position, reentrances, fstruct]) Helper function that reads in a feature structure.
read_set_value(s, position, reentrances, match)
read_str_value(s, position, reentrances, match)
read_sym_value(s, position, reentrances, match)
read_tuple_value(s, position, reentrances, match)
read_value(s, position, reentrances)
read_var_value(s, position, reentrances, match)

Attributes

VALUE_HANDLERS