tw.cheyingwu.ckip
Class YahooCAS

java.lang.Object
  extended by tw.cheyingwu.ckip.WordSegmentationService
      extended by tw.cheyingwu.ckip.YahooCAS

public class YahooCAS
extends WordSegmentationService

Yahoo 斷章取義 API

Version:
0.4
Author:
onlinemad

Constructor Summary
YahooCAS(java.lang.String appid)
          建構子
 
Method Summary
 java.lang.String getAppid()
           
 java.util.List<Term> getTerm()
          將斷詞結果分解為詞
 void send()
          將字串送至CKIP服務伺服器。
 void setAppid(java.lang.String appid)
           
 
Methods inherited from class tw.cheyingwu.ckip.WordSegmentationService
getRawText, getReturnText, setRawText
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

YahooCAS

public YahooCAS(java.lang.String appid)
建構子

Parameters:
appid - - Yahoo 應用程式授權碼
Method Detail

getAppid

public java.lang.String getAppid()

setAppid

public void setAppid(java.lang.String appid)

send

public void send()
Description copied from class: WordSegmentationService
將字串送至CKIP服務伺服器。

Specified by:
send in class WordSegmentationService

getTerm

public java.util.List<Term> getTerm()
Description copied from class: WordSegmentationService
將斷詞結果分解為詞

Specified by:
getTerm in class WordSegmentationService
Returns:
詞陣列