|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IFeatureExtractor
feature extractor interface. extract features from corpus.
Method Summary | |
---|---|
java.lang.String |
getCurrentInstanceID()
get the ID of current instance to be extracted |
boolean |
hasNext()
whether has at least one more feature |
IFeature |
next()
get the next feature |
boolean |
restart()
restart the iterator |
boolean |
setCorpus(ICorpus p_Corpus)
set corpus to be extracted |
boolean |
setCurrentInstance(int p_Index)
set the index of instance which to be extracted from corpus |
Method Detail |
---|
boolean setCurrentInstance(int p_Index)
p_Index
- instance index
java.lang.String getCurrentInstanceID()
boolean setCorpus(ICorpus p_Corpus)
p_Corpus
- corpus to be extracted
boolean restart()
boolean hasNext()
IFeature next()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |