Natural Language Processing_Part 1
The process in which a Machine gets to understand the human language processes it, and then takes action accordingly and provides the output is known as Natural Language Processing.
NATURAL LANGUAGE UNDERSTANDING: Natural Language Understanding (NLU) helps in the understanding of the input that is received by Automatic Speech Recognition. The NLU helps in understanding the context in which the input was made.
Eg: If I search for an animal planet, it understands that it is a TV channel and not an actual planet in the universe where ‘animals’ live.
NATURAL LANGUAGE GENERATION: Natural language Generation (NLG) decides based on the understanding of the NLU and the data that is passed on by the NLU to the NLG that what is the best output that the end user should receive.
NOTE: At times the output is optimized to be in the same language that the input was given.
The NLG needs to ensure that whatever output it is giving should be proper and relevant. By appropriate and relevant we mean the content of the question and the output received should be identical.
Eg: If the question is – “ Which is the fastest animal on earth ?”
Then the answer should not be – “ The speed of wings of a hummingbird is so and so “
This answer is not relevant to the question asked.