Discovery API如何计算“ location.begin”(请参见下面的代码)? 字段以以下格式(JSON)返回:
"location": {
"end": 2407.0,
"begin": 2393.0
},
“开始”结果似乎与原始PDF文档或文本中的任何起点都不相关。如何计算?
“。0”是什么意思?
QueryOptions options = new QueryOptions.Builder(environmentId, "<environmentId>")
.query("sale")
.filter("enriched_html_elements.contract_types.text:sale")
.returnFields("enriched_html_elements.contract_types.text, enriched_html_elements.contract_types.location.end, enriched_html_elements.contract_types.location.begin")
.build();
预先感谢您的任何建议。