-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compiling with HFST tools #13
Comments
As a workaround, the following seems to work for converting This requires:
Once HFST is properly installed,
One advantage of converting |
Thanks for the report and the workaround. The issue is with newer versions of foma which I believe is used by HFST for compiling xfst source. TRmorph does not compile with foma 0.9.18. I was aware of this for a while, but could not find time to isolate the problem before. It seems foma 0.9.18 fails with lexc entries with regular expressions. TRmorph uses this in quite a few palces. A workaround within TRmorph source code is not trivial. I have just opened an issue with foma. Hopefully, it will be fixed soon. Meanwhile, your workaround is probably the best solution for using TRmorph with HFST. |
Wondering if you have any pointers / instructions for compiling the latest version of TRmorph with HFST tools. These instructions from Apertium are for the SFST version. Similarily, these pre-compilied HFST turkish resources are based on trmorph-0.2.1. It appears an older version is also being used by the HFST web demo -- as it does not have nearly the coverage of your current system.
If possible, I would like to build
trmorph.hfst
ortrmorph.hfst.ol
(an hfst transducer in optimized lookup format) from a recent version of TRmorph for testing. It's unclear whether to use hfst-xfst for this (with something likehfst-xfst source ...?
), hfst-lexc, hfst-foma, or something else. Any guidance you could provide would be very much appreciated.The text was updated successfully, but these errors were encountered: