胃气上逆吃什么中成药| 双肺微结节是什么意思| 梦见自己的衣服丢了是什么意思| 宝姿是什么档次的牌子| 书生是什么意思| 特别想睡觉是什么原因| 洗漱是什么意思| 事无巨细什么意思| 舌头麻木吃什么药| 6月30号是什么星座| 梦见吃花生是什么意思| 惊恐是什么意思| 2009年什么年| 移动增值业务费是什么| 准备要孩子需要注意什么| 子宫破裂有什么危险| 梦见刷牙是什么预兆| 天堂是什么意思| 过敏去医院挂什么科| wtf什么意思| 全身发抖是什么原因| 婴儿反复发烧是什么原因| 鸟在电线上为什么不会触电| 上火吃什么药最有效果| 脱髓鞘是什么病| 沙门氏菌用什么药| 寓教于乐什么意思| 额头青筋凸起是什么原因| 3月10日什么星座| 圣母什么意思| 受用是什么意思| 流金是什么字| 腹部左侧是什么器官| 哺乳期吃什么奶水多| 白事的礼金叫什么| ye是什么颜色| 五行代表什么意思| 心脏在什么位置图片| 丰衣足食是什么生肖| 繁什么似锦| 儒艮为什么叫美人鱼| 什么的小院| 诗韵是什么意思| 奕字属于五行属什么| 特点是什么意思| 苏州古代叫什么| 什么是动物奶油| 刮目相看是什么意思| 精索静脉曲张是什么意思| 蛇盘疮吃什么药好得快| 农业户口和居民户口有什么区别| 不走寻常路是什么品牌| 大便失禁吃什么药| tax是什么意思| mv是什么意思| 浑身酸痛什么原因| 西游记是什么时候写的| 什么叫体位性低血压| 不care是什么意思| 柔顺剂有什么用| 省纪委副书记是什么级别| nec投影仪是什么牌子| 什么动物没有心脏| 吃什么解酒快| catl是什么意思| 治脚气用什么药| 北方五行属什么| 什么是半衰期| 把握时机是指什么生肖| 内热是什么原因引起的怎么调理| 丑是什么意思| 吃瓜子有什么好处| 脂肪肝不能吃什么| 泡沫尿吃什么药| 心不在焉是什么意思| 1月21号是什么星座| 蓝帽子标志是什么意思| 洋葱吃了有什么好处| 女性尿浑浊是什么原因| 腹部痛是什么原因| 水瓶座女生和什么星座男生最配| 图字五行属什么| 回族不吃什么| medium什么意思| 男人地盘是什么生肖| 心肾不交有什么症状| 来曲唑片是什么药| 避孕药吃了有什么副作用| 狗可以吃什么| 颈椎病用什么药膏| 比熊吃什么牌子狗粮好| 胃肠外科是看什么病的| 沙棘对肝脏有什么好处| 什么算熬夜| ins是什么| 1952年属什么| 消防支队长是什么级别| 广肚是什么| 小妮子什么意思| 风疹是什么原因引起的| 来例假能吃什么水果| 天壤之别是什么意思| 什么是表达方式| 容颜是什么意思| 什么是活检| 怀孕建卡需要什么材料| 看望病人买什么东西好| 气血不足吃什么比较好| 嫦娥住的宫殿叫什么| EPS什么意思| 乳腺瘤是什么引起的| 花生死苗烂根用什么药| 蒲地蓝消炎片治什么病| 世态炎凉是什么意思| 化骨龙是什么意思| 山药煲汤搭配什么好| 小猫的特点是什么| 出生证明有什么用| 猕猴桃是什么季节的水果| 鸡头上长痘痘用什么药| 法本是什么意思| 沙茶酱是什么做的| 为什么一同房就有炎症| 为什么老是恶心想吐| 牙根疼吃什么药最好| 什么叫双飞| 金骏眉茶是什么茶| 任正非用的什么手机| 为什么会经常口腔溃疡| 洗衣机什么牌子最好| 4.24是什么星座| 前列腺特异性抗原是什么意思| 肾上腺素高会导致什么| 脾不好有什么症状| 紫笋茶属于什么茶| 头发黄是什么原因| 西铁城手表属于什么档次| 郡主是什么身份| 9月24号是什么星座| 茵陈有什么功效| 血压偏低是什么原因造成的| 厚颜无耻是什么生肖| 抗炎和消炎有什么区别| 长方形纸可以折什么| 四联用药是些什么药| 女人做春梦预示着什么| 吸烟有害健康为什么国家还生产烟| 生姜什么时候吃最好| 小代表什么生肖| 左什么右什么| 六月二十三号是什么星座| 什么叫青光眼| 心脏是由什么组织构成的| 日前是什么意思| 左眼皮上有痣代表什么| smt什么意思| 什么是老年斑图片| 造化是什么意思| 2000年出生属什么| 脚上真菌感染用什么药| 急性尿路感染吃什么药| 瘊子是什么| 嗜血是什么意思| 阳寿是什么意思| 早期肠癌有什么症状| 右眼皮跳代表什么| 岑字五行属什么| 2013年五行属什么| 阳性血是什么意思| 甲流吃什么药效果最好| 市长什么级别| 月经期间吃西瓜有什么影响| 诺欣妥是什么药| 寄生是什么意思| 牟作为姓氏时读什么| 种什么药材最快又值钱| 不痛经说明什么| 无菌敷贴是干什么用的| 流口水是什么原因引起的| 多吃西红柿有什么好处| 血热吃什么| 两个方一个土是什么字| 更年期出汗吃什么药| 白细胞高是什么问题| 消化道出血吃什么药| 尿特别多是什么原因| 藕是莲的什么部位| 皮试是什么意思| 刺梨是什么水果| 什么千里| 虾米吃什么| 慢性胆囊炎吃什么药| 什么是富贵包| 鸡胗是什么| ccs医学是什么意思| 蜂蜡是什么| 缠腰龙是什么病| 舌头有问题应该挂什么科| 左下腹疼痛挂什么科| 吹水是什么意思| 四维彩超是检查什么| 柿子与什么食物相克| 萎缩性胃炎伴糜烂吃什么药| 佳木斯二院全名叫什么| 钙片吃多了有什么副作用| 紫笋茶属于什么茶| 折什么时候读she| 攻读学位填什么| 肌肉痛是什么原因| lca是什么意思| 晚五行属什么| 肛瘘挂什么科| 女人脸黄是什么原因该怎么调理| rv是什么品牌| 生姜什么时候种植最合适| 雨落心尘是什么意思| 梦见吃酒席是什么预兆| 什么是副乳| 血压低压低是什么原因| 六月出生的是什么星座| 手足口是什么| 百合有什么作用| 水泡型脚气用什么药好| 病人说胡话是什么征兆| 什么样的阳光填形容词| 霸王别姬是什么生肖| 文房四宝是什么| 日常是什么意思| 嘴唇开裂是什么原因| 生日蛋糕上写什么字比较有创意| 为什么会肚子痛| 天秤座属于什么星象| 生生不息是什么意思| 说话鼻音重是什么原因| 阴茎溃疡用什么药| 小虾吃什么| 尿多吃什么药| 幼儿腹泻吃什么食物| 缺钾是什么原因引起的| 大水冲了龙王庙什么意思| 地球上什么东西每天要走的距离最远| 人为什么要吃饭| 自传是什么意思| 欢五行属什么| 狡兔三窟是什么意思| 什么样的人容易垂体瘤| ph值偏高是什么意思| 什么是生化| 艾条什么牌子好用| 尿蛋白阳性是什么意思| 好运连连是什么意思| 两肺纹理增粗是什么意思| 肠阻塞有什么症状| 耳膜穿孔吃什么长得快| navy是什么颜色| 尿酸高可以吃什么肉| 什么草药能治肿瘤| 肾衰竭是什么意思| 片状低回声区什么意思| 梳子断了有什么预兆| 酸野是什么| 石膏是什么| 郑州有什么好吃的| 你算什么东西| 百度Jump to content

