edu.washington.cs.knowitall.extractor.mapper
Class ChunkedBinaryExtractionWordCountFilter
java.lang.Object
edu.washington.cs.knowitall.extractor.mapper.Mapper<T>
edu.washington.cs.knowitall.extractor.mapper.FilterMapper<ChunkedBinaryExtraction>
edu.washington.cs.knowitall.extractor.mapper.ChunkedBinaryExtractionWordCountFilter
public class ChunkedBinaryExtractionWordCountFilter
- extends FilterMapper<ChunkedBinaryExtraction>
A mapper used to filter binary extractions by number of words.
- Author:
- schmmd
|
Constructor Summary |
ChunkedBinaryExtractionWordCountFilter(int minArgWords,
int maxArgWords,
int minPredicateWords,
int maxPredicateWords)
Constructs a new ChunkedBinaryExtractionLengthFilter object. |
| Methods inherited from class edu.washington.cs.knowitall.extractor.mapper.FilterMapper |
doMap |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChunkedBinaryExtractionWordCountFilter
public ChunkedBinaryExtractionWordCountFilter(int minArgWords,
int maxArgWords,
int minPredicateWords,
int maxPredicateWords)
- Constructs a new
ChunkedBinaryExtractionLengthFilter object.
- Parameters:
minWords - the minimum number of words in the predicate.maxWords - the maximum number of words in the predicate.
doFilter
public boolean doFilter(ChunkedBinaryExtraction extraction)
- Specified by:
doFilter in class FilterMapper<ChunkedBinaryExtraction>
Copyright © 2010-2012 University of Washington CSE. All Rights Reserved.