public class TextDetectionResponseResult extends Object
| Constructor and Description |
|---|
TextDetectionResponseResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Object |
getDetail()
返回的相关检测结果详细信息: - politics:涉政敏感词列表。 - porn:涉黄敏感词列表。 - ad:广告敏感词列表。 - abuse:辱骂敏感词列表。 - contraband:违禁品敏感词列表。 - flood:灌水文本。 > - 灌水文本最多显示200个字符。 > - 每个场景的返回结果的详细信息是指命中词,不是返回全部文本。
|
String |
getSuggestion()
检测结果是否通过。 block:包含敏感信息,不通过。 pass:不包含敏感信息,通过。 review:需要人工复查。
|
int |
hashCode() |
void |
setDetail(Object detail) |
void |
setSuggestion(String suggestion) |
String |
toString() |
TextDetectionResponseResult |
withDetail(Object detail) |
TextDetectionResponseResult |
withSuggestion(String suggestion) |
public TextDetectionResponseResult withSuggestion(String suggestion)
public String getSuggestion()
public void setSuggestion(String suggestion)
public TextDetectionResponseResult withDetail(Object detail)
public Object getDetail()
public void setDetail(Object detail)
Copyright © 2022. All rights reserved.