Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Natural language generation
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{short description|Generation of text in natural languages}} {{hatnote|This article is about the computer processing ability. For the psychological concepts, see [[Origin of language]] or [[Universal grammar]]}}'''Natural language generation''' ('''NLG''') is a software process that produces [[natural language]] output. A widely cited survey of NLG methods describes NLG as "the subfield of artificial intelligence and computational linguistics that is concerned with the construction of computer systems that can produce understandable texts in English or other human languages from some underlying non-linguistic representation of information".<ref>{{Cite journal |last1=Reiter |first1=Ehud |last2=Dale |first2=Robert |date=March 1997 |title=Building applied natural language generation systems |url=https://www.cambridge.org/core/journals/natural-language-engineering/article/abs/building-applied-natural-language-generation-systems/FEB374A3FF652F06D8567A6FAB2EF36E |journal=Natural Language Engineering |language=en |volume=3 |issue=1 |pages=57β87 |doi=10.1017/S1351324997001502 |s2cid=8460470 |issn=1469-8110|url-access=subscription }}</ref> While it is widely agreed that the output of any NLG process is text, there is some disagreement about whether the inputs of an NLG system need to be non-linguistic.<ref name="Gatt">{{cite journal|vauthors=Gatt A, Krahmer E |title=Survey of the state of the art in natural language generation: Core tasks, applications and evaluation. |journal=Journal of Artificial Intelligence Research |issue=61 |year=2018 |volume=61 |pages=65β170|doi=10.1613/jair.5477 |s2cid=16946362 |arxiv=1703.09902 }}</ref> Common applications of NLG methods include the production of various reports, for example weather <ref name="fog" /> and patient reports;<ref name="portet" /> image captions;<ref name="farhadi">{{cite conference|vauthors=Farhadi A, Hejrati M, Sadeghi MA, Young P, Rashtchian C, Hockenmaier J, Forsyth D |title=Every picture tells a story: Generating sentences from images |conference=European conference on computer vision |date=2010-09-05 |pages=15β29 |publisher=Springer |doi=10.1007/978-3-642-15561-1_2 |publication-place=Berlin, Heidelberg|url=https://link.springer.com/content/pdf/10.1007/978-3-642-15561-1_2.pdf}}</ref> and [[chatbot]]s like [[ChatGPT]]. Automated NLG can be compared to the process humans use when they turn ideas into writing or speech. [[Psycholinguists]] prefer the term [[language production]] for this process, which can also be described in mathematical terms, or modeled in a computer for psychological research. NLG systems can also be compared to [[Translator (computing)|translators]] of artificial computer languages, such as [[decompiler]]s or [[transpiler]]s, which also produce human-readable code generated from an [[intermediate representation]]. Human languages tend to be considerably more complex and allow for much more ambiguity and variety of expression than programming languages, which makes NLG more challenging. NLG may be viewed as complementary to [[natural-language understanding]] (NLU): whereas in natural-language understanding, the system needs to disambiguate the input sentence to produce the machine representation language, in NLG the system needs to make decisions about how to put a representation into words. The practical considerations in building NLU vs. NLG systems are not symmetrical. NLU needs to deal with ambiguous or erroneous user input, whereas the ideas the system wants to express through NLG are generally known precisely. NLG needs to choose a specific, self-consistent textual representation from many potential representations, whereas NLU generally tries to produce a single, normalized representation of the idea expressed.<ref name="Ehud" /> NLG has existed since [[ELIZA]] was developed in the mid 1960s, but the methods were first used commercially in the 1990s.<ref name="ehud-history">{{cite AV media |author=Ehud Reiter |language=English| title=History of NLG| url=https://www.youtube.com/watch?v=SEw47Y_ZN8Q&t=732s |archive-url=https://ghostarchive.org/varchive/youtube/20211212/SEw47Y_ZN8Q| archive-date=2021-12-12 |url-status=live|date=2021-03-21}}{{cbignore}}</ref> NLG techniques range from simple template-based systems like a [[mail merge]] that generates [[form letter]]s, to systems that have a complex understanding of human grammar. NLG can also be accomplished by training a statistical model using [[machine learning]], typically on a large [[Text corpus|corpus]] of human-written texts.<ref>{{cite journal |vauthors=Perera R, Nand P |title=Recent Advances in Natural Language Generation: A Survey and Classification of the Empirical Literature |journal=Computing and Informatics |volume=36 |pages=1β32 |year=2017 |issue=1 |doi=10.4149/cai_2017_1_1 |hdl=10292/10691 |hdl-access=free }}</ref>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)