classPolytreeParser extends DependencyParser with Datastores
Wrapper for the polyparser using the DependencyParser interface.
This API allows you to optionally specify a set of files (in Conll-X format) containing
"gold" parses. If such parses are specified, then the parser will populate a cache with these
parses. Then whenever it is asked to parse a sentence, it will check this cache first, and
only parse a sentence from scratch if there is a cache miss.
Wrapper for the polyparser using the DependencyParser interface.
This API allows you to optionally specify a set of files (in Conll-X format) containing "gold" parses. If such parses are specified, then the parser will populate a cache with these parses. Then whenever it is asked to parse a sentence, it will check this cache first, and only parse a sentence from scratch if there is a cache miss.