(text: string, locale: SupportedLocale, minLength?: number)
| 126 | * 单文本分词 |
| 127 | */ |
| 128 | export function segmentText(text: string, locale: SupportedLocale, minLength?: number): string[] { |
| 129 | return segment(text, locale, { minLength }) |
| 130 | } |
no test coverage detected