cpongo1
- 浏览: 1428 次
社区版块
- ( 0)
- ( 3)
- ( 0)
最新评论
文章列表
本篇博客介绍fst的生成。它使用的是生成器模式,因为fst的生成太复杂了,所以必须使用生成器模式,他的类是:org.apache.lucene.util.fst.builder.builder(input_type, int, int, boolean, boolean, int, outputs, boolean, float, boolean, int),代码如下:
/**
inputtype 表示的是输入的类型,fst规定只能输入数字类型,字符串的输入也要转化为数字,这里是判断字符串的范围,不同的input_type有不同的范围
minsuffixcount1:这个说的 ...
- 2019-12-18 14:17
- 浏览 185
- 分类:web前端