recogn-parse
Version:
recogn-parse 提供了 识别--解析 的机制,使用者只需要添加识别器 和 解析器,然后就可以对事件进行识别和解析,适合用所有具备 识别--解析 流程的场景中,如:加载并显示各种模型、预览文件等
86 lines (40 loc) • 1.17 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [recogn-parse](./recogn-parse.md) > [RecognParse](./recogn-parse.recognparse.md) > [parse](./recogn-parse.recognparse.parse.md)
## RecognParse.parse() method
解析识别的结果
**Signature:**
```typescript
parse(judgeResult: FormatJudgeResult, target: any, targetOptions: TOptions): RecognParseInfo | null;
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
judgeResult
</td><td>
[FormatJudgeResult](./recogn-parse.formatjudgeresult.md)
</td><td>
识别的结果
</td></tr>
<tr><td>
target
</td><td>
any
</td><td>
目标
</td></tr>
<tr><td>
targetOptions
</td><td>
TOptions
</td><td>
目标选项,主要包含的是与目标相关的选项,大多数场景可能是服务于解析目标的,往往不同类型的目标会有不同的选项,
</td></tr>
</tbody></table>
**Returns:**
[RecognParseInfo](./recogn-parse.recognparseinfo.md) \| null