Package cz.vutbr.fit.layout.text.taggers
Class PersonsTagger
- 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.NERTagger
-
- cz.vutbr.fit.layout.text.taggers.PersonsTagger
-
- All Implemented Interfaces:
ParametrizedOperation,Service,Tagger
public class PersonsTagger extends NERTagger
NER-based personal name area tagger. It tags the areas that contain at least the specified number of personal names.- Author:
- burgetr
-
-
Constructor Summary
Constructors Constructor Description PersonsTagger()PersonsTagger(int mincnt)Construct a new tagger.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanallowsContinuation(Area node)booleanallowsJoining()floatbelongsTo(Area node)List<Parameter>defineParams()List<TagOccurrence>extract(String src)StringgetDescription()StringgetId()intgetMincnt()StringgetName()booleanmayCoexistWith(Tag other)voidsetMincnt(int mincnt)-
Methods inherited from class cz.vutbr.fit.layout.text.taggers.NERTagger
getClassifier, getSharedClassifier
-
Methods inherited from class cz.vutbr.fit.layout.text.taggers.BaseTagger
getCategory, toString
-
Methods inherited from class cz.vutbr.fit.layout.impl.BaseParametrizedOperation
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
setServiceManager
-
-
-
-
Method Detail
-
getId
public String getId()
-
getName
public String getName()
-
getDescription
public String getDescription()
-
defineParams
public List<Parameter> defineParams()
- Overrides:
defineParamsin classBaseParametrizedOperation
-
getMincnt
public int getMincnt()
-
setMincnt
public void setMincnt(int mincnt)
-
belongsTo
public float belongsTo(Area node)
-
allowsContinuation
public boolean allowsContinuation(Area node)
-
mayCoexistWith
public boolean mayCoexistWith(Tag other)
-
allowsJoining
public boolean allowsJoining()
-
extract
public List<TagOccurrence> extract(String src)
-
-