大IP玩电影 愤怒的小鸟成为儿童节的必看电影

From Wikipedia, the free encyclopedia
百度 区2017年度的GDP总值为亿元,位列第三名。

Natural language programming (NLP) is an ontology-assisted way of programming in terms of natural language sentences, e.g. English.[1] A structured document with Content, sections and subsections for explanations of sentences forms a NLP document, which is actually a computer program. Natural language programming is not to be mixed up with natural language interfacing or voice control where a program is first written and then communicated with through natural language using an interface added on. In NLP the functionality of a program is organised only for the definition of the meaning of sentences. For instance, NLP can be used to represent all the knowledge of an autonomous robot. Having done so, its tasks can be scripted by its users so that the robot can execute them autonomously while keeping to prescribed rules of behaviour as determined by the robot's user. Such robots are called transparent robots [2] as their reasoning is transparent to users and this develops trust in robots. Natural language use and natural language user interfaces include Inform 7, a natural programming language for making interactive fiction, Shakespeare, an esoteric natural programming language in the style of the plays of William Shakespeare, and Wolfram Alpha, a computational knowledge engine, using natural-language input.[citation needed] Some methods for program synthesis are based on natural-language programming.[3]

Interpretation

[edit]

The smallest unit of statement in NLP is a sentence. Each sentence is stated in terms of concepts from the underlying ontology, attributes in that ontology and named objects in capital letters. In an NLP text every sentence unambiguously compiles into a procedure call in the underlying high-level programming language such as MATLAB, Octave, SciLab, Python, etc.

