Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/infinilabs/analysis-ik
/ getLength
Method
getLength
src/main/java/org/wltea/analyzer/core/Lexeme.java:171–173 ·
view source on GitHub ↗
获取词元的字符长度 @return int
()
Source
from the content-addressed store, hash-verified
169
* @
return
int
170
*/
171
public
int
getLength(){
172
return
this.length;
173
}
174
175
public
void
setLength(
int
length) {
176
if
(this.length < 0){
Callers
14
equals
Method · 0.95
hashCode
Method · 0.95
needCountScan
Method · 0.95
addNotCrossLexeme
Method · 0.95
removeTail
Method · 0.95
outputToResult
Method · 0.95
getNextLexeme
Method · 0.95
incrementToken
Method · 0.95
compareTo
Method · 0.80
append
Method · 0.80
addCrossLexeme
Method · 0.80
checkCross
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected