ai with python natural language processing natural language processing (nlprefers to ai method of communicating with intelligent systems using natural language such as english processing of natural language is required when you want an intelligent system like robot to perform as per your instructionswhen you want to hear decision from dialogue based clinical expert systemetc the field of nlp involves making computers erform useful tasks with the natural languages humans use the input and output of an nlp system can be speech written text components of nlp in this sectionwe will learn about the different components of nlp there are two components of nlp the components are described belownatural language understanding (nluit involves the following tasksmapping the given input in natural language into useful representations analyzing different aspects of the language natural language generation (nlgit is the process of producing meaningful phrases and sentences in the form of natural language from some internal representation it involvestext planning this includes retrieving the relevant content from the knowledge base sentence planning this includes choosing the required wordsforming meaningful phrasessetting tone of the sentence text realization this is mapping sentence plan into sentence structure difficulties in nlu the nlu is very rich in form and structurehoweverit is ambiguous there can be different levels of ambiguity lexical ambiguity it is at very primitive level such as the word-level for exampletreating the word "boardas noun or verb