目录

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

用来表示检测出的段落,继承自Base,包含7个属性:

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

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

3、getBorder():段落的边框;

4、getStringValue():段落的文本内容;

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

6、getWordList():段落中包含的所有词;

7、getLineList():段落中包含的所有行。

Public Method Summary

Return typeMethod name
List<MLDocument.Line>getLineList()
List<MLDocument.Word>getWordList()

Public Methods

Method
public List<MLDocument.Line> getLineList()
获取段落中所有的行。

Return

Typedesc
List<MLDocument.Line>返回段落中所有行的集合。
Method
public List<MLDocument.Word> getWordList()
获取段落中所有的词。

Return

Typedesc
List<MLDocument.Word>返回段落中所有词的集合。