DetectLanguageInput interface
语言检测作的输入。 此对象指定唯一的文档 ID,以及文档的全文,以及指示文档来源国家/地区的提示,以帮助文本分析预测模型检测文档的语言。
属性
country |
|
id | 唯一的非空文档标识符。 |
text |
属性详细信息
countryHint
countryHint?: string
属性值
string
id
唯一的非空文档标识符。
id: string
属性值
string
text
text: string
属性值
string