Natural language programming: Difference between revisions

Content deleted Content added
added contente
Tags: Mobile edit Mobile web edit
added content
Tags: Mobile edit Mobile web edit
Line 6:
}}
 
'''Natural-language programming''' ('''NLP''') is an [[ontology (information science)|ontology]]-assisted way of [[programming language|programming]] in terms of [[natural language|natural-language]] sentences, e.g. [[English language|English]].<ref>Miller, Lance A. "Natural language programming: Styles, strategies, and contrasts." IBM Systems Journal 20.2 (1981): 184–215.</ref> A structured document with Content, sections and subsections for explanations of sentences forms a NLP document, which is actually a [[computer program]]. Natural languages and [[natural language user interface|natural-language user interface]]s include [[Inform#Inform 7|Inform7]], a natural programming language for making interactive fiction, Ring,<ref name="ringlanguage">{{cite web |url=https://www.codeproject.com/Articles/1200766/Using-the-Natural-Language-Programming-Library-NLP |title=Using the Natural Language Programming Library (NLPL) in the Ring Programming Language |author=Fayed |date=9 March 2018 |work=codeproject.com |publisher=[[Code_Project]]}}</ref><ref name="ringlanguage2">{{cite web |url=https://www.codeproject.com/Articles/1138605/Natural-Language-Programming-in-the-Ring-Programmi |title=Natural Language Programming in the Ring Programming Language |author=Fayed |date=9 March 2018 |work=codeproject.com |publisher=[[Code_Project]]}}</ref> a general-purpose language, [[Shakespeare (programming language)|Shakespeare]], an [[Esoteric programming language|esoteric]] natural programming language in the style of the plays of [[William Shakespeare]], [[Wolfram Alpha]], a computational knowledge engine, using natural-language input.{{citation needed|date=November 2018}} and [[Plain English Programming]], a natural subset of natural language actual, the best illustration of what future programming will be like that can actually be used today and that makes it interesting and well worth studying to understand how it does what it does - Reference: The Osmosian Order of Plain English Programmers Blog (https://osmosianplainenglishprogramming.blog/2018/05/16/the-journey-begins/) Some methods for [[program synthesis]] are based on natural-language programming.<ref>Desai, Aditya, et al. "[https://arxiv.org/pdf/1509.00413 Program synthesis using natural language]." Proceedings of the 38th International Conference on Software Engineering. ACM, 2016.</ref>
 
==Interpretation==