Versions in this module Expand all Collapse all v1 v1.1.0 Oct 3, 2017 v1.0.0 Sep 24, 2017 Changes in this version + func Syllables(word string) int + type Assessment struct + AutomatedReadability float64 + ColemanLiau float64 + DaleChall float64 + FleschKincaid float64 + GunningFog float64 + MeanGradeLevel float64 + ReadingEase float64 + SMOG float64 + StdDevGradeLevel float64 + type Document struct + Content string + NumCharacters float64 + NumComplexWords float64 + NumParagraphs float64 + NumPolysylWords float64 + NumSentences float64 + NumSyllables float64 + NumWords float64 + SentenceTokenizer tokenize.ProseTokenizer + Sentences []Sentence + WordFrequency map[string]int + WordTokenizer tokenize.ProseTokenizer + func NewDocument(text string) *Document + func (d *Document) Assess() *Assessment + func (d *Document) AutomatedReadability() float64 + func (d *Document) ColemanLiau() float64 + func (d *Document) DaleChall() float64 + func (d *Document) FleschKincaid() float64 + func (d *Document) FleschReadingEase() float64 + func (d *Document) GunningFog() float64 + func (d *Document) Initialize() + func (d *Document) Keywords() map[string]int + func (d *Document) MeanWordLength() float64 + func (d *Document) SMOG() float64 + func (d *Document) Summary(n int) []RankedParagraph + func (d *Document) WordDensity() map[string]float64 + type RankedParagraph struct + Position int + Rank int + Sentences []Sentence + type Sentence struct + Length int + Paragraph int + Text string + Words []Word + type Word struct + Syllables int + Text string