edu.washington.cs.knowitall.extractor
Class OrdinalPhraseExtractor

java.lang.Object
  extended by edu.washington.cs.knowitall.extractor.Extractor<ChunkedSentence,OrdinalPhraseExtraction>
      extended by edu.washington.cs.knowitall.extractor.OrdinalPhraseExtractor

public class OrdinalPhraseExtractor
extends Extractor<ChunkedSentence,OrdinalPhraseExtraction>


Constructor Summary
OrdinalPhraseExtractor()
           
 
Method Summary
 java.util.Collection<OrdinalPhraseExtraction> extractCandidates(ChunkedSentence sent)
          Extracts candidate extractions from the given source object.
static void main(java.lang.String[] args)
           
 
Methods inherited from class edu.washington.cs.knowitall.extractor.Extractor
addMapper, compose, extract, extract, getMappers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrdinalPhraseExtractor

public OrdinalPhraseExtractor()
Method Detail

extractCandidates

public java.util.Collection<OrdinalPhraseExtraction> extractCandidates(ChunkedSentence sent)
Description copied from class: Extractor
Extracts candidate extractions from the given source object. When the user calls the extract(S source) method, the extractCandidate(S source) method is used to generate a set of candidate extractions, which are then passed through each Mapper object assigned to the extractor.

Specified by:
extractCandidates in class Extractor<ChunkedSentence,OrdinalPhraseExtraction>
Parameters:
sent - The source to extract from.
Returns:
An Iterable object over the candidate extractions.

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception