Public Member Functions | |
| TTparser (CScriptHandler *owner) | |
| int | preprocess (TTsentence *sentence) |
| int | findFrames (TTsentence *sentence) |
| void | conceptChanged (TTconcept *newConcept, TTconcept *oldConcept) |
Public Attributes | |
| CScriptHandler * | _owner |
| TTsentenceConcept * | _sentenceConcept |
| TTsentence * | _sentence |
| int | _fieldC |
| int | _field10 |
| int | _field14 |
| TTword * | _currentWordP |
| StringArray | _pronouns |
| int Titanic::TTparser::preprocess | ( | TTsentence * | sentence | ) |
Preprocesses the passed input text, to handle things like lowercasing all the words, and replcaing common slang with their full equivalents
Called when a concept is copied from one to another