Natural Language Processing Flashcards
What is a Natural Language Processor (NLP)?
An NLP is a processor with the goal of making machines understand and interpret human language.
What is meant by linguistic analysis?
Analysis that should be undertaken before language processing to help the machine understand the formation of words and their relationships.
What is the linguistic analysis of syntax?
An analysis of what part of the text is grammatically correct.
What is the linguistic analysis of semantics?
An analysis of the meaning of the given text.
What is Natural Language Understanding (NLU)?
A Natural Language Understanding (NLU) module attempts to understand the meaning of a text. This means that the nature and structure of each individual word in the next must be known.
How does a Natural Language Understanding module understand the structure of a sentence?
By resolving ambiguities present in the natural language.
What is a lexical ambiguity?
The multiple meanings of words.
i.e. Polysemy: ‘bank’ - capital bank or a river bank.
Synonymy: ‘big’ and ‘large’ have identical meanings.
What is a syntactic ambiguity?
The multiple parse trees, or logic, of a sentence.
What is a semantic ambiguity?
The multiple meanings of a sentence.
i.e. The cat is sleeping on the couch. The couch is where the cat is sleeping.
What is an anaphoric ambiguity?
A phrase or word that refers to an entity mentioned previously in the sentence.
i.e. Lucy went to the cinema. She had fun.
‘She’ refers to ‘Lucy’, the entity mentioned prior. This is important information to understand the second sentence.
What is syntax analysis?
The analysis of sentence structure, including parts of speech (POS).
What is semantic analysis?
The analysis of the meanings of words and phrases.
What is Named Entity Recognition (NER)?
The identification of named entities in the input.
What is intent recognition?
The understanding of the speaker’s intent.
What are the four steps of natural language understanding?
Syntax analysis: structure
Semantic analysis: meaning
Named Entity Recognition (NER): entity identification
Intent Recognition: understanding