PageRenderTime 8ms CodeModel.GetById 1ms app.highlight 3ms RepoModel.GetById 2ms app.codeStats 0ms

/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
 1package org.ictclas4j.bean;
 2
 3public class Context {
 4	//š??ü´?
 5	private int key; 
 6
 7	private int[][] contextArray;// The context array
 8
 9	private int[] freq;// The total number a tag appears
10
11	private int totalFreq;// The total number of all the tags
12
13	public int[][] getContextArray() {
14		return contextArray;
15	}
16
17	public void setContextArray(int[][] contextArray) {
18		this.contextArray = contextArray;
19	}
20
21	public int[] getFreq() {
22		return freq;
23	}
24
25	public void setFreq(int[] freq) {
26		this.freq = freq;
27	}
28
29	public int getKey() {
30		return key;
31	}
32
33	public void setKey(int key) {
34		this.key = key;
35	}
36
37	public int getTotalFreq() {
38		return totalFreq;
39	}
40
41	public void setTotalFreq(int totalFreq) {
42		this.totalFreq = totalFreq;
43	}
44 
45
46	 
47
48}