Natural Language Generation
Natural Language Generation NLG is a technology that enables computers to have the same expression and writing capabilities as humans. That is, it can automatically generate a high-quality natural language text based on some key information and its expression form inside the machine through planning.
The connection between NLG and NLP
Natural language generation is a part of natural language processing, which refers to the generation of natural language based on machine expression systems such as knowledge bases or logical forms. It can be regarded as a translator that converts data into natural language expressions.
Natural language generation can be seen as the reverse of natural language understanding: the natural language understanding system needs to clarify the meaning of the input sentence to generate machine expression language; the natural language generation system decides how to convert concepts into language.
NLG Implementation Model
- Explicit language models (e.g., grammars);
- Uses statistical models derived from analysis of text written by real people.
NLG Implementation Methods
- Determine the content: decide what information to put in the text;
- Architecture document: the overall organization of the information being communicated;
- Cluster sentences: merge similar sentences to make the text more readable and natural;
- Choose words: choose words that express concepts;
- Referential language generation: Producing referential language that identifies objects or regions;
- Realize the text: Produce actual text according to the rules of grammar, word formation, and orthography.