Home | Trees | Indices | Help |
|
---|
|
|
|||
ChunkScore A utility class for scoring chunk parsers. |
|
|||
float
|
|
||
|
|||
tree
|
|
||
Tree |
|
||
list of tuple
|
|
||
string
|
|
||
|
|||
Tree |
|
||
|
|
|||
_LINE_RE = re.compile(r'
|
|||
_IEER_DOC_RE = re.compile(r'
|
|||
_IEER_TYPE_RE = re.compile(r'<b_\w
|
|
Score the accuracy of the chunker against the gold standard. Strip the chunk information from the gold standard and rechunk it using the chunker, then compute the accuracy score.
|
Divide a string of bracketted tagged text into chunks and unchunked
tokens, and produce a
|
Convert a CoNLL IOB string into a tree. Uses the specified chunk types (defaults to NP, PP and VP), and creates a tree rooted at a node labeled S (by default).
|
Convert a tree to the CoNLL IOB tag format
|
Convert a tree to the CoNLL IOB string format
|
Convert a string of chunked tagged text in the IEER named entity format into a chunk structure. Chunks are of several types, LOCATION, ORGANIZATION, PERSON, DURATION, DATE, CARDINAL, PERCENT, MONEY, and MEASURE.
|
|
_IEER_DOC_RE
|
_IEER_TYPE_RE
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Wed Aug 27 15:08:49 2008 | http://epydoc.sourceforge.net |