alvisnlp
alvisnlp copied to clipboard
Syntactic shortcuts for alias
Omit parameter alias name if it is the same
<param name="source">
<alias module="read" param="source"/>
</param>
could be written as:
<param name="source">
<alias module="read"/>
</param>
Shortcut for corpus SetFeature pattern
<param name="foo">
<alias module="set-feature" param="value"/>
</param>
<set-feature class="SetFeature">
<target>$</target>
<feature>bar</feature>
</set-feature>
could be shortened as:
<param name="foo">
<feature key="bar"/>
</param>
The PlanLoader
would insert the SetFeature module with a generated name.
45a1c2378d832f7314608b433b4ef43847cc0cb9
Plan parameters of type Expression that would be available as user:something
.