Mizan Tepi University: Chapter - 6
Mizan Tepi University: Chapter - 6
CHAPTER - 6
Natural Language Processing (NLP)
Basics
1 By: Melkamu D.
Introduction to Natural Language Processing(NLP)
2
Syntax: It refers to arranging words to make a sentence. It also involves determining the structural role of words
in the sentence and in phrases.
Semantics: It is concerned with the meaning of words and how to combine words into meaningful phrases and
sentences.
Pragmatics: It deals with using and understanding sentences in different situations and how the interpretation of
the sentence is affected.
Discourse: It deals with how the immediately preceding sentence can affect the interpretation of the next
sentence.
Semantic Analysis: It draws the exact meaning or the dictionary meaning from
the text. The text is checked for meaningfulness. It is done by mapping syntactic
structures and objects in the task domain. The semantic analyzer disregards
sentences such as “hot ice cream”.
Discourse Integration: The meaning of any sentence depends upon the
meaning of the sentence just before it. In addition, it also brings about the
meaning of the immediately succeeding sentence.
Pragmatic Analysis: During this, what was said is re-interpreted on what it
actually meant. It involves deriving those aspects of language which require
real-world knowledge.
Cont.….
Machine Learning Application in NLP
12
Machine Translation
Database Access
Information Retrieval
Selecting from a set of documents the ones that are relevant to a query
Text Categorization
Sorting text into fixed topic categories
Extracting data from text
Converting unstructured text into structured data
Spoken language control systems
Spelling and grammar checkers
14
Natural Language Interaction (NLI)
Natural Language Interaction (NLI): enables people to interact with any
connected device using normal, everyday language.
It understands the meaning of conversational input, and reacts accordingly,
creating value and enhancing the user experience.
Responds in an Intelligent, Humanlike Way to Every Conversation
With NLI, users can converse with technology using complex sentences,
containing multiple pieces of information and more than one request.
There is no need for the user to repeat details during a conversation because
memory, personal preferences, and contextual understanding comes into play,
just as they would in a conversation with a real person.
Cont.….
15
It can help with back office tasks such as improving answers given or discovering why a customer
didn’t complete their purchase online to transforming individual interactions by cross-selling or
offering personalized deals at a critical moment.
Natural Language Interaction gives you the power to use the information your customer provides to
deliver a superior customer experience and help increase your bottom line.
17
Computer vision and Image processing
What is Image Processing?
As the phrase "image processing" suggests, this technique involves "processing" an image.
It denotes that an input file has been subjected to at least one alteration. Additionally, a person with the
help of some specialized software can accomplish this task (to name just Photoshop, InDesign, GIMP,
Gravit, CorelDRAW, and many more).
Some of the modifications are carried out by themselves automatically. Such modifications include
contrast enhancement, edge detection, sharpening, and filtering.
There is no human involvement at any point in any of these processes. It is sufficient for a graphic to
initiate a specific activity.
Cont.…
Resizing, stretching, improving, and adding new layers or texts are examples of the
types of transformations that fall under the category of manual work.
These procedures necessitate a great deal more focus and activity on the part of the
graphic.
In image processing, you begin with an image X, process it, and then you end up
with an image Y as a result of your work.
Setting the goal, and the problem that needs to be solved all play a role in
determining what kinds of changes are required.
Cont.…
What is Computer Vision?
The primary objective of computer vision is to derive information from the
pictures or videos that are used as input in order to have an accurate grasp of the
data and to anticipate the visual data in the same way that the human brain does.
Processing the raw images that are entered into the system The primary objective of computer vision is
in order to improve them or get them ready for usage in to derive information from the pictures or
other applications is the primary emphasis of image videos that are used as input in order to have
Definition
processing. an accurate grasp of the data and to
anticipate the visual data in the same way
that the human brain does.
Methods such as anisotropic diffusion, hidden Markov Image processing is just one of the many
models, independent component analysis, different techniques that are employed in computer
Applicable methods
filtering, and many more are utilised throughout the image vision; other approaches, such as machine
processing process. learning, CNN, and so on are also utilised.
The field of Computer Vision includes Image Processing as Image processing is the subfield that
Function
one of its subfields. Computer Vision falls under.
Some applications of image processing include rescaling Object detection, face detection, handwriting
the image (also known as digital zoom), correcting the recognition, and other similar tasks are all
Applications
illumination, and changing the tones, among other things. examples of applications that computer
vision can perform.
Summery
The methods that are used in Image Processing can alter images in a variety of ways,
including sharpening, smoothing, filtering, enhancing, restoring, and blurring amongst
others.
Computer vision, on the other hand, is concerned with deciphering the meaning of
what may be seen by computers.
A computer vision system receives an image as an input and generates images as an
output based on a particular job, such as the labeling of objects and their coordinates.
Both of them collaborate in many different situations; in fact, many computer vision
systems depend on image processing techniques to function properly.
Image processing entails the processing of raw input images, as well as the
enhancement of those images or the preparation of those images to carry out certain
activities.
24