Creates a new TranslationWordList object, and parses the passed sentence if any.
While parsing sentence, this class adds all words to the WordIndex database or finds already existing ones. The class maintains an iterable list of TranslationWord objects. - Parameters:
-
| $text | string Text to parse and index. If empty, an object without actual wordlist is created. |
Definition at line 52 of file TranslationWordList.php.
References GetDbConn(), GetTables(), and SplitToWords(). |