|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.googlecode.whatswrong.FilterPipeline
public class FilterPipeline
A FilterPipeline filters an NLPInstance by iteratively calling a sequence of delegate filters.
Constructor Summary | |
---|---|
FilterPipeline(NLPInstanceFilter... filters)
Creates a new filter pipeline with the given filters. |
Method Summary | |
---|---|
NLPInstance |
filter(NLPInstance original)
Applies the 1st filter to the original instance, the 2nd filter to the result of the 1st filter, and so on. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FilterPipeline(NLPInstanceFilter... filters)
filters
- the filters of the pipeline. The first filter will be applied first, the last filter last.Method Detail |
---|
public NLPInstance filter(NLPInstance original)
filter
in interface NLPInstanceFilter
original
- the original instance.
NLPInstanceFilter.filter(NLPInstance)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |