Skip to main content

Module text_assignment

Module text_assignment 

Source
Expand description

在自有文本数据上连续执行 tight-first、标点桥接及空白归属,不依赖 Python/PDFium。

Structs§

Character

Constants§

BREAK
PUNCTUATION
SPACE
START
STOP

Functions§

assign
一次完成可见字符匹配、断行隔离、标点补归属与空白修复,输出原字符顺序的 span 索引。