Lexicon-based NLP Algorithm