nltk.SennaChunkTagger

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

Methods

__init__(path[, encoding])
bio_to_chunks(tagged_sent, chunk_type) Extracts the chunks in a BIO chunk-tagged sentence.
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)