public class NERTools extends Object
FoxClassifier
.Modifier and Type | Field and Description |
---|---|
static String |
CFG_KEY_LIFETIME |
protected FoxClassifier |
foxClassifier |
static org.apache.log4j.Logger |
LOG |
protected Map<String,Set<Entity>> |
toolResults |
protected List<INER> |
tools |
Constructor and Description |
---|
NERTools(List<String> toolsList,
String lang)
Initializes
tools and fills toolResults with the tool names. |
Modifier and Type | Method and Description |
---|---|
Set<Entity> |
getEntities(String input) |
List<INER> |
getNerTools() |
Map<String,Set<Entity>> |
getToolResult() |
void |
setTraining(boolean doTraining) |
public static final org.apache.log4j.Logger LOG
public static final String CFG_KEY_LIFETIME
protected FoxClassifier foxClassifier
public NERTools(List<String> toolsList, String lang)
tools
and fills toolResults
with the tool names.LoadingNotPossibleException
Copyright © 2024. All rights reserved.