tw.cheyingwu.ckip
Class Term

java.lang.Object
  extended by tw.cheyingwu.ckip.Term

public class Term
extends java.lang.Object

Trem物件,包含詞與詞性

Version:
0.1
Author:
onlinemad

Constructor Summary
Term()
           
 
Method Summary
 java.lang.String getTag()
          取得詞性
 java.lang.String getTerm()
          取得詞
 void setTag(java.lang.String tag)
          設定詞性
 void setTerm(java.lang.String term)
          設定詞
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Term

public Term()
Method Detail

setTerm

public void setTerm(java.lang.String term)
設定詞

Parameters:
term - - 詞字串

getTerm

public java.lang.String getTerm()
取得詞

Returns:
詞字串

setTag

public void setTag(java.lang.String tag)
設定詞性

Parameters:
tag - - 詞性字串

getTag

public java.lang.String getTag()
取得詞性

Returns:
詞性字串