Symbolic languages such as Wolfram Language are capable of interpreted processing of queries by sentences. This can allow interactive requests such as that implemented in Wolfram Alpha.[4][5] The difference between these and NLP is that the latter builds up a single program or a library of routines that are programmed through natural language sentences using an ontology that defines the available data structures in a high level programming language.

An example text from an English language natural language program is as follows:

If U_ is 'smc01-control', then do the following. Define surface weights Alpha as "[0.5, 0.5]". Initialise matrix Phi as a 'unit matrix'. Define J as the 'inertia matrix' of Spc01. Compute matrix J2 as the inverse of J. Compute position velocity error Ve and angular velocity error Oe from dynamical state X, guidance reference Xnow. Define the joint sliding surface G2 from the position velocity error Ve and angular velocity error Oe using the surface weights Alpha. Compute the smoothed sign function SG2 from the joint sliding surface G2 with sign threshold 0.01. Compute special dynamical force F from dynamical state X and surface weights Alpha. Compute control torque T and control force U from matrix J2, surface weights Alpha, special dynamical force F, smoothed sign function SG2. Finish conditional actions.

that defines a feedback control scheme using a sliding mode control method.

Software paradigm

[edit]

Natural-language programming is a top-down method of writing software. Its stages are as follows:

  • Definition of an ontology – taxonomy – of concepts needed to describe tasks in the topic addressed. Each concept and all their attributes are defined in natural-language words. This ontology will define the data structures the NLP can use in sentences.
  • Definition of one or more top-level sentences in terms of concepts from the ontology. These sentences are later used to invoke the most important activities in the topic.
  • Defining of each of the top-level sentences in terms of a sequence of sentences.
  • Defining each of the lower-level sentences in terms of other sentences or by a simple sentence of the form Execute code "...". where ... stands for a code in terms of the associated high-level programming language.
  • Repeating the previous step until you have no sentences left undefined. During this process each of sentences can be classified to belong to a section of the document to be produced in HTML or Latex format to form the final natural-language program.
  • Testing the meaning of each sentence by executing its code using testing objects.
  • Providing a library of procedure calls (in the underlying high-level language) which are needed in the code definitions of some low-level-sentence meanings.
  • Providing a title, author data and compiling the sentences into an HTML or LaTeX file.
  • Publishing the natural-language program as a webpage on the Internet or as a PDF file compiled from the LaTeX document.

Publication value of natural-language programs and documents

[edit]

A natural-language program is a precise formal description of some procedure that its author created. It is human readable and it can also be read by a suitable software agent. For example, a web page in an NLP format can be read by a software personal assistant agent to a person and she or he can ask the agent to execute some sentences, i.e. carry out some task or answer a question. There is a reader agent available for English interpretation of HTML based NLP documents that a person can run on her personal computer .

Contribution of natural-language programs to machine knowledge

[edit]

An ontology class is a natural-language program that is not a concept in the sense as humans use concepts. Concepts in an NLP are examples (samples) of generic human concepts. Each sentence in a natural-language program is either (1) stating a relationship in a world model or (2) carries out an action in the environment or (3) carries out a computational procedure or (4) invokes an answering mechanism in response to a question.

