Package cz.vutbr.fit.layout.text.taggers
Class CombinedTagger
- java.lang.Object
-
- cz.vutbr.fit.layout.impl.BaseService
-
- cz.vutbr.fit.layout.impl.BaseParametrizedOperation
-
- cz.vutbr.fit.layout.text.taggers.BaseTagger
-
- cz.vutbr.fit.layout.text.taggers.CombinedTagger
-
- All Implemented Interfaces:
ParametrizedOperation,Service,Tagger
public abstract class CombinedTagger extends BaseTagger
A tagger that combines multiple taggers together (in the order of their preference).- Author:
- burgetr
-
-
Constructor Summary
Constructors Constructor Description CombinedTagger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddTagger(Tagger tagger, float weight)floatbelongsTo(Area node)List<TagOccurrence>extract(String src)LinkedHashMap<Tagger,Float>getSubTaggers()-
Methods inherited from class cz.vutbr.fit.layout.text.taggers.BaseTagger
getCategory, isHomogeneous, toString
-
Methods inherited from class cz.vutbr.fit.layout.impl.BaseParametrizedOperation
defineParams, getParam, getParams, getParamString, setParam
-
Methods inherited from class cz.vutbr.fit.layout.impl.BaseService
getServiceManager, setServiceManager
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface cz.vutbr.fit.layout.api.ParametrizedOperation
getParam, getParams, getParamString, setParam
-
Methods inherited from interface cz.vutbr.fit.layout.api.Service
getDescription, getId, getName, setServiceManager
-
Methods inherited from interface cz.vutbr.fit.layout.api.Tagger
allowsContinuation, allowsJoining, mayCoexistWith
-
-
-
-
Method Detail
-
getSubTaggers
public LinkedHashMap<Tagger,Float> getSubTaggers()
-
addTagger
public void addTagger(Tagger tagger, float weight)
-
belongsTo
public float belongsTo(Area node)
-
extract
public List<TagOccurrence> extract(String src)
-
-