Week 12 Topic 8 NLP
Week 12 Topic 8 NLP
written text
speech
Morphological Breaking down into “un-” Syntactic Level: Identifying the structure “The cat”
Level: (prefix), “happy” (root), “The cat sat on (subject), “sat” (verb), “on the mat”
“Unhappiness” and “-ness” (suffix). the mat” .This helps in understanding
grammatical relationships.
Pragmatic Level: Understanding that this Semantic Level Recognizing that “blue” here
“Can you pass the isn’t just a question about “I’m feeling blue.” means sad, not the color.
salt?” ability but a polite
request to pass the salt
Levels in Practice (2)
Level Example
Discourse Level: Understanding “She” refers to “Sarah”
Sentence 1: “Sarah went to the market.” and maintaining coherence across
Sentence 2: “She bought some apples.” sentences.
Phases of NLP?
To select the correct meaning for the word ‘diamond’ in the sentence:
Salma saw Sarah’s diamond shimmering from across the room.
Now, you must explain the concept of nouns, verbs, articles, and other parts of
speech to the machine by adding these tags to our words. This is called ‘part of’.
Identifies each word’s grammatical category (noun, verb, adjective, etc.).
Named Entity Recognition (NER)