nltk.tag.SennaTagger

class nltk.tag.SennaTagger(path, encoding='utf-8')[source]

Methods

__init__(path[, encoding])
evaluate(gold) Score the accuracy of the tagger against the gold standard.
executable(base_path) The function that determines the system specific binary that should be used in the pipeline.
tag(tokens) Applies the specified operation(s) on a list of tokens.
tag_sents(sentences) Applies the tag method over a list of sentences.

Attributes

SUPPORTED_OPERATIONS
unicode_repr() <==> repr(x)