哭有什么好处| 黄帝姓什么| 什么病误诊为帕金森| 什么鱼适合做酸菜鱼| 再生纤维是什么面料| 珍珠五行属什么| 记忆力差吃什么药| 七宗罪是什么| ti是什么意思| 胃子老是胀气是什么原因| 阴间到底是什么| 猫砂是干什么用的| 吃石斛有什么功效| ceo是什么意思| 闰六月给父母买什么| 喝冰美式有什么好处| 便秘用什么| 低压低是什么原因| 煸是什么意思| 利涉大川是什么意思| 体重下降是什么原因| 鼎是干什么用的| 寻的部首是什么| 一个虫一个圣念什么| 犬字旁的字和什么有关| 烂尾是什么意思| trust是什么意思| 什么长而什么| 喉结下面是什么部位| 肺炎吃什么药好得快| 马云是什么大学毕业的| 木耳菜是什么菜| 疣吃什么药能治好| 珑骧包属于什么档次| 刚愎自负是什么意思| 什么方法可以降血压| 迅雷不及掩耳之势是什么意思| 腱鞘炎是什么引起的| 胎儿偏小是什么原因| 痔疮用什么药好| 什么动物不睡觉| 广州番禺有什么好玩的地方| 黄体期是什么时候| 甲子日是什么意思| 一什么清风| 静脉曲张做什么检查| 小儿风寒感冒吃什么药最好| 阴茎皮开裂是什么原因| 60年属鼠是什么命| 一暴十寒什么意思| 人生最重要的是什么| 白龙马叫什么| 怀孕一个月什么症状| 痔疮什么情况下需要做手术| 娇小是什么意思| 比重是什么| 一直打哈欠是什么原因| 胆酷醇高有什么危害| 急支糖浆是什么梗| 死马当活马医是什么意思| 朱砂红是什么颜色| 为什么老是想吐| 阴虚火旺吃什么中成药| 器质性心脏病是什么意思| 一见倾心什么意思| 宫颈纳囊用什么药治疗效果好| o和b型生的孩子是什么血型| 身份是什么意思| 肺慢阻是什么情况| 雨字五行属什么| 症瘕病是什么病| 女性尿特别黄是什么原因| 醪糟是什么| 柱镜度数是什么意思| 阴虚阳亢吃什么中成药| 命好的人都有什么特征| 菊花是什么季节开的| 什么叫ins风格| 1991是什么年| notice是什么意思| 不寐病属于什么病症| 阑尾炎输液输什么药| 蜂蜜吃有什么好处| 磨牙齿是什么原因| 嗓子有异物感吃什么药| 倒挂金钩什么意思| 五经指什么| 7.12是什么星座| 双身什么意思| 果丹皮是用什么做的| 1973属什么生肖| 血栓是什么病| 半斤八两什么意思| lg是什么| 小孩说话不清楚挂什么科| 白内障什么原因造成的| 黄瓜可以和什么一起榨汁| 女性什么时候最容易怀孕| 颈动脉b超是检查什么| 扫墓是什么意思| 湿疹是什么症状| 卷帘大将是干什么的| 农历五月初五是什么节| 荨麻疹忌口忌什么食物| 肝肿瘤不能吃什么| 吃什么食物最补血| 男方派去接亲要说什么| 什么是智齿| 10月30号是什么星座| 胆囊炎可以吃什么| 怀孕为什么不能吃韭菜| 吃什么食物对头发好| 吃什么避孕药可以推迟月经| 放的屁很臭是什么原因| 牛肉配什么菜好吃| 一什么绿毯| 什么叫弱视| 恶对什么| 开封有什么好玩的地方| 一直呕吐是什么原因| 九月初八是什么星座| 肺部条索灶是什么意思| 艮是什么意思| 手指麻木什么原因| 你为什么背着我爱别人| 月经一个月来两次什么原因| 乳痈是什么意思| 叶酸是什么维生素| 甲流乙流吃什么药| 心跳快是什么原因| 迷津是什么意思| 尿囊素是什么| 运动系统由什么组成| 双鱼女和什么星座最配| 孕妇喉咙痛吃什么好得最快| 知行合一什么意思| 什么叫腺肌瘤| 梅毒阳性是什么意思| 咽喉疼痛吃什么药好| 绞股蓝和什么搭配喝减肥| 自媒体是什么| 牛逼是什么| 过路车是什么意思| 九二共识是什么| 本垒打是什么意思| 南五行属什么| 黄什么| 应急车道是什么意思| 副词是什么意思| 兵马俑在什么地方| 二氧化钛是什么东西| 59岁生日有什么讲究| 老气横秋是什么意思| 猥琐男是什么意思| 癞子是什么意思| 男人勃不起是什么原因造成的| 无名指麻木是什么原因| 淋巴结炎挂什么科| 左金丸治什么病最好| 什么米最贵| 女性得疱疹是什么症状| 什么是跳蛋| 侧面是什么意思| 排骨炖什么好吃又有营养| 天蝎男喜欢什么样的女生| exm是什么意思| 9月初是什么星座| 甲状腺结节不能吃什么| 左边头疼是什么原因怎么办| bmi是什么意思啊| 肝病有什么反应| tct是什么意思| 喂母乳不能吃什么| 眼震是什么症状| 大便不成形用什么药| 聚餐吃什么| 大腿肌肉跳动是什么原因| 老人经常头晕是什么原因引起的| 什么的叹气| 小乌龟吃什么食物| 孩子肚子疼吃什么药| 熬夜有什么危害| 精液什么颜色正常| 脚脱皮是什么原因| 方阵是什么意思| 为什么会长斑| 脸热发红是什么原因| cock什么意思| 失足妇女是什么意思| 月亮的肚子指的是什么| 什么叫盗汗| 热射病是什么原因引起的| 梦到活人死了是什么预兆| 三点水加个真念什么| 6月2日什么星座| 换手率高说明什么| 脚上长水泡是什么原因引起的| 64岁属什么生肖| 什么时候艾灸最好| 力挽狂澜什么意思| 不典型增生是什么意思| 什么饼不能吃脑筋急转弯| 我俩太不公平这是什么歌| 为什么长火疖子| 想吃辣是身体缺乏什么| 村支书是什么级别| 生二胎应该注意什么| 身体动不动就出汗是什么原因| 丙肝吃什么药效果好| 南方的粽子一般是什么口味| 含羞草能治什么病| 脚趾麻是什么病的前兆| 灯红酒绿是什么意思| 轻如鸿毛是什么意思| 准备的近义词是什么| 梦见红枣树上结满红枣代表什么| 海带不能和什么一起吃| 国家发改委主任什么级别| 龟头炎用什么| 吃什么能让月经快点来| 益生菌什么牌子好| 万言万当不如一默是什么意思| 出生医学证明有什么用| 89年蛇是什么命| 朱砂痣是什么| 脸上长痘痘去医院挂什么科| 酒精和碘伏有什么区别| 推迟月经用什么药| 华人是什么意思| 1933年属什么| 支气管舒张试验阳性说明什么| 猪沙肝是什么部位| 寄什么快递最便宜| 红色裤子搭配什么颜色上衣| 1980年五行属什么| 肌酐为什么会升高| 四季不安痣是什么意思| 早醒是什么原因造成的| 砍单是什么意思| 西米是什么字| 舌头发黄是什么病| 梦见乌龟是什么意思| 霉菌阳性是什么意思| 蟾蜍是什么| 金牛男喜欢什么类型的女生| 拉肚子恶心想吐吃什么药| 下肢水肿吃什么药| 身体肿是什么原因引起的| 什么原因引起耳石症| 牙齿脱矿是什么原因| sla是什么意思| 三聚净戒是指什么戒| 中药包煎是什么意思| 吃惊的什么| 咳咳是什么意思| 翡翠属于什么玉| 胆囊切除有什么后遗症| 跳票什么意思| 手脚发热吃什么药| 甘油三酯代表什么| 小朋友喜欢玩什么| 1979年属什么生肖| 什么是红肉| 月经一直不干净吃什么药| 百度

