public class LexicalAnalysisRequest extends AbstractModel
| Constructor and Description |
|---|
LexicalAnalysisRequest() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getFlag()
Get 词法分析模式(默认取2值):
1、高精度(混合粒度分词能力);
2、高性能(单粒度分词能力);
|
String |
getText()
Get 待分析的文本(仅支持UTF-8格式,不超过500字)
|
void |
setFlag(Long Flag)
Set 词法分析模式(默认取2值):
1、高精度(混合粒度分词能力);
2、高性能(单粒度分词能力);
|
void |
setText(String Text)
Set 待分析的文本(仅支持UTF-8格式,不超过500字)
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic String getText()
public void setText(String Text)
Text - 待分析的文本(仅支持UTF-8格式,不超过500字)public Long getFlag()
public void setFlag(Long Flag)
Flag - 词法分析模式(默认取2值):
1、高精度(混合粒度分词能力);
2、高性能(单粒度分词能力);Copyright © 2020. All rights reserved.