|
Some simple examples of embedded semantic tree. Note that for readability the attributes of the MathML elements have been abbreviated. Usually they have a 'semantic-' prefix.
|
|
Some simple examples of embedded semantic tree. Note that for readability the attributes of the MathML elements have been abbreviated. Usually they have a 'semantic-' prefix.
|
|
|
|
|
|
|
|
```html
|
|
|
|
<mi semantic-type="identifier" semantic-role="latinletter" semantic-id="1" semantic-parent="3">b</mi>
|
|
|
|
```
|
|
|
|
|
|
|
|
is shortened to
|
|
|
|
|
|
|
|
```html
|
|
|
|
<mi type="identifier" role="latinletter" id="1" parent="3">b</mi>
|
|
|
|
```
|
|
|
|
|
|
## Single Operation
|
|
## Single Operation
|
|
|
|
|
... | @@ -282,4 +291,4 @@ Semantically enriched MathML: |
... | @@ -282,4 +291,4 @@ Semantically enriched MathML: |
|
<mi type="identifier" role="latinletter" id="9" parent="14">f</mi>
|
|
<mi type="identifier" role="latinletter" id="9" parent="14">f</mi>
|
|
</mrow>
|
|
</mrow>
|
|
</mrow>
|
|
</mrow>
|
|
</math> |
|
</math> |
|
|
|
\ No newline at end of file |