com.mayabot.nlp.transform.Traditional2Simplified Maven / Gradle / Ivy
package com.mayabot.nlp.transform;
import javax.inject.Singleton;
import java.util.TreeMap;
/**
* 繁体转简体的词典
*
* @author jimichan
*/
@Singleton
public class Traditional2Simplified extends BaseTransformDictionary {
public Traditional2Simplified() {
}
@Override
public TreeMap loadDictionary() {
return loadFromResouce("ts/t2s.txt");
}
}