Handbook
Glossary
English natural language transformations
The
english
vocabulary implements a few simple ways of interacting with text in the English language, for improving generated text.
Plural and singular forms:
plural?
( word -- ? )
pluralize
( word -- plural )
?pluralize
( count singular -- singular/plural )
count-of-things
( count word -- str )
singular?
( word -- ? )
singularize
( word -- singular )
Toy grammatical words:
a/an
( word -- article )
?plural-article
( word -- article )
a10n
( word -- numeronym )
comma-list
( parts conjunction -- clause-seq )