Releases: Invulner/use-text-analyzer
Releases · Invulner/use-text-analyzer
v2.1.4
v2.1.3
v2.1.2
v2.1.1
v2.1.0
- CJK Support Enhancements
- Added automatic detection of CJK text to adjust reading time calculations based on the typical reading speed for CJK languages.
- Updated
countWords
utility to correctly treat each CJK character as a separate word, enhancing accuracy in word counting for Chinese, Japanese, and Korean texts. - Enhanced
countSentences
to recognize CJK-specific punctuation, improving sentence detection accuracy in CJK languages.
- Dependencies updates
v2.0.1
v2.0.0
Updated the useTextAnalyzer
hook to enhance the reading time output format. It now includes detailed components such as minutes, seconds, total time, and a human-readable text summary. Additionally, a new wordsPerMinute
parameter allows for customisation of reading speed estimation.