Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions pkg/classic.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,16 @@ func ClassicSentence() string {
return buildClassicText(8)
}

// ClassicWordsPerSentence returns the word count per sentence
func ClassicWordsPerSentence() int {
return 8
}

// ClassicWordsPerSentence returns the word count per praragraph
func ClassicWordsPerParagraph() int {
return len(classicText)
}

// ClassicWords returns the specified number of words from the classic Lorem Ipsum text
func ClassicWords(quantity int) string {
if quantity <= 0 {
Expand Down