浙丽·莲都自驾:当环保艳遇纯净发现最美江南

百度 “听”“视”频道推出一系列重量级的音视频栏目;“帮”频道增加调查、投票等功能,您只需奉献一“点”爱心,就能汇聚成公益洪流。

Attempto Controlled English (ACE) is a controlled natural language, i.e. a subset of standard English with a restricted syntax and restricted semantics described by a small set of construction and interpretation rules.[1] It has been under development at the University of Zurich since 1995. In 2013, ACE version 6.7 was announced.[2]

ACE can serve as knowledge representation, specification, and query language, and is intended for professionals who want to use formal notations and formal methods, but may not be familiar with them. Though ACE appears perfectly natural—it can be read and understood by any speaker of English—it is in fact a formal language.[1]

ACE and its related tools have been used in the fields of software specifications, theorem proving, proof assistants, text summaries, ontologies, rules, querying, medical documentation and planning.

Here are some simple examples:

  1. Every woman is a human.
  2. A woman is a human.
  3. A man tries-on a new tie. If the tie pleases his wife then the man buys it.

ACE construction rules require that each noun be introduced by a determiner (a, every, no, some, at least 5, ...). Regarding the list of examples above, ACE interpretation rules decide that (1) is interpreted as universally quantified, while (2) is interpreted as existentially quantified. Sentences like "Women are human" do not follow ACE syntax and are consequently not valid.

