Skip to content

v3.0.0

Compare
Choose a tag to compare
@azu azu released this 08 Apr 09:22
· 41 commits to master since this release

Bug Fixes

  • deps: upgrade sentence-splitter@3 (2be98a2)

It is rewritten all logic.
https://github.com/azu/sentence-splitter/releases/tag/3.0.0

Features

  • options: add 読点 and 句点 as options (d625187)

読点に「,」句点に「.」を使う場合は、次のように設定します。

{
  "rules": {
    "max-ten": {
      // 読点として扱う文字
      "touten": ",",
      // 句点として扱う文字
      "kuten": "."
    }
  }
}