| Package | Description |
|---|---|
| org.wltea.analyzer |
| Modifier and Type | Method and Description |
|---|---|
Lexeme |
Context.firstLexeme()
取出分词结果集中的首个词元
|
Lexeme |
Context.lastLexeme()
取出分词结果集中的最后一个词元
|
Lexeme |
IKSegmentation.next()
获取下一个语义单元
|
| Modifier and Type | Method and Description |
|---|---|
void |
Context.addLexeme(Lexeme lexeme)
向分词结果集添加词元
|
int |
Lexeme.compareTo(Lexeme other) |
boolean |
Lexeme.isOverlap(Lexeme other)
判断词元是否彼此包含
|
Copyright © 2022. All rights reserved.