All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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");
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy