1 Introduction
1 Introduction
1 Introduction
• Analyse, understand and generate human language just like humans do.
• To explain linguistic theories to use the theories to build systems that can be
of social use.
• Components of NLP
• Steps of NLP
•Syntactic generation
• The lexicon of a language is its vocabulary that includes its words and expressions.
• Lexical analysis involves dividing a text paragraphs, words and the sentences.
Syntactic Analysis
• Syntax concerns the proper ordering of words and its affects on meaning
• This involves analysis of the word in a sentence to depict the grammatical structure of
the sentence.
• The words are transformed into structure that shows how the words are related to each
other
• For example: “the girl the go to the school”. This would definitely be rejected
by the English syntactic analyser.
Semantic Analysis
• This abstracts the dictionary meaning or the exact, meaning from the context.
• The structures which are created by the syntactic analyser are assigned meaning.
• The meaning of any single sentence depends upon the sentences that precedes it and
also invokes the meaning of the sentences that follow it.
For example: the word “it” in the sentence “she wanted it” depend upon the prior
discourse context.
Pragmatic Analysis
• Pragmatics concerns the overall communicative and social context and its effect on
interpretation.
• The main focus is on what was said is reinterpreted on what it actually means.
For example: “close the window?” should have been interpreted as a request rather
than an order.
Natural Language Generation
• NLG is the process of constructing natural language outputs from non-linguistic inputs
Machine Learning
Statistical inference
•System based on Automatically learning rules can be made more accurate simply by
supplying more input data or source to it.
•However, system based on hand-written rule can only be made more accurate by
increasing the complexity of the rules, which is a much more difficult task.
Natural language vs. Computer language
•Make computers as they can solve problems like humans and think like humans as well
as perform activities that humans cannot perform and making it more effiecient than
humans.