Skip to content

Commit f3f9fec

Browse files
committed
VERY tentative sketch of section about infering or completing intent
1 parent 351e0be commit f3f9fec

File tree

1 file changed

+21
-7
lines changed

1 file changed

+21
-7
lines changed

src/intent.html

+21-7
Original file line numberDiff line numberDiff line change
@@ -329,13 +329,6 @@ <h3 id="intent_using">Using Intent Concepts and Properties</h3>
329329
<p>Note that future updates of the AT and [=Intent Concept Dictionary=] may
330330
include additional concepts, at which time those concepts may also receive special treatment.</p>
331331

332-
<p><em>NEEDS CLARIFICATION: </em>
333-
In cases where the intent is missing or does not contain an explicit concept,
334-
or does not contain an explicitly structured intent with concept and arguments,
335-
the AT may be able to infer the relevant concept. fixity and arguments
336-
from the structure and content of the MathML.
337-
In such cases, it should proceed as above as if the inferred intent had been given explicitly.
338-
</p>
339332
<p>In cases where the intent contains neither an explicit nor inferrable concept
340333
the AT should generally read out the MathML in a literal or structural fashion (examples?).
341334
However, any given [=properties=] should be respected if possible,
@@ -360,6 +353,27 @@ <h3 id="intent_using">Using Intent Concepts and Properties</h3>
360353
produce speech that is appropriate to the community they serve.</p>
361354
</section>
362355

356+
<section>
357+
<h3 id="mixing_intent_errors">Intent Inference</h3>
358+
<p><em>Not yet spec language: NEEDS CLARIFICATION: </em></p>
359+
<p>Some clarification is probably needed concerning cases where the intent
360+
is not fully specified, or where it is missing completely.</p>
361+
<ul>
362+
<li>For example, the shorthand form:
363+
<pre>
364+
&lt;mrow&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mo intent="plus"&gt;foo&lt;/mo&gt;&lt;mi&gt;y&lt;/mi&gt;&lt;/mrow&gt;
365+
</pre>
366+
could be rewritten to be
367+
<pre>
368+
&lt;mrow intent="plus:infix($x,$y)"&gt;&lt;mi arg="x"&gt;x&lt;/mi&gt;&lt;mo&gt;foo&lt;/mo&gt;&lt;mi arg="y"&gt;y&lt;/mi&gt;&lt;/mrow&gt;
369+
</pre>
370+
</li>
371+
<li>A system may be capable, in certain contexts, of infering that
372+
<pre>&lt;msup&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msup&gt;</pre>
373+
actually should be a power. (It could be overridden with an explicit <code>:literal</code>)
374+
</li>
375+
</section>
376+
363377
<section>
364378
<h3 id="mixing_intent_errors">Intent Error Handling</h3>
365379
<p>An intent processor may report errors in intent expressions in

0 commit comments

Comments
 (0)