function tokenizeText() {
    registerContextChecker.call(this, 'latinWord');
    registerContextChecker.call(this, 'arabicWord');
    registerContextChecker.call(this, 'arabicSentence');
    return this.tokenizer.tokenize(this.text);
}
Register a state modifier
@param {string} modifierId state modifier id
@param {function} condition a predicate function that returns true or false
@param {function} modifier a modifier function to set token state