DocumentStats
Statistics about the user-entered text. Try it nowopen in new window.
DocumentStats
is available only on the Plus plan. Learn moreopen in new window about our plans.
interface DocumentStats {
charsCount: number;
readabilityScore: number;
readingTime: Time;
speakingTime: Time;
suggestionsCount: number;
wordsCount: number;
}
Properties
charsCountType: number
Current number of characters, including whitespace.
readabilityScoreType: number
Readability score using the Flesch reading-ease testopen in new window.
Higher scores indicate material that is easier to read. The range for typical text is 0–100, but we surface the exact score, even if lower or higher.
readabilityScore should only be used with longer texts.
suggestionsCountType: number
Current number of suggestions.
wordsCountType: number
Current number of words.