edu.cmu.minorthird.text
Interface SpanFinder

All Known Implementing Classes:
AbstractSpanFinder, FilteredFinder, MixupFinder

public interface SpanFinder

Finds subspans of document spans. This is much like an annotator, but a little more lightweight.

Author:
William Cohen

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

findSpans

java.util.Iterator<Span> findSpans(TextLabels labels,
                                   java.util.Iterator<Span> documentSpanLooper)
Find subspans of each span produced by the documentSpanLooper.


findSpans

java.util.Iterator<Span> findSpans(TextLabels labels,
                                   Span documentSpan)
Find subspans of the given document span.


getDetails

Details getDetails(Span foundSpan)
Return 'details' about some span found by the previous call to findSpans(Span documentSpan).


explainFindSpans

java.lang.String explainFindSpans(TextLabels labels,
                                  Span documentSpan)
Explain how spans were found.