MCPcopy Create free account
hub / github.com/bojone/nlp-zero / _parse

Method _parse

nlp_zero.py:705–731  ·  view source on GitHub ↗

解析思路:递归进行——如果一种层次结构是最优的,那么它每个语义块的 层次结构都是最优的。利用这种特性,可以写成递层优化的算法。

(self, span, matches)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

parseMethod · 0.95

Calls 2

maxMethod · 0.95
logFunction · 0.85

Tested by

no test coverage detected