| Modifier and Type | Field and Description |
|---|---|
protected String |
rawText |
protected String |
returnText |
protected List<Term> |
term |
| Constructor and Description |
|---|
WordSegmentationService() |
| Modifier and Type | Method and Description |
|---|---|
String |
getRawText()
取得原始字串。
|
String |
getReturnText()
取得斷詞結果字串。
|
abstract List<Term> |
getTerm()
將斷詞結果分解為詞
|
abstract void |
send()
將字串送至CKIP服務伺服器。
|
void |
setRawText(String rawText)
設定原始字串
|
protected void |
setReturnText(String returnText) |
protected void |
setTerm(List<Term> term) |
public String getRawText()
public void setRawText(String rawText)
rawText - - 原始字串,請使用UTF-8編碼。public String getReturnText()
protected void setReturnText(String returnText)
public abstract void send()
Copyright © 2013. All Rights Reserved.