alvisnlp icon indicating copy to clipboard operation
alvisnlp copied to clipboard

Syntactic shortcuts for alias

Open rbossy opened this issue 1 year ago • 2 comments

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.

rbossy avatar Aug 18 '23 10:08 rbossy

45a1c2378d832f7314608b433b4ef43847cc0cb9

rbossy avatar Sep 08 '23 13:09 rbossy

Plan parameters of type Expression that would be available as user:something.

rbossy avatar Oct 26 '23 08:10 rbossy