How does natural language processing work?

The fundamental concepts of NLP differ from those of Machine Learning or Software Engineering in general. Natural language processing systems take strings of words (sentences) as their input and produce structured representations capturing the meaning of those strings as their output. The nature of this output depends heavily on the task at hand.

A simplified view of Natural Language Processing emphasises four distinct stages.After inputting the sentence the following processes are occured.

  • Morphological processing
  • Syntax analysis(parsing)
  • Semantic analysis
  • Pragmatic analysis