public class TokenizerFactory extends Object
Constructor and Description |
---|
TokenizerFactory() |
Modifier and Type | Method and Description |
---|---|
static TokenizerEngine |
create()
根据用户引入的分词引擎jar,自动创建对应的分词引擎对象
|
static TokenizerEngine |
get()
根据用户引入的模板引擎jar,自动创建对应的分词引擎对象
获得的是单例的TokenizerEngine |
public static TokenizerEngine get()
public static TokenizerEngine create()
TokenizerEngine
Copyright © 2024. All rights reserved.