|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.washington.cs.knowitall.extractor.Extractor<ChunkedSentence,NpList>
edu.washington.cs.knowitall.extractor.NpListExtractor
public class NpListExtractor
Constructor Summary | |
---|---|
NpListExtractor()
|
|
NpListExtractor(int minNumNps)
|
Method Summary | |
---|---|
java.lang.Iterable<NpList> |
extractCandidates(ChunkedSentence sent)
Extracts candidate extractions from the given source object. |
int |
getMinNumNps()
|
static void |
main(java.lang.String[] args)
|
void |
setMinNumNps(int val)
|
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 |
---|
public NpListExtractor()
public NpListExtractor(int minNumNps)
Method Detail |
---|
public int getMinNumNps()
public void setMinNumNps(int val)
public java.lang.Iterable<NpList> extractCandidates(ChunkedSentence sent)
Extractor
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.
extractCandidates
in class Extractor<ChunkedSentence,NpList>
sent
- The source to extract from.
Iterable
object over the candidate extractions.public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |