Module readability

Source

Structs§

APOSTROPHE
Apostrophe
DOUBLE
Match double syllable pre- and suffixes
DOUBLE_SYLLABIC_FOUR
Match four-syllable words counted as one, but should be two
DOUBLE_SYLLABIC_ONE
Match syllables counted as one, but should be two
DOUBLE_SYLLABIC_THREE
Match three-syllable words counted as one, but should be two
DOUBLE_SYLLABIC_TWO
Match two-syllable words counted as one, but should be two
IRREGULAR_NOUNS
Nouns with irregular singular/plural forms
IRREGULAR_NOUNS_INVERTED
Nouns with irregular plural/singular forms
NEED_TO_BE_FIXED
Nouns that need to be fixed when counting syllables
NON_ALPHABETIC
Non-alphabetic
PROBLEMATIC_WORDS
Nouns with problematic syllable counts
SINGLE
Match single syllable pre- and suffixes
SINGLE_SYLLABIC_ONE
Match syllables counted as two, but should be one
SINGLE_SYLLABIC_TWO
Match two-syllable words counted as two, but should be one
TRIPLE
Match triple syllabble suffixes
VOWEL
Vowels

Constants§

SAME_SINGULAR_PLURAL
Nouns with the same singular and plural forms

Functions§

automated_readability_index
Automated Readability Index (ARI)
coleman_liau_index
Coleman-Liau Index (CLI)
flesch_kincaid_grade_level
Flesch-Kincaid Grade Level (FKGL)
flesch_reading_ease_score
Flesch Reading Ease Score (FRES)
get_complex_word_count
Count the number of “complex words” in a given text
get_letter_count
Count the number of letters in a given text
get_long_word_count
Count the number of “long words” in a given text
get_sentence_count
Count the number of sentences in a given text
get_singular_form
Get the singular form of a word (e.g. “people” -> “person”)
get_syllable_count
get_word_count
Count the number of words in a given text
get_words
Get list of words in a given text
gunning_fog_index
Gunning Fog Index (GFI)
lix
Lix
smog
Simple Measure of Gobbledygook (SMOG)
tokenize
Break text into tokens