nltk.classify.Senna

class nltk.classify.Senna(senna_path, operations, encoding=u'utf-8')[source]

Methods

__init__(senna_path, operations[, 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)