public class CreateTextSampleRequest extends AbstractModel
| Constructor and Description |
|---|
CreateTextSampleRequest() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getContents()
获取关键词数组
|
Long |
getEvilType()
获取恶意类型
100:正常
20001:政治
20002:色情
20006:涉毒违法
20007:谩骂
24001:暴恐
21000:综合
20105:广告引流
|
Long |
getLabel()
获取样本类型
1:黑库
2:白库
|
void |
setContents(String[] Contents)
设置关键词数组
|
void |
setEvilType(Long EvilType)
设置恶意类型
100:正常
20001:政治
20002:色情
20006:涉毒违法
20007:谩骂
24001:暴恐
21000:综合
20105:广告引流
|
void |
setLabel(Long Label)
设置样本类型
1:黑库
2:白库
|
void |
toMap(HashMap<String,String> map,
String prefix)
内部实现,用户禁止调用
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic String[] getContents()
public void setContents(String[] Contents)
Contents - 关键词数组public Long getEvilType()
public void setEvilType(Long EvilType)
EvilType - 恶意类型
100:正常
20001:政治
20002:色情
20006:涉毒违法
20007:谩骂
24001:暴恐
21000:综合
20105:广告引流public Long getLabel()
public void setLabel(Long Label)
Label - 样本类型
1:黑库
2:白库Copyright © 2019. All rights reserved.