Wordcount
class Wordcount
Methods
static int
count(string $text)
Given a chunk of text, tell us how many words are in it!
static void
loadLetters()
the list of valid letters is normally generated when wordcount() is called for the first time. If you'd like it to load earlier (since it takes a hot moment), use this handy method!
Details
at line 23
static int
count(string $text)
Given a chunk of text, tell us how many words are in it!
at line 94
static void
loadLetters()
the list of valid letters is normally generated when wordcount() is called for the first time. If you'd like it to load earlier (since it takes a hot moment), use this handy method!