> I call a metaparadigm with :
> <e lm="acceptar" alt="oci"><i>acc</i><par n="L-alt_G-pasalt" prm="pt"/></e>
> Inside, I would like to call another metaparadigm and passing it the
> "prm" argument :
> <pardef n="L-alt_G-pasalt">
> <e alt="oci"><par n="cr/e[M]ar__vblex" prm="prm"/></e>
> </pardef>
> But it doesn't seem to work, I have an error :
> Error (4685): Undefined paradigm 'cr/e[M]ar__vblex__prm'.
>
> Can I pass the prm parameter to another paradigm ?
Do I understand you correctly that you would like metadix
<pardef n="cr/e[M]ar__vblex">
<e><p><l>cre<prm/>ar</l><r>cremar<s n="vblex"/></r></p></e>
<!-- I just made something up here -->
</pardef>
<pardef n="L-alt_G-pasalt">
<e alt="oci"><par n="cr/e[M]ar__vblex" prm="prm"/></e>
</pardef>
<e lm="acceptar" alt="oci"><i>acc</i><par n="L-alt_G-pasalt" prm="pt"/></e>
to be compiled/transformed to something equivalent to
<pardef n="cr/e[M]ar__vblex_pt">
<e><p><l>creptar</l><r>cremar<s n="vblex"/></r></p></e>
</pardef>
<e lm="acceptar" alt="oci"><i>acc</i><par n="cr/e[M]ar__vblex_pt"/></e>
?
That does sound like it would be useful.
As you found out, prm="prm" won't work for that; I'm not sure but I
don't think the current XSLT scripts support it, so we would have to
expand the scripts to be able to pass on the prm parameter to
sub-paradigms.
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff