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

com.mayabot.nlp.transform.Simplified2Traditional Maven / Gradle / Ivy

package com.mayabot.nlp.transform;

import javax.inject.Singleton;
import java.util.TreeMap;

/**
 * 简体转繁体的词典
 *
 * @author jimichan
 */
@Singleton
public class Simplified2Traditional extends BaseTransformDictionary {

    public static final String rsName = "ts-dict/s2t.txt";

    public Simplified2Traditional() {
    }

    @Override
    public TreeMap loadDictionary() {
        return loadFromResouce(rsName);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy