Splits any string to human readable words and adds them to the internal $this->allWords array
Also counts how many times each word appears in the sentence. Also adds all missing words to the WordIndexes.
- Parameters:
-
| $text | The sentence to split to words |
- Returns:
- Nothing.
Definition at line 256 of file TranslationWordList.php.
References AddToWordIndex(), AddWord(), SetFakeLength(), and SumCount().
Referenced by __construct(). |