|
RiTa index |
|
| Name | preloadFeatures() |
| Class | RiLexicon |
| Description | Use this method to preload the Lexicon with feature data (stress, syllables, pos, phones, etc).
Increases the initialization time but speeds up all subsequent lookups by an order of magnitude.
Useful when doing many lookups over the course of a program, especially with the RiTaServer. Example:
RiLexicon lex = new RiLexicon();
lex.preloadFeatures();
// use the lexicon |
| Syntax | preloadFeatures(); |
| Returns | void |
| Usage | Web & Application |
| Related | |