Hi my fellow people, “**Rhymes the rhyme” — **The tune for abcdefg song is same as the tune of twinkle twinkle little star!. Here let’s look into the requirements for building up a NLP model.

What is NLP?

Natural Language processing is a branch of AI that helps computers to understand, interpret and manipulate human language.NLP helps developers to organize and structure knowledge to perform tasks like translation, summarization, named entity recognition, relationship extraction, speech recognition, topic segmentation etc.

Components of NLP:

Image for post

  1. Morphological Analysis: Break chunks of language input into sets of token corresponding to paragraphs, sentences and words. Eg: Uneasy to “un” + “easy”.
  2. **Syntax Analysis: **To check that a sentence is well formed or not and to break it up into a structure that shows syntactic relationship between the different words. Eg: The school goes to the boy -Sentence “rejected”.
  3. **Semantic Analysis: **Draws exact meaning or dictionary meaning from the text. It shows how words are associated with each other. Eg: Hot Coffee — accepted as two words extracts to be meaningful.
  4. **Pragmatic analysis: **Fits the actual objects/events which exits in a given context with object reference obtained during semantic phase. It discovers the intent of the text. Eg: “Close the window” -interpreted as request instead of order. Another Eg: “Place the apple in the basket on the shelf” -It has 2 semantic interpretations and pragmatic analyzer will choose between these two possibilities.

#spam-detection #nlp #machine-learning #nltk #data-science #data analysis

NLP- Neuro Linguistic Programming and Spam Detection
1.50 GEEK