Trusted answers to developer questions
Trusted Answers to Developer Questions

Related Tags

nlg
chatbots
nlp
model

What is NLG?

Saqib Azhar

Grokking Modern System Design Interview for Engineers & Managers

Ace your System Design Interview and take your career to the next level. Learn to handle the design of applications like Netflix, Quora, Facebook, Uber, and many more in a 45-min interview. Learn the RESHADED framework for architecting web-scale applications by determining requirements, constraints, and assumptions before diving into a step-by-step design process.

Overview

Natural Language Generation (NLG) is the ability of computers to generate text and speech using Artificial Intelligence. It is the machine-to-human interaction, and vice versa, simulating the human-to-human conversations. NLG uses numerical calculations to extract patterns and translate them into text for the understanding of humans.

Natural Language Generation

NLP vs NLG

NLP encloses both NLG and Natural Language Understanding (NLU). Voice Recognition uses NLP to translate the speech into text, whereas NLG uses that data to generate speech. Here comes NLU, which makes sure that the converted speech means something One outcome of the above processes is a chatbot that aims to communicate with humans.

NLG tools can help express all the relevant concepts found in the data, such as identifying and articulating the most important findings intuitively.

Modeling NLG

NLG can be modeled with the help of modeling languages. A language model is a model that learns to predict the probability of a sequence of words. It should be able to distinguish between a more probable and less probable model. There are two types of Language Models, Statistical Language Model which uses techniques, such as Hidden Markov Models (HMM), and the Neural Language Model which uses a Neural Network to model language.

NLG Applications

  • Chatbots
  • Content Writing
  • Report Automation
  • Product Description for E-commerce

NLG can also benefit us in that instead of manually creating the text, there is a way to categorize text for fast generation of relevant content. It can help us create highly personalized content for the respective groups, helping deliver in multiple languages.

Chatbots use NLG to convert structured data into Natural Conversation Language for output to the user. Report Automation is used to generate reports based on data inputs that are used in the sector of finance, businesses, and all other places where a large volume of reporting is required. Different Software for NLG has been made that include Amazon Polly, Arria, Wordsmith, and so on. These softwares are utilized in many fields including automated generalism, as they help in mining large quantities of numerical data.

RELATED TAGS

nlg
chatbots
nlp
model

Grokking Modern System Design Interview for Engineers & Managers

Ace your System Design Interview and take your career to the next level. Learn to handle the design of applications like Netflix, Quora, Facebook, Uber, and many more in a 45-min interview. Learn the RESHADED framework for architecting web-scale applications by determining requirements, constraints, and assumptions before diving into a step-by-step design process.

Keep Exploring