apertium / lttoolbox

Finite state compiler, processor and helper tools used by apertium
http://wiki.apertium.org/wiki/Lttoolbox
GNU General Public License v2.0
18 stars 22 forks source link

lsx-comp --debug #147

Closed unhammer closed 2 years ago

unhammer commented 3 years ago

would be nic eto have something that makes an unminimised .bin that creates an FST per top-level <e> and tags the final with the rule number or line number or something

mr-martian commented 2 years ago

This would also be useful for postgen.

mr-martian commented 2 years ago

Due to limitations of libxml2's xmlTextReader interface, I can't insert the actual line number, so I had it insert the approximate line number and the value of the comment attribute (if any).