public class SemanticVocabsCfg
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected org.json.JSONObject |
jsonObject |
static java.lang.String |
KEY_CFG |
static java.lang.String |
KEY_TEXT |
Constructor and Description |
---|
SemanticVocabsCfg() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getVocabsCfgPath() |
java.lang.String |
getVocabsTextPath() |
void |
setVocabsCfgPath(java.lang.String vocabsCfgPath)
设置项目product.cfg 配置文件路径
|
void |
setVocabsTextPath(java.lang.String vocabsTextPath)
设置需要更新的词库文本路径
|
org.json.JSONObject |
toJSON()
参数JSON化
|
public static final java.lang.String KEY_TEXT
public static final java.lang.String KEY_CFG
protected org.json.JSONObject jsonObject
public void setVocabsTextPath(java.lang.String vocabsTextPath)
vocabsTextPath
- 文本路径public void setVocabsCfgPath(java.lang.String vocabsCfgPath)
vocabsCfgPath
- product.cfg路径public java.lang.String getVocabsTextPath()
public java.lang.String getVocabsCfgPath()
public org.json.JSONObject toJSON()