Adapting Predicate to the token_mode options for text analysis
Adding full_terms_only modifications for text analysis local predict
Changing and cleaning code after code review and pep8, pylint