?? worditem.java
字號:
package com.gftech.ictclas4j.bean;
import org.apache.commons.lang.builder.ReflectionToStringBuilder;
/**
* 詞條.包括詞內容、長度、句柄及頻度
*
* @author sinboy
*
*/
public class WordItem {
private String word;
private int len;
// 句柄,用來標識詞的詞性
private int handle;
// 頻度,用來說明該詞出現在語料庫中的次數或概率
private int frequency;
public int getFrequency() {
return frequency;
}
public void setFrequency(int frequency) {
this.frequency = frequency;
}
public int getHandle() {
return handle;
}
public void setHandle(int handle) {
this.handle = handle;
}
public int getLen() {
return len;
}
public void setLen(int len) {
this.len = len;
}
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 + -