?? preword.java
字號(hào):
package com.gftech.ictclas4j.bean;
import org.apache.commons.lang.builder.ReflectionToStringBuilder;
/**
* 預(yù)處理后的詞條.
* @author sinboy
*
*/
public class Preword {
//詞
private String word;
//去掉第一個(gè)字后剩余的部分
private String res;
//詞在詞典表中出現(xiàn)的位置,即詞的首字在區(qū)位碼表中對(duì)應(yīng)的偏移位置.比如:啊--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);
}
}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -