|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.minorthird.text.MixupFinder
public class MixupFinder
Finds spans using a mixup expression evaluated in a fixed labeling.
Constructor Summary | |
---|---|
MixupFinder(Mixup mixup)
|
Method Summary | |
---|---|
java.lang.String |
explainFindSpans(TextLabels labels,
Span documentSpan)
Explain how spans were found. |
java.util.Iterator<Span> |
findSpans(TextLabels labels,
java.util.Iterator<Span> documentSpanLooper)
Find subspans of each span produced by the documentSpanLooper. |
java.util.Iterator<Span> |
findSpans(TextLabels labels,
Span documentSpan)
Find subspans of the given document span. |
Details |
getDetails(Span s)
Return 'details' about some span found by the previous call to findSpans(Span documentSpan). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MixupFinder(Mixup mixup)
Method Detail |
---|
public java.util.Iterator<Span> findSpans(TextLabels labels, java.util.Iterator<Span> documentSpanLooper)
SpanFinder
findSpans
in interface SpanFinder
public java.util.Iterator<Span> findSpans(TextLabels labels, Span documentSpan)
SpanFinder
findSpans
in interface SpanFinder
public Details getDetails(Span s)
SpanFinder
getDetails
in interface SpanFinder
public java.lang.String explainFindSpans(TextLabels labels, Span documentSpan)
SpanFinder
explainFindSpans
in interface SpanFinder
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |