
| Modifier and Type | Field and Description |
|---|---|
static String |
cfgFolder |
protected CountDownLatch |
countDownLatch |
protected IFoxJena |
foxJena |
protected FoxUtil |
foxUtil |
protected FoxWebLog |
foxWebLog |
protected String |
lang |
protected ILinking |
linking |
static org.apache.log4j.Logger |
LOG |
protected Map<String,String> |
parameter |
protected ToolsGenerator |
toolsGenerator |
| Modifier and Type | Method and Description |
|---|---|
protected Set<Entity> |
doNER() |
protected Set<Entity> |
doNERLight(String name) |
protected Map<String,Set<Relation>> |
doRE(Set<Entity> entities)
Gets toolname to relations
|
String |
getLang()
Returns lang.
|
String |
getLog()
Returns log messages.
|
String |
getResultsAndClean()
Returns results.
|
protected void |
html(Set<Entity> entities,
String input) |
protected void |
infoLog(String m) |
void |
run() |
void |
setCountDownLatch(CountDownLatch cdl)
Sets an optional
CountDownLatch object. |
protected void |
setOutput(Set<Entity> entities,
Map<String,Set<Relation>> relations) |
void |
setParameter(Map<String,String> parameter)
Sets the parameter Map object.
|
protected void |
setURIs(Set<Entity> entities) |
public static final String cfgFolder
protected final ToolsGenerator toolsGenerator
protected ILinking linking
protected IFoxJena foxJena
protected FoxUtil foxUtil
public static final org.apache.log4j.Logger LOG
protected String lang
protected FoxWebLog foxWebLog
protected CountDownLatch countDownLatch
public Fox(String lang)
lang - public String getResultsAndClean()
IFoxprotected Map<String,Set<Relation>> doRE(Set<Entity> entities)
entities - public void setParameter(Map<String,String> parameter)
IFoxsetParameter in interface IFoxpublic void setCountDownLatch(CountDownLatch cdl)
IFoxCountDownLatch object. FOX counts it down
CountDownLatch.countDown() when the thread is finished.setCountDownLatch in interface IFoxprotected void infoLog(String m)
Copyright © 2024. All rights reserved.