public SegToken(char[] idArray, int start, int end, int wordType, int weight) {this.charArray = idArray;this.startOffset = start;this.endOffset = end;this.wordType = wordType;this.weight = weight;}
public SegToken(char[] idArray, int start, int end, WordType wordType, int weight){this.CharArray = idArray;this.StartOffset = start;this.EndOffset = end;this.WordType = wordType;this.Weight = weight;}