com.whaleal.icefrog.extra.tokenizer.TokenizerUtil Maven / Gradle / Ivy
The newest version!
package com.whaleal.icefrog.extra.tokenizer;
import com.whaleal.icefrog.extra.tokenizer.engine.TokenizerFactory;
/**
* 分词工具类
*
* @author Looly
* @author wh
* @since 1.0.0
*/
public class TokenizerUtil {
/**
* 根据用户引入的分词引擎jar,自动创建对应的分词引擎对象
*
* @return {@link TokenizerEngine}
*/
public static TokenizerEngine createEngine() {
return TokenizerFactory.create();
}
}