文档管理中心

此版本文档已归档不再维护,推荐您使用最新版本

API参考机器学习服务mlsdk.documentMLDocumentWord

MLDocument.Word

class info
com.huawei.hms.mlsdk.document.MLDocument.Word            

用来描述检测出的词,继承自Base,包含6个属性:

1、getLanguageList():检测出词的语种;

2、getInterval():词的间隔类型;

3、getBorder():词的边框;

4、getStringValue():词的内容;

5、getPossibility():检测结果置信度;

6、getCharacterList():词中包含的所有字符。

Public Method Summary

Return typeMethod name
List<MLDocument.Character>getCharacterList()

Public Methods

Method
public List<MLDocument.Character> getCharacterList()
获取词中的所有字符。

Return

Typedesc
List<MLDocument.Character>返回词中所有字符的集合。
本页面可能包含由第三方许可的内容,请参考具体描述
在 API参考 中进行搜索
请输入您想要搜索的关键词