Home | Trees | Indices | Help |
|
---|
|
object --+ | yaml.YAMLObject --+ | BrillRule
An interface for tag transformations on a tagged corpus, as performed by brill taggers. Each transformation finds all tokens in the corpus that are tagged with a specific original tag and satisfy a specific condition, and replaces their tags with a replacement tag. For any given transformation, the original tag, replacement tag, and condition are fixed. Conditions may depend on the token under consideration, as well as any other tokens in the corpus.
Brill rules must be comparable and hashable.
|
|||
Inherited from |
|
|||
|
|||
int
|
|
||
Boolean |
|
||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
|||
Inherited from |
|
|||
original_tag The tag which this BrillRule may cause to be replaced.
|
|||
replacement_tag The tag with which this BrillRule may replace another
tag.
|
|
|||
Inherited from |
|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
Apply this rule at every position in
|
|
hash(x)
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Wed Aug 27 15:08:57 2008 | http://epydoc.sourceforge.net |