Back to reference

TextStats

Statistics about the user-entered text.

interface TextStats {
  charsCount: number;
  readabilityScore: number;
  readingTime: Time;
  session: SessionStats;
  speakingTime: Time;
  wordsCount: number;
}

Properties

charsCountnumber
Number of characters, including whitespace.

readabilityScorenumber
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.

readingTimeTime
Expected time needed by an average reader to read the text (250 wpm).

sessionSessionStats
Stats about the overall session.

speakingTimeTime
Expected time needed by an average speaker to speak the text aloud (130 wpm).

wordsCountnumber
Number of words.

Last Updated: 9/17/2021, 11:38:18 PM