|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SpanFinder
Finds subspans of document spans. This is much like an annotator, but a little more lightweight.
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 foundSpan)
Return 'details' about some span found by the previous call to findSpans(Span documentSpan). |
Method Detail |
---|
java.util.Iterator<Span> findSpans(TextLabels labels, java.util.Iterator<Span> documentSpanLooper)
java.util.Iterator<Span> findSpans(TextLabels labels, Span documentSpan)
Details getDetails(Span foundSpan)
java.lang.String explainFindSpans(TextLabels labels, Span documentSpan)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |