文件名称:sentence-splitter:将{日语,英语}文本拆分为句子
文件大小:184KB
文件格式:ZIP
更新时间:2024-04-28 10:39:28
javascript nlp sentence segement TypeScript
句子分割器 将{日语,英语}文本拆分为句子。 安装 npm install sentence-splitter 要求: Array.from Array#fill 命令行界面 $ npm install -g sentence-splitter $ echo "This is a pen. But, this is not pen" | sentence-splitter This is a pen. But This is not pen 用法 export interface SeparatorParserOptions { /** * Recognize each characters as separator * Example [".", "!", "?"] */ separatorCharacters ?: string [ ]