divvun/libdivvun

divvun-checker --spec <spec> --variant <variant> crashes

albbas opened this issue · 2 comments

On Linux this is the result of the command

❯ divvun-checker --spec tools/grammarcheckers/pipespec.xml --variant smegramrelease
terminate called after throwing an instance of 'TransducerHeaderException'
Aborted

divvun-checker also crashes on macOS when using these options.

When running the command in the directory where pipeline.xml is, then the command succeeds. It seems that the paths to the .hfst files are miscalculated.

Aha, we're probably looking in CWD for a relative path, should prepend tools/grammarcheckers/ in your example.