
public class TextProIT extends AbstractNER
| Modifier and Type | Field and Description |
|---|---|
org.apache.commons.configuration.XMLConfiguration |
CFG |
static String |
CFG_KEY_TEXTPRO_PATH |
static String |
CFG_KEY_TMP_FOLDER |
static Map<String,String> |
ENTITY_MAP |
String |
TEXTPRO_PATH |
String |
TMP_FOLDER |
static Charset |
UTF_8 |
entityClasses, entityList, inputcdl, cfgManager, LOG, versions| Constructor and Description |
|---|
TextProIT() |
| Modifier and Type | Method and Description |
|---|---|
protected List<Entity> |
createEntities(String answer) |
protected String |
readResultFile(String file) |
protected void |
removeFiles(String file) |
List<Entity> |
retrieve(String input)
Retrieves Entity objects from the give input String with sentences as plain text.
|
protected void |
runTextPro(String filename) |
protected void |
writeInputFile(String input,
String filename) |
_retrieve, clean, getEntity, getResults, getSentences, mapTypeToSupportedType, run, setInputgetToolName, getToolVersion, getToolVersion, setCountDownLatchclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetToolName, getToolVersion, setCountDownLatchpublic final org.apache.commons.configuration.XMLConfiguration CFG
public static final Charset UTF_8
public static final String CFG_KEY_TEXTPRO_PATH
public static final String CFG_KEY_TMP_FOLDER
public final String TEXTPRO_PATH
public final String TMP_FOLDER
public List<Entity> retrieve(String input)
INERretrieve in interface INERretrieve in class AbstractNERinput - sentences as plain textprotected void writeInputFile(String input, String filename)
input - filename - protected void runTextPro(String filename)
filename - protected void removeFiles(String file)
file - Copyright © 2024. All rights reserved.