module documentation

Undocumented

Class BrillTagger Brill's transformational rule-based tagger. Brill taggers use an initial tagger (such as tag.DefaultTagger) to assign an initial tag sequence to a text; and then apply an ordered list of transformational rules to correct the tags of individual tokens...
Class Pos Feature which examines the tags of nearby tokens.
Class Word Feature which examines the text (word) of nearby tokens.
Function brill24 Return 24 templates of the seminal TBL paper, Brill (1995)
Function describe_template_sets Print the available template sets in this demo, with a short description"
Function fntbl37 Return 37 templates taken from the postagging task of the fntbl distribution http://www.cs.jhu.edu/~rflorian/fntbl/ (37 is after excluding a handful which do not condition on Pos[0]; fntbl can do that but the current nltk implementation cannot...
Function nltkdemo18 Return 18 templates, from the original nltk demo, in multi-feature syntax
Function nltkdemo18plus Return 18 templates, from the original nltk demo, and additionally a few multi-feature ones (the motivation is easy comparison with nltkdemo18)
def brill24(): (source)

Return 24 templates of the seminal TBL paper, Brill (1995)

def describe_template_sets(): (source)

Print the available template sets in this demo, with a short description"

def fntbl37(): (source)

Return 37 templates taken from the postagging task of the fntbl distribution http://www.cs.jhu.edu/~rflorian/fntbl/ (37 is after excluding a handful which do not condition on Pos[0]; fntbl can do that but the current nltk implementation cannot.)

def nltkdemo18(): (source)

Return 18 templates, from the original nltk demo, in multi-feature syntax

def nltkdemo18plus(): (source)

Return 18 templates, from the original nltk demo, and additionally a few multi-feature ones (the motivation is easy comparison with nltkdemo18)