One common NLP technique is lexical analysis — the process of identifying and analyzing the structure…