?? preword.java
字號:
package org.ictclas4j.bean;
import org.apache.commons.lang.builder.ReflectionToStringBuilder;
/**
* 預處理后的詞條.
* @author sinboy
*
*/
public class Preword {
//詞
private String word;
//去掉第一個字后剩余的部分
private String res;
//詞在詞典表中出現的位置,即詞的首字在區位碼表中對應的偏移位置.比如:啊--0
private int index;
public int getIndex() {
return index;
}
public void setIndex(int pos) {
this.index = pos;
}
public String getRes() {
return res;
}
public void setRes(String res) {
this.res = res;
}
public String getWord() {
return word;
}
public void setWord(String word) {
this.word = word;
}
public String toString() {
return ReflectionToStringBuilder.toString(this);
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -