/src/org/ictclas4j/bean/Context.java
http://ictclas4j.googlecode.com/ · Java · 48 lines · 31 code · 16 blank · 1 comment · 0 complexity · ad861ba11665e08be02388b4729f79ff MD5 · raw file
- package org.ictclas4j.bean;
-
- public class Context {
- //??ü´?
- private int key;
-
- private int[][] contextArray;// The context array
-
- private int[] freq;// The total number a tag appears
-
- private int totalFreq;// The total number of all the tags
-
- public int[][] getContextArray() {
- return contextArray;
- }
-
- public void setContextArray(int[][] contextArray) {
- this.contextArray = contextArray;
- }
-
- public int[] getFreq() {
- return freq;
- }
-
- public void setFreq(int[] freq) {
- this.freq = freq;
- }
-
- public int getKey() {
- return key;
- }
-
- public void setKey(int key) {
- this.key = key;
- }
-
- public int getTotalFreq() {
- return totalFreq;
- }
-
- public void setTotalFreq(int totalFreq) {
- this.totalFreq = totalFreq;
- }
-
-
-
-
- }