Textstat
Plugabble text statistics engine.
Install / Use
/learn @textlint/TextstatREADME
textstat
textstat analyze text and summarize data.
textstat is related project of textlint.
Installation
npm install @textstat/textstat
Usage
- [ ] Write usage instructions
UseCase
- 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はドキュメント上へ
その他
照応 省略 解析、
- 省略を発見する
- 文章のつながりの滑らかを評価する
- 範囲を強調表示する
- 関連付け
Abstract
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)
View Format
- https://crocro.com/pc/soft/novel_supporter/manual/doc-tool-warn_text.html
- range
- color
- underline
- displayName
- displayPosition: "after"
Needs
- 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
Development
yarn install
yarn bootstrap
Tests
yarn test
Architecture
- Load
textstat-rule-* - Process text by @textlint/kernel
- Format results
- Output statistics
Contributing
- 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
License
MIT
Related Skills
node-connect
342.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
342.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.7kCommit, push, and open a PR
