public class OcrHitInfo extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| OcrHitInfo() | 
| OcrHitInfo(OcrHitInfo source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getKeyword()Get 命中关键词 | 
| String | getLibName()Get 自定义词库名称 | 
| Positions[] | getPositions()Get 位置信息 | 
| String | getType()Get 标识模型命中还是关键词命中 | 
| void | setKeyword(String Keyword)Set 命中关键词 | 
| void | setLibName(String LibName)Set 自定义词库名称 | 
| void | setPositions(Positions[] Positions)Set 位置信息 | 
| void | setType(String Type)Set 标识模型命中还是关键词命中 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic OcrHitInfo()
public OcrHitInfo(OcrHitInfo source)
public String getType()
public void setType(String Type)
Type - 标识模型命中还是关键词命中public String getKeyword()
public void setKeyword(String Keyword)
Keyword - 命中关键词public String getLibName()
public void setLibName(String LibName)
LibName - 自定义词库名称public Positions[] getPositions()
public void setPositions(Positions[] Positions)
Positions - 位置信息Copyright © 2025. All rights reserved.