A set of NLP sentences, with associated ontology defined, can also be used as a pseudo code that does not provide the details in any underlying high level programming language. In such an application the sentences used become high level abstractions (conceptualisations) of computing procedures that are computer language and machine independent.

AI in natural language programming

[edit]

Researchers have started to experiment with natural language programming environments that use plain language prompts and then use AI (specifically large language models) to turn natural language into formal code. For example Spatial Pixel created a natural language programming environment to turn natural language into P5.js code through OpenAI's API. In 2021 OpenAI developed a natural language programming environment for their programming large language model called Codex.

See also

[edit]

Programming languages with English-like syntax

[edit]

Programming languages with other natural language-like vocabulary or syntax

[edit]

References

[edit]
  1. ^ Miller, L. A. (1981). "Natural language programming: Styles, strategies, and contrasts". IBM Systems Journal. 20 (2): 184–215. doi:10.1147/sj.202.0184.
  2. ^ Development of reliable and trustworthy robots. "transparent robots" }
  3. ^ Desai, Aditya, et al. "Program synthesis using natural language." Proceedings of the 38th International Conference on Software Engineering. ACM, 2016.
  4. ^ Wolfram Alpha – how it works (part 2) Computer Weekly, 4 June 2009
  5. ^ Wolfram Alpha computes answers Tech Crunch, 8 March 2009

Bibliography

[edit]
Books
Papers at conferences
  • Veres, S.M.; Molnar, L. (2010). "Documents for Intelligent Agents in English". Artificial Intelligence and Applications. doi:10.2316/p.2010.674-122. ISBN 978-0-88986-817-5.
  • Sliding mode control of autonomous spacecraft. (half written in sEnglish) by S M Veres an N K Lincoln, Proc. TAROS’2008, Towards Autonomous Robotic Systems, Edinburgh, 1–3 September 2008.
  • Veres, Sandor M. (2010). "Mission Capable Autonomous Control Systems in the Oceans, in the Air and in Space". Brain-Inspired Information Technology. Studies in Computational Intelligence. Vol. 266. pp. 1–10. doi:10.1007/978-3-642-04025-2_1. ISBN 978-3-642-04024-5.
  • Pulido-Prieto, Oscar; Juárez-Martínez, Ulises (2017). "A Survey of Naturalistic Programming Technologies". ACM Computing Surveys. 50 (5): 1–35. doi:10.1145/3109481. S2CID 2078759.
Program synthesis from natural language specifications
[edit]
风湿吃什么药 脑梗是什么引起的 肾上腺增生是什么意思 陶渊明是什么派诗人 中年人手抖是什么原因
水淀粉是什么粉 什么生肖不认识路 艾拉是什么药 心悸是什么意思啊 失眠用什么药好
直言不讳是什么意思 做春梦是什么原因 跟腱炎贴什么膏药最好 dwi呈高信号什么意思 南京区委书记什么级别
滑膜疝是一种什么病 什么叫磁场 人参片泡水喝有什么功效和作用 宿便是什么颜色 胎心停了是什么原因引起的
孩子铅高有什么症状hcv9jop1ns4r.cn 智力是什么意思cl108k.com 养阴生津是什么意思hcv9jop7ns5r.cn hib疫苗是什么意思hcv8jop5ns8r.cn nba季后赛什么时候开始hcv8jop8ns7r.cn
吃什么化痰hcv9jop2ns7r.cn lotus是什么意思hcv9jop1ns5r.cn 一喝水就尿多是什么原因helloaicloud.com 胎盘可以治什么病naasee.com 右加一笔是什么字hcv7jop6ns8r.cn
麻油跟香油什么区别hcv9jop1ns0r.cn 满血复活是什么意思hcv9jop1ns2r.cn 牙齿黑是什么原因hcv9jop1ns8r.cn 孕妇吃什么容易滑胎hcv9jop8ns1r.cn 樵夫是什么生肖beikeqingting.com
谋划是什么意思hcv9jop2ns0r.cn 为什么要分手sanhestory.com 9月16号是什么星座hcv9jop4ns1r.cn 饿死是什么感觉hcv9jop1ns0r.cn 嘿嘿嘿是什么意思hcv7jop7ns4r.cn
百度