|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.shef.dcs.oak.jate.core.feature.AbstractFeatureBuilder
public abstract class AbstractFeatureBuilder
Feature builder that builds a feature from a GlobalIndex
Field Summary | |
---|---|
protected Normalizer |
_normaliser
|
protected TermFreqCounter |
_termFreqCounter
|
protected WordCounter |
_wordCounter
|
Constructor Summary | |
---|---|
AbstractFeatureBuilder(TermFreqCounter counter1,
WordCounter counter2,
Normalizer normaliser)
Creates an instance |
Method Summary | |
---|---|
abstract AbstractFeature |
build(GlobalIndex index)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected TermFreqCounter _termFreqCounter
protected Normalizer _normaliser
protected WordCounter _wordCounter
Constructor Detail |
---|
public AbstractFeatureBuilder(TermFreqCounter counter1, WordCounter counter2, Normalizer normaliser)
counter1
- an instance of term frequency countercounter2
- an instance of word counternormaliser
- an instance of Normalizer, which returns a candidate term to its canonical formMethod Detail |
---|
public abstract AbstractFeature build(GlobalIndex index) throws JATEException
JATEException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |