DocumentStats
Statistics about the user-entered text.
interface DocumentStats {
charsCount: number;
readabilityScore: number;
readingTime: Time;
speakingTime: Time;
suggestionsCount: number;
wordsCount: number;
}
Properties
charsCount — number
Current number of characters, including whitespace.
readabilityScore — number
Readability score using the Flesch reading-ease test.
Higher scores indicate material that is easier to read. The range for typical text is 0 - 100, but we surface the exact amount even if lower or higher.
readingTime — Time
Expected time needed by an average reader to read the text (250 wpm).
speakingTime — Time
Expected time needed by an average speaker to speak the text aloud (130 wpm).
suggestionsCount — number
Current number of suggestions.
wordsCount — number
Current number of words.