apertium / apertium-recursive

Recursive structural transfer module for Apertium
https://wiki.apertium.org/wiki/Apertium-recursive
GNU General Public License v3.0
6 stars 4 forks source link

Rewrite tags with copy output rule #95

Open mr-martian opened 11 months ago

mr-martian commented 11 months ago
n: % ;
NP -> n { 1[number=sg]; } ;

Currently [number=sg] is ignored, but it could be handled with SETCLIP.

mr-martian commented 11 months ago

https://github.com/apertium/apertium-recursive/blob/main/src/rtx_compiler.cc#L2006 change needed here-ish