/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

  1. package org.ictclas4j.bean;
  2. public class Context {
  3. //š??ü´?
  4. private int key;
  5. private int[][] contextArray;// The context array
  6. private int[] freq;// The total number a tag appears
  7. private int totalFreq;// The total number of all the tags
  8. public int[][] getContextArray() {
  9. return contextArray;
  10. }
  11. public void setContextArray(int[][] contextArray) {
  12. this.contextArray = contextArray;
  13. }
  14. public int[] getFreq() {
  15. return freq;
  16. }
  17. public void setFreq(int[] freq) {
  18. this.freq = freq;
  19. }
  20. public int getKey() {
  21. return key;
  22. }
  23. public void setKey(int key) {
  24. this.key = key;
  25. }
  26. public int getTotalFreq() {
  27. return totalFreq;
  28. }
  29. public void setTotalFreq(int totalFreq) {
  30. this.totalFreq = totalFreq;
  31. }
  32. }