Natural Language Processing

The main Role of NLP is to Analyse and Process the data.

Text data is unstructured or unprocessed facts which is represented in a sequence of characters or words.

Examples of Text data : Articles, Documents, Tweets, etc.

NLP is a field of Artificial Intelligence which acts as a middleware between the computers and humans through Natural Language.

The main Goal of NLP is to understand, interpret and generate the human understandable text, in simpler language the goal is to extract something meaningful from the entire text, i.e important keywords ,etc.

The Components of NLP are divided into two types:

A) Natural Language Understanding (NLU):

  • NLU basically transforms the human readable language or the language which is readable and understood by the humans into machine readable format which would be helpful for the system or the computers to understand.

  • NLU also extracts the meaningful information or we can say keywords from the entire information which is provided by the user in human readable format.

B) Natural Language Generation (NLG):

  1. NLG acts as a Translator which is used to convert the Computerised Data into Natural Language Processing.

  2. It involves the methods such as Text planning,Sentence planning,Text realisation, etc.

    Steps included in Natural Language Processing:

    1. Lexical Analysis:

      It basically scans the source code or input which is taken as input from the user.

      It converts the input into meaningful Lexemes.

      Lexemes are referred as chunks of the information.

    2. Syntactic Analysis:

      Syntactic Analysis is basically used to check if the grammar of the given sentence is correct or not.

    3. Semantic Analysis:

      Semantic Analysis is used to check the meaning of a particular word or sentences which is taken as input.

    4. Discourse Analysis:

      It depends of the sentences that proceeds it.

      E.g: When we enter some prompt on the google we automatically get the further sentence which might be the desired search.

    5. Pragmatic Analysis:

      This Analysis is the last component of the steps in NLP.

      It is used to identify the behaviour of the sentences or the words present .