com.huaban.analysis.jieba.SegToken Maven / Gradle / Ivy
The newest version!
package com.huaban.analysis.jieba;
public class SegToken {
public String word;
public int startOffset;
public int endOffset;
public SegToken(String word, int startOffset, int endOffset) {
this.word = word;
this.startOffset = startOffset;
this.endOffset = endOffset;
}
@Override
public String toString() {
return "[" + word + ", " + startOffset + ", " + endOffset + "]";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy