|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Objectorg.wltea.analyzer.dic.Hit
public class Hit
表示一次词典匹配的命中
构造方法摘要 | |
---|---|
Hit()
|
方法摘要 | |
---|---|
int |
getBegin()
|
int |
getEnd()
|
org.wltea.analyzer.dic.DictSegment |
getMatchedDictSegment()
|
boolean |
isMatch()
判断是否完全匹配 |
boolean |
isPrefix()
判断是否是词的前缀 |
boolean |
isUnmatch()
判断是否是不匹配 |
void |
setBegin(int begin)
|
void |
setEnd(int end)
|
void |
setMatch()
|
void |
setMatchedDictSegment(org.wltea.analyzer.dic.DictSegment matchedDictSegment)
|
void |
setPrefix()
|
void |
setUnmatch()
|
从类 java.lang.Object 继承的方法 |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
构造方法详细信息 |
---|
public Hit()
方法详细信息 |
---|
public boolean isMatch()
public void setMatch()
public boolean isPrefix()
public void setPrefix()
public boolean isUnmatch()
public void setUnmatch()
public org.wltea.analyzer.dic.DictSegment getMatchedDictSegment()
public void setMatchedDictSegment(org.wltea.analyzer.dic.DictSegment matchedDictSegment)
public int getBegin()
public void setBegin(int begin)
public int getEnd()
public void setEnd(int end)
|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |