?? seggraph.java
字號:
package com.gftech.ictclas4j.bean;
import org.apache.commons.lang.builder.ReflectionToStringBuilder;
/**
* 分詞圖表
*
* @author sinboy
*
*/
public class SegGraph {
private int col;
private int row;
private double value;
private int pos;
private int len;
private String word;
public SegGraph() {
}
public SegGraph(int row, int col, double value,int pos, String word) {
this.row=row;
this.col=col;
this.value=value;
this.pos=pos;
this.word=word;
if(word!=null)
this.len=word.getBytes().length;
}
public int getCol() {
return col;
}
public void setCol(int col) {
this.col = col;
}
public int getLen() {
return len;
}
public void setLen(int len) {
this.len = len;
}
public int getPos() {
return pos;
}
public void setPos(int pos) {
this.pos = pos;
}
public int getRow() {
return row;
}
public void setRow(int row) {
this.row = row;
}
public double getValue() {
return value;
}
public void setValue(double value) {
this.value = value;
}
public String getWord() {
return word;
}
public void setWord(String word) {
this.word = word;
if(word!=null)
this.len=word.getBytes().length;
}
public String toString() {
return ReflectionToStringBuilder.toString(this);
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -