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

com.whaleal.icefrog.extra.tokenizer.TokenizerUtil Maven / Gradle / Ivy

There is a newer version: 1.1.71
Show newest version
package com.whaleal.icefrog.extra.tokenizer;

import com.whaleal.icefrog.extra.tokenizer.engine.TokenizerFactory;

/**
 * 分词工具类
 *
 * @author looly
 */
public class TokenizerUtil {

    /**
     * 根据用户引入的分词引擎jar,自动创建对应的分词引擎对象
     *
     * @return {@link TokenizerEngine}
     */
    public static TokenizerEngine createEngine() {
        return TokenizerFactory.create();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy