If your grammar uses tag-format="swi-semantics/1.0, you can use ECMAScript in the element <tag>as follows:
<item>
oemfau
<tag>out.slot = "OMV"</tag>
</item>
Just replace the “slot” with any NL slot that you would like to use in your application.
source
share