Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
batchSegmentChineseWithStats
Function · 0.90
batchSegmentWithFrequency
Function · 0.90
collectPosTagStats
Function · 0.90
assertMapEqual
Function · 0.85
Tested by
no test coverage detected