Interpretation rules resolve the anaphoric references in (3): the tie and it of the second sentence refer to a new tie of the first sentence, while his and the man of the second sentence refer to a man of the first sentence. Thus an ACE text is a coherent entity of anaphorically linked sentences.

The Attempto Parsing Engine (APE) translates ACE texts unambiguously into discourse representation structures (DRS) that use a variant of the language of first-order logic.[3] A DRS can be further translated into other formal languages, for instance AceRules with various semantics,[4] OWL,[5] and SWRL. Translating an ACE text into (a fragment of) first-order logic allows users to reason about the text, for instance to verify, to validate, and to query it.

Overview

edit

As an overview of the current version 6.6 of ACE this section:

  • Briefly describes the vocabulary
  • Gives an account of the syntax
  • Summarises the handling of ambiguity
  • Explains the processing of anaphoric references.

Vocabulary

edit

The vocabulary of ACE comprises:

  • Predefined function words (e.g. determiners, conjunctions)
  • Predefined phrases (e.g. "it is false that ...", "it is possible that ...")
  • Content words (e.g. nouns, verbs, adjectives, adverbs).

Grammar

edit

The grammar of ACE defines and constrains the form and the meaning of ACE sentences and texts. ACE's grammar is expressed as a set of construction rules. The meaning of sentences is described as a small set of interpretation rules. A Troubleshooting Guide describes how to use ACE and how to avoid pitfalls.

ACE texts

edit

An ACE text is a sequence of declarative sentences that can be anaphorically interrelated. Furthermore, ACE supports questions and commands.

Simple sentences

edit

A simple sentence asserts that something is the case—a fact, an event, a state.

The temperature is ?2 °C.
A customer inserts 2 cards.
A card and a code are valid.

Simple ACE sentences have the following general structure:

subject + verb + complements + adjuncts

Every sentence has a subject and a verb. Complements (direct and indirect objects) are necessary for transitive verbs (insert something) and ditransitive verbs (give something to somebody), whereas adjuncts (adverbs, prepositional phrases) are optional.

All elements of a simple sentence can be elaborated upon to describe the situation in more detail. To further specify the nouns customer and card, we could add adjectives:

A trusted customer inserts two valid cards.

possessive nouns and of-prepositional phrases:

John's customer inserts a card of Mary.

or variables as appositions:

John inserts a card A.

Other modifications of nouns are possible through relative sentences:

A customer who is trusted inserts a card that he owns.

which are described below since they make a sentence composite. We can also detail the insertion event, e.g. by adding an adverb:

A customer inserts some cards manually.

or, equivalently:

A customer manually inserts some cards.

or, by adding prepositional phrases:

A customer inserts some cards into a slot.

We can combine all of these elaborations to arrive at:

John's customer who is trusted inserts a valid card of Mary manually into a slot A.

Composite sentences

edit

Composite sentences are recursively built from simpler sentences through coordination, subordination, quantification, and negation. Note that ACE composite sentences overlap with what linguists call compound sentences and complex sentences.

Coordination
edit

Coordination by and is possible between sentences and between phrases of the same syntactic type.

A customer inserts a card and the machine checks the code.
There is a customer who inserts a card and who enters a code.
A customer inserts a card and enters a code.
An old and trusted customer enters a card and a code.

Note that the coordination of the noun phrases a card and a code represents a plural object.

Coordination by or is possible between sentences, verb phrases, and relative clauses.

A customer inserts a card or the machine checks the code.
A customer inserts a card or enters a code.
A customer owns a card that is invalid or that is damaged.

Coordination by and and or is governed by the standard binding order of logic, i.e. and binds stronger than or. Commas can be used to override the standard binding order. Thus the sentence:

A customer inserts a VisaCard or inserts a MasterCard, and inserts a code.

means that the customer inserts a VisaCard and a code, or alternatively a MasterCard and a code.

Subordination
edit

There are four constructs of subordination: relative sentences, if-then sentences, modality, and sentence subordination.

Relative sentences starting with who, which, and that allow to add detail to nouns:

A customer who is trusted inserts a card that he owns.

With the help of if-then sentences we can specify conditional or hypothetical situations:

If a card is valid then a customer inserts it.

Note the anaphoric reference via the pronoun it in the then-part to the noun phrase a card in the if-part.

Modality allows us to express possibility and necessity:

A trusted customer can/must insert a card.
It is possible/necessary that a trusted customer inserts a card.

Sentence subordination comes in various forms:

It is true/false that a customer inserts a card.
It is not provable that a customer inserts a card.
A clerk believes that a customer inserts a card.
Quantification
edit

Quantification allows us to speak about all objects of a certain class (universal quantification), or to denote explicitly the existence of at least one object of this class (existential quantification). The textual occurrence of a universal or existential quantifier opens its scope that extends to the end of the sentence, or in coordinations to the end of the respective coordinated sentence.

To express that all involved customers insert cards we can write

Every customer inserts a card.

This sentence means that each customer inserts a card that may, or may not, be the same as the one inserted by another customer. To specify that all customers insert the same card—however unrealistic that situation seems—we can write:

A card is inserted by every customer.

or, equivalently:

There is a card that every customer inserts.

To state that every card is inserted by a customer we write:

Every card is inserted by a customer.

or, somewhat indirectly:

For every card there is a customer who inserts it.
Negation
edit

Negation allows us to express that something is not the case:

A customer does not insert a card.
A card is not valid.

To negate something for all objects of a certain class one uses no:

No customer inserts more than 2 cards.

or, there is no:

There is no customer who inserts a card.

To negate a complete statement one uses sentence negation:

It is false that a customer inserts a card.

These forms of negation are logical negations, i.e. they state that something is provably not the case. Negation as failure states that a state of affairs cannot be proved, i.e. there is no information whether the state of affairs is the case or not.

It is not provable that a customer inserts a card.

Queries

edit

ACE supports two forms of queries: yes/no-queries and wh-queries.

Yes/no-queries ask for the existence or non-existence of a specified situation. If we specified:

A customer inserts a card.

then we can ask:

Does a customer insert a card?

to get a positive answer. Note that interrogative sentences always end with a question mark.

With the help of wh-queries, i.e. queries with query words, we can interrogate a text for details of the specified situation. If we specified:

A trusted customer inserts a valid card manually in the morning in a bank.

we can ask for each element of the sentence with the exception of the verb.

Who inserts a card?
Which customer inserts a card?
What does a customer insert?
How does a customer insert a card?
When does a customer enter a card?
Where does a customer enter a card?

Queries can also be constructed by a sequence of declarative sentences followed by one interrogative sentence, for example:

There is a customer and there is a card that the customer enters. Does a customer enter a card?

Commands

edit

ACE also supports commands. Some examples:

John, go to the bank!
John and Mary, wait!
Every dog, bark!
A brother of John, give a book to Mary!

A command always consists of a noun phrase (the addressee), followed by a comma, followed by an uncoordinated verb phrase. Furthermore, a command has to end with an exclamation mark.

Constraining ambiguity

edit

To constrain the ambiguity of full natural language ACE employs three simple means:

  • Some ambiguous constructs are not part of the language; unambiguous alternatives are available in their place.
  • All remaining ambiguous constructs are interpreted deterministically on the basis of a small number of interpretation rules.
  • Users can either accept the assigned interpretation, or they must rephrase the input to obtain another one.

Avoidance of ambiguity

edit

In natural language, relative sentences combined with coordinations can introduce ambiguity:

A customer inserts a card that is valid and opens an account.

In ACE the sentence has the unequivocal meaning that the customer opens an account, as reflected by the paraphrase:

A card is valid. A customer inserts the card. The customer opens an account.

To express the alternative—though not very realistic—meaning that the card opens an account, the relative pronoun that must be repeated, thus yielding a coordination of relative sentences:

A customer inserts a card that is valid and that opens an account.

This sentence is unambiguously equivalent in meaning to the paraphrase:

A card is valid. The card opens an account. A customer inserts the card.

Interpretation rules

edit

Not all ambiguities can be safely removed from ACE without rendering it artificial. To deterministically interpret otherwise syntactically correct ACE sentences we use a small set of interpretation rules. For example, if we write:

A customer inserts a card with a code.

then with a code attaches to the verb inserts, but not to a card. However, this is probably not what we meant to say. To express that the code is associated with the card we can employ the interpretation rule that a relative sentence always modifies the immediately preceding noun phrase, and rephrase the input as:

A customer inserts a card that carries a code.

yielding the paraphrase:

A card carries a code. A customer inserts the card.

or—to specify that the customer inserts a card and a code—as:

A customer inserts a card and a code.

Anaphoric references

edit

Usually ACE texts consist of more than one sentence:

A customer enters a card and a code. If a code is valid then SimpleMat accepts a card.

To express that all occurrences of card and code should mean the same card and the same code, ACE provides anaphoric references via the definite article:

A customer enters a card and a code. If the code is valid then SimpleMat accepts the card.

During the processing of the ACE text, all anaphoric references are replaced by the most recent and most specific accessible noun phrase that agrees in gender and number. As an example of "most recent and most specific", suppose an ACE parser is given the sentence:

A customer enters a red card and a blue card.

Then:

The card is correct.

refers to the second card, while:

The red card is correct.

refers to the first card.

Noun phrases within if-then sentences, universally quantified sentences, negations, modality, and subordinated sentences cannot be referred to anaphorically from subsequent sentences, i.e. such noun phrases are not "accessible" from the following text. Thus for each of the sentences:

If a customer owns a card then he enters it.
Every customer enters a card.
A customer does not enter a card.
A customer can enter a card.
A clerk believes that a customer enters a card.

we cannot refer to a card with:

The card is correct.

Anaphoric references are also possible via personal pronouns:

A customer enters a card and a code. If it is valid then SimpleMat accepts the card.

or via variables:

A customer enters a card X and a code Y. If Y is valid then SimpleMat accepts X.

Anaphoric references via definite articles and variables can be combined:

A customer enters a card X and a code Y. If the code Y is valid then SimpleMat accepts the card X.

Note that proper names like SimpleMat always refer to the same object.

See also

edit

References

edit
  1. ^ a b Norbert E. Fuchs; Kaarel Kaljurand; Gerold Schneider (2006). "Attempto Controlled English Meets the Challenges of Knowledge Representation, Reasoning, Interoperability and User Interfaces" (PDF). FLAIRS 2006.
  2. ^ "Attempto News".
  3. ^ Norbert E. Fuchs; Kaarel Kaljurand; Tobias Kuhn (2010). "Discourse Representation Structures for ACE 6.6" (PDF). Technical Report ifi-2010.0010, Department of Informatics, University of Zurich.
  4. ^ Tobias Kuhn (2007). "AceRules: Executing Rules in Controlled Natural Language" (PDF). First International Conference on Web Reasoning and Rule Systems (RR 2007).
  5. ^ Kaarel Kaljurand; Norbert E. Fuchs (2007). "Verbalizing OWL in Attempto Controlled English" (PDF). OWL: Experiences and Directions (OWLED 2007).
edit
早上出虚汗是什么原因 头疼呕吐吃什么药 突然想吐是什么原因 干是什么意思 心脑血管挂什么科
冷暖自知的前一句是什么 头晃动是什么病的前兆 老人家头晕是什么原因 小孩鼻子出血什么原因 梦见好多狗是什么预兆
蚂蚁喜欢吃什么 cd代表什么意思 无厘头是什么意思 赵本山什么时候死的 五月三十一号是什么星座
南非叶有什么功效 med是什么意思 维生素c十一什么意思 大方得体是什么意思 气管疼什么原因引起的
肺ca是什么病hcv8jop5ns7r.cn 咳嗽能吃什么水果hcv9jop0ns7r.cn cp是什么hanqikai.com 一级医院是什么医院hcv7jop9ns6r.cn 白眼球发黄是什么原因hcv9jop2ns1r.cn
橱窗是什么意思hcv8jop8ns8r.cn 护理是什么意思hcv9jop4ns4r.cn 三点水加盆读什么xjhesheng.com 珩字五行属什么hcv9jop4ns2r.cn 3.8什么星座hcv9jop7ns3r.cn
吃什么补气血wzqsfys.com 子宫附件包括什么bjcbxg.com 香蕉人是什么意思hcv9jop4ns2r.cn 利郎男装是什么档次的hcv8jop2ns1r.cn 彩金和黄金有什么区别1949doufunao.com
梦见蜈蚣是什么预兆hcv7jop5ns0r.cn 为什么门牙突然有缝了hcv8jop1ns7r.cn 小腿浮肿是什么原因女性hcv8jop4ns0r.cn 下巴底下长痘痘是什么原因hcv9jop2ns5r.cn 夏天吃什么养生baiqunet.com
百度