public class DictionaryTools extends Object
| Constructor and Description |
|---|
DictionaryTools() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args) |
static void |
merge(List<String> sources,
String target)
把多个词典合并为一个
|
static void |
removePhraseFromDic(String phrasePath,
String dicPath)
移除词典中的短语结构
|
public static void main(String[] args) throws IOException
IOExceptionpublic static void removePhraseFromDic(String phrasePath, String dicPath)
phrasePath - dicPath - public static void merge(List<String> sources, String target) throws IOException
sources - 多个待词典target - 合并后的词典IOExceptionCopyright © 2014–2015 APDPlat. All rights reserved.