class Wordcount

Constants

CATEGORIES

BREAKS

Methods

static int
count(string $text)

Given a chunk of text, tell us how many words are in it!

static bool
isLetter(int $codepoint)

No description

static void
loadLetters() deprecated

kept for bc, does nothing

Details

at line 42
static int count(string $text)

Given a chunk of text, tell us how many words are in it!

Parameters

string $text The text you want a wordcount of, probably in UTF-8 encoding

Return Value

int The wordcount

at line 59
static protected bool isLetter(int $codepoint)

Parameters

int $codepoint

Return Value

bool

at line 86
static void loadLetters() deprecated

deprecated will be removed in v2.0

kept for bc, does nothing

Return Value

void