Explain the steps/components of NLP.


NLP is a five step process –




Lexical Analysis:

    ·         It deals with the recognition and identification of the structure of sentences.
    ·         It divides the paragraphs in sentences, phrases, and words.

Syntactic Analysis:

    ·         In this, sentences are parsed as nouns, verbs, adjectives, and other parts of sentences.
    ·         In this phase, the grammar of the sentence is analyzed in order to get the relationships among different words in the sentence.

Semantic Analysis:

·         In this phase, the actual meaning of the sentence is extracted from the structure and the words used.
    ·         It checks whether the sentence is meaningful.
·         It maps the object with their syntactic structure, to decide the correctness of the sentence.

Discourse Integration:

    ·         The meaning of discourse, w.r.t NLP is the context of the sentence or word.
    ·         Generally, meaning or interpretation of a sentence majorly depends or changes according to the context.
    ·         In discourse integration, the meaning of a sentence gets verified with the sentence before it.

Pragmatic Analysis:

    ·         Pragmatic analysis deals with the meaning of the sentence in various situations.
·         In this phase, sentences are re-interpreted to verify the correctness of the meaning in the given context.

No comments:

Post a Comment