|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.cmu.minorthird.text.learn.Extraction2TaggingReduction edu.cmu.minorthird.text.learn.BeginContinueOutsideReduction
public class BeginContinueOutsideReduction
Reduces an extraction task to tagging tokens as one of three categories. The categories are: a token beginning the type to extract, a non-initial token inside the type to extract, something or outside the type to extract.
Constructor Summary | |
---|---|
BeginContinueOutsideReduction()
|
Method Summary | |
---|---|
void |
extractFromTags(java.lang.String output,
MonotonicTextLabels taggedLabels)
Return a TextLabels in which tagged tokens are used to solve the extraction problem. |
java.util.Set<java.lang.String> |
getNonDefaultTagValues()
Get all the tag values that were used. |
TextLabels |
getTaggedLabels()
Return the TextLabels holding the tags which encode the extraction task. |
java.lang.String |
getTokenProp()
Return the token property used for the tags which encode the extraction task. |
void |
reduceExtraction2Tagging(AnnotationExample example)
Convert the information in a single annotation example to token 'tags' (token properties, assigned to every token). |
Methods inherited from class edu.cmu.minorthird.text.learn.Extraction2TaggingReduction |
---|
assignDefaultLabels |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BeginContinueOutsideReduction()
Method Detail |
---|
public void reduceExtraction2Tagging(AnnotationExample example)
Extraction2TaggingReduction
reduceExtraction2Tagging
in class Extraction2TaggingReduction
public java.lang.String getTokenProp()
Extraction2TaggingReduction
getTokenProp
in class Extraction2TaggingReduction
public java.util.Set<java.lang.String> getNonDefaultTagValues()
Extraction2TaggingReduction
getNonDefaultTagValues
in class Extraction2TaggingReduction
public TextLabels getTaggedLabels()
Extraction2TaggingReduction
getTaggedLabels
in class Extraction2TaggingReduction
public void extractFromTags(java.lang.String output, MonotonicTextLabels taggedLabels)
extractFromTags
in class Extraction2TaggingReduction
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |