Documentation ¶
Index ¶
- func ARI(corpus string) float64
- func ColemanLiau(corpus string) float64
- func FleschKincaidEase(corpus string) (float64, error)
- func FleschKincaidGrade(corpus string) (float64, error)
- func GunningFog(corpus string) (float64, error)
- func NumCharacters(corpus string) int
- func NumComplexWords(text string) (int, error)
- func NumSentences(corpus string) int
- func NumSyllables(text string) (int, error)
- func NumWords(corpus string) int
- func SMOG(corpus string) (float64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ColemanLiau ¶
func FleschKincaidEase ¶
FleschKincaidEase returns the reading ease score of the given body of text according to the Flesch-Kincaid reading ease test It overestimates the reading ease score slightly, as unknown words are treated as having 0 syllables
func FleschKincaidGrade ¶
FleschKincaidGrade returns the grade level of the given body of text according to the Flesch-Kincaid grade level test It underestimates the grade level slightly, as unknown words are treated as having 0 syllables
func GunningFog ¶
GunningFog returns the readability index according to the Gunning fog index
func NumCharacters ¶
func NumComplexWords ¶
func NumSentences ¶
func NumSyllables ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.