一个零依赖的 Node.js 库,使用 17 种不同公式衡量 86 种语言的文本可读性,包括语言特定的系数和 TeX 连字符算法用于音节计数。

Stars

25

7 天增长

暂无数据

Fork 数

12

开放 Issue

0

开源协议

MIT

最近更新

2026-07-13

AI 仓库情报摘要
FR-AI / ANALYSIS

为什么值得关注

它是对标准 PHP 库的字节精确移植,通过了黄金向量验证,达到了 100% 测试覆盖率,支持多种语言,并提供通用与语言特定的可读性公式。

适合谁使用

  • 希望将可读性评分集成到内容管理或分析工具中的 Web 开发者
  • 需要跨语言分析文本复杂度的语言学家和研究者
  • 构建自动化阅读水平评估的教育工作者和学习平台开发者
  • 评估翻译难度和文档可访问性的本地化工程师

典型使用场景

  • 评估在线文章、文档或用户生成内容的可读性
  • 在多语言教育软件或电子书中对阅读难度进行评级
  • 自动标记法律、医学或技术文档中过于复杂的文本
  • 比较同内容的不同翻译版本或语言版本的可读性得分

项目优势

  • 零运行时依赖,安装和打包轻便
  • 经过严格测试和黄金向量校验,达到 100% 代码覆盖率
  • 支持 86 种语言(19 种书写系统)和 17 种公式,其中 5 种为通用公式
  • 提供一致的 API,附带 TypeScript 类型,支持 ESM 和 CommonJS 双模块

使用前须知

  • 需要 Node.js 18 或更高版本,限制了在旧环境的可用性
  • 复合模式下的音节计数因启发式回退对某些语言可能不够精确
  • 部分公式(如 Dale-Chall 和 Spache)使用简化的音节启发式而非原始词表

README 快速开始

Installation

项目描述

Multilingual readability engine for Node.js/TypeScript - 86 languages, 17 formulas, TeX (Frank M. Liang) syllable counting. Zero runtime deps, dual ESM+CJS. Byte-accurate port of the PHP ReadSight library.

相关仓库与替代方案

根据分类、Topic 和编程语言匹配的相似项目。

deerwork-ai
精选
deerwork-ai GitHub avatar

deer-workflow

An open-source Dynamic Workflow runtime that combines deterministic TypeScript orchestration with replaceable Agent runtimes.

AI 与机器学习大语言模型
312
gavamedia
精选
gavamedia GitHub avatar

deltafin

Deltafin is a research project that runs the 2.8-trillion-parameter Mixture-of-Experts model Kimi K3 on a single Apple Silicon Mac (e.g., M1 Max with 64 GB) at about 16 seconds per token, using exact, reproducible inference with local or streaming expert loading.

AI 与机器学习大语言模型
304
makecindy
精选
makecindy GitHub avatar

cindy

Cindy is an open-source AI agent that runs locally on your machine, integrates multiple AI harnesses and models, and provides memory, skills, and automation to perform real work in your projects and apps.

AI 与机器学习大语言模型
958