MCPcopy Index your code
hub / github.com/ChatLab/ChatLab / segmenter.test.ts

File segmenter.test.ts

packages/node-runtime/src/nlp/segmenter.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * batchSegmentChineseWithStats 等价性测试
3 *
4 * 优化(C):中文 meaningful/custom 模式下用单遍分词同时产出词频与词性统计。

Callers

nothing calls this directly

Calls 4

collectPosTagStatsFunction · 0.90
assertMapEqualFunction · 0.85

Tested by

no test coverage detected