textstat analyze text and summarize data.
textstat is related project of textlint.
npm install @textstat/textstat
- Write usage instructions
- Implement advice engine
- context-dependent
- Paragraph Writing advice engine
- text mining
- Counting
- Sentence
- Paragraph
- Word
- Image
- List
- Code
- Length
Show result for each node
- Document
- Section
- Paragraph
- Sentence
- Word?
それぞれのViewで表現方法が異なる
- 小説推敲補助ソフト「Novel Supporter」 - クロノス・クラウン -
- Documentはcompose可能
- Sectionはサイドバーへ
- Paragraphはドキュメント上へ
- Inlineはドキュメント上へ
照応 省略 解析、
- 省略を発見する
- 文章のつながりの滑らかを評価する
- 範囲を強調表示する
- 関連付け
Process
- Map Data to Range of the Document.
View format
- Show Data of Range of the Document.
Output
- HTML(Popup data)
- Text(Group by Range)
- https://crocro.com/pc/soft/novel_supporter/manual/doc-tool-warn_text.html
- range
- color
- underline
- displayName
- displayPosition: "after"
- TxtAST to MDAST to HAST to HTML
- syntax-tree/mdast-util-to-hast: Transform MDAST to HAST
- syntax-tree/hast-util-to-html: Transform HAST to HTML
- render-markdown-with-position/markdown-to-html.js at master · azu/render-markdown-with-position
- With AST point
yarn install
yarn bootstrap
yarn test
- Load
textstat-rule-*
- Process text by @textlint/kernel
- Format results
- Output statistics
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
MIT