Tokenizes a word generation pattern into an array of structural tokens.
The word generation pattern to tokenize.
An array of Token objects parsed from the pattern.
Validates a word generation pattern.
The pattern to validate.
True if valid, throws an error otherwise.
Tokenizes a word generation pattern into an array of structural tokens.