1
0
Fork 0
mirror of https://github.com/ganelson/inform.git synced 2024-07-08 18:14:21 +03:00
inform7/docs/linguistics-module/4-aoc.html
2019-04-22 15:42:10 +01:00

94 lines
4.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>4/prp</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Language" content="en-gb">
<link href="inweb.css" rel="stylesheet" rev="stylesheet" type="text/css">
</head>
<body>
<!--Weave of '4/aoc' generated by 7-->
<ul class="crumbs"><li><a href="../webs.html">&#9733;</a></li><li><a href="index.html">linguistics</a></li><li><a href="index.html#4">Chapter 4: Grammatical Categories II</a></li><li><b>Adverbs of Certainty</b></li></ul><p class="purpose">To represent levels of certainty.</p>
<ul class="toc"><li><a href="#SP1">&#167;1. Scale of certainties</a></li></ul><hr class="tocbar">
<p class="inwebparagraph"><a id="SP1"></a><b>&#167;1. Scale of certainties. </b>Inform uses the following scale to measure how certain it is that something
is true:
</p>
<pre class="definitions">
<span class="definitionkeyword">define</span> <span class="constant">IMPOSSIBLE_CE</span><span class="plain"> -2</span>
<span class="definitionkeyword">define</span> <span class="constant">UNLIKELY_CE</span><span class="plain"> -1</span>
<span class="definitionkeyword">define</span> <span class="constant">UNKNOWN_CE</span><span class="plain"> 0</span>
<span class="definitionkeyword">define</span> <span class="constant">LIKELY_CE</span><span class="plain"> 1</span>
<span class="definitionkeyword">define</span> <span class="constant">CERTAIN_CE</span><span class="plain"> 2</span>
</pre>
<p class="inwebparagraph"><a id="SP2"></a><b>&#167;2. </b>A special certainty level is used for a temporal sense of certainty:
</p>
<pre class="definitions">
<span class="definitionkeyword">define</span> <span class="constant">INITIALLY_CE</span><span class="plain"> 3</span>
</pre>
<p class="inwebparagraph"><a id="SP3"></a><b>&#167;3. </b>Certainty adverbs are found mainly in regular sentences:
</p>
<blockquote>
<p>A door is usually open.</p>
</blockquote>
<p class="inwebparagraph">They are syntactically legal in existential sentences too, though in
English this usually expresses emphasis rather than a measure of
probability: consider "there certainly are men in the room". Inform allows
this, in any case.
</p>
<p class="inwebparagraph">Note that no adverb corresponds to the <code class="display"><span class="extract">UNKNOWN_CE</span></code> certainty level, which
expresses no information.
</p>
<p class="inwebparagraph">The use of certainty adverbs is a point of difference between Inform's two
grammars. In assertions one can write
</p>
<blockquote>
<p>A box is usually closed. [1]</p>
</blockquote>
<p class="inwebparagraph">but in conditions one can't write
</p>
<blockquote>
<p>if a box is usually closed, ... [2]</p>
</blockquote>
<p class="inwebparagraph">This is because [1] is essentially a statement about the future, not the
present or the past, whereas conditions like [2] must always be determinable at
once: Inform cannot know what will generally happen, only what is now the case
and what has been the case in the past.
</p>
<pre class="display">
<span class="plain">&lt;</span><span class="identifier">certainty</span><span class="plain">&gt; ::=</span>
<span class="identifier">always</span><span class="plain">/</span><span class="identifier">certainly</span><span class="plain"> | ==&gt; </span><span class="constant">CERTAIN_CE</span>
<span class="identifier">usually</span><span class="plain">/</span><span class="identifier">normally</span><span class="plain"> | ==&gt; </span><span class="constant">LIKELY_CE</span>
<span class="identifier">rarely</span><span class="plain">/</span><span class="identifier">seldom</span><span class="plain"> | ==&gt; </span><span class="constant">UNLIKELY_CE</span>
<span class="identifier">never</span><span class="plain"> | ==&gt; </span><span class="constant">IMPOSSIBLE_CE</span>
<span class="identifier">initially</span><span class="plain"> ==&gt; </span><span class="constant">INITIALLY_CE</span>
</pre>
<p class="inwebparagraph"></p>
<hr class="tocbar">
<ul class="toc"><li><a href="4-prp.html">Back to 'Prepositions'</a></li><li><a href="4-apoo.html">Continue with 'Adverb Phrases of Occurrence'</a></li></ul><hr class="tocbar">
<!--End of weave-->
</body>
</html>