public class LvgCmdApiResourceImpl extends java.lang.Object implements LvgCmdApiResource
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
CWD_PROPERTY |
private Logger |
logger |
private LvgCmdApi |
lvg |
private LvgLexItemApi |
lvgLexItem |
Constructor and Description |
---|
LvgCmdApiResourceImpl() |
Modifier and Type | Method and Description |
---|---|
private boolean |
changeCurrentWorkingDirectory(java.lang.String s) |
private java.lang.String |
getCurrentWorkingDirectory() |
LvgCmdApi |
getLvg()
An LvgCmdApi takes a term from the input and returns a vector of strings.
|
private java.lang.String |
getLvgDir(java.io.File configFile)
Get the path to the root directory of the installation of
NLMs lvg lexical tools.
|
LvgLexItemApi |
getLvgLex()
The thing to run through Lvg
|
void |
load(DataResource dr) |
private Logger logger
private LvgCmdApi lvg
private LvgLexItemApi lvgLexItem
private static java.lang.String CWD_PROPERTY
public void load(DataResource dr) throws ResourceInitializationException
ResourceInitializationException
private java.lang.String getCurrentWorkingDirectory()
private boolean changeCurrentWorkingDirectory(java.lang.String s)
private java.lang.String getLvgDir(java.io.File configFile)
public LvgCmdApi getLvg()
getLvg
in interface LvgCmdApiResource
LvgCmdApiResource.getLvg()
public LvgLexItemApi getLvgLex()
getLvgLex
in interface LvgCmdApiResource