0% found this document useful (0 votes)
52 views11 pages

Introduction To For It & Non-It Professionals: Artificial Intelligence

The document provides an introduction to Natural Language Processing (NLP), a field that enables machines to understand and manipulate human languages for tasks like translation and speech recognition. It outlines two main components of NLP: Natural Language Understanding (NLU), which focuses on interpreting language, and Natural Language Generation (NLG), which involves creating natural language outputs. Additionally, it discusses the differences between syntax and semantics in language processing.

Uploaded by

TariqMalik
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
52 views11 pages

Introduction To For It & Non-It Professionals: Artificial Intelligence

The document provides an introduction to Natural Language Processing (NLP), a field that enables machines to understand and manipulate human languages for tasks like translation and speech recognition. It outlines two main components of NLP: Natural Language Understanding (NLU), which focuses on interpreting language, and Natural Language Generation (NLG), which involves creating natural language outputs. Additionally, it discusses the differences between syntax and semantics in language processing.

Uploaded by

TariqMalik
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

INTRODUCTION TO

ARTIFICIAL INTELLIGENCE
FOR IT & NON-IT PROFESSIONALS
NATURAL LANGUAGE PROCESSING (NLP)
NATURAL LANGUAGE PROCESSING (NLP)

• a part of Computer Science, Human language, and AI


• used by machines to understand, analyze, manipulate, and interpret
human languages
• helps perform various tasks such as translation, automatic
summarization, Named Entity Recognition (NER), speech recognition,
relationship extraction, and topic segmentation
NATURAL LANGUAGE PROCESSING (NLP)
COMPONENTS OF NLP

• two components of NLP:


• Natural Language Understanding (NLU)
• Natural Language Generation (NLG)
NATURAL LANGUAGE UNDERSTANDING
(NLU)
• helps the machine to understand and analyze human language by
extracting the metadata from the content such as concepts, entities,
keywords, emotions, relations, and semantic roles
• mainly used in Business apps
NATURAL LANGUAGE GENERATION (NLG)

• acts as a translator that converts the computerized data into natural


language representation
• mainly involves Text planning, Sentence planning, and Text
Realization
DIFFERENCE BETWEEN NLU & NLG

• NLU is essentially the process of reading and interpreting language


• NLU produces non-linguistic outputs from natural language inputs
• Example of NLU: Automatic Routing of Tickets

• NLG is the process of writing or generating language


• NLG constructs and produces natural language outputs from non-linguistic
inputs
• Example of NLG: Automated Journalism
SYNTAX VS SEMANTICS

• Syntax — determines valid form of program statements


• Semantics — behavior of valid program
SYNTACTIC ANALYSIS (PARSING)

• is used to check grammar, word arrangements, and shows the


relationship among the words including nouns, verbs, etc
• Example: Lahore goes to Amber - sentence is rejected by the
Semantic Analyzer but acceptable to the Syntax Analyzer
SEMANTIC ANALYSIS

• concerned with the meaning of the sentence


• considers literal meaning of words, phrases, context of sentence, etc.
• Example: I want to get my fan
DIFFERENCE BETWEEN SYNTAX AND
SEMENTICS
• Syntax: Grammar
• Semantics: Meaning or sense of the sentence. Does the sentence
make sense?

You might also like