-
Notifications
You must be signed in to change notification settings - Fork 9
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
Using on Windows: IndexTableReadingException
#56
Comments
Not an answer to your question, but possibly a working alternative: https://github.com/divvun/divvunspell. It is a Rust implementation of |
The native Windows binaries are not a priority because WSL works so perfectly, so nobody tests on native Windows. |
I would like to use it inside C# (for VSTO Microsoft Word Add-In) and I planned to bind it through DDL file. Initially I wanted to use @snomos Interesting, I will check it out, thank you! |
Yes, I do that. Divvun also does that. But it's not the correct way any longer. VSTO extensions are headed to the scrap heap because they can't run on macOS, iPad, or web editions. Instead we have moved to Office.js add-ins that work cross-platform:
What language are you trying to add a checker for? |
Initially, I have tried to make Office.js add-in in Angular, but its API was a little restricted (I couldn't draw red lines using Windows Forms), so I decided to stick with C#. I remember that there was
The language I want to add is Uzbek, agglutinative language from Turkic family with 36 mln of speakers. It is similar to Turkish, but with simpler morphophonemics. I used P.S. Using |
We are painfully aware that Office.js is limited (and I've reported it upstream, twice), but it's still the only future-proof and cross-platform solution. Divvun also makes keyboards. There's a whole pipeline for turning an FST into spellers, keyboards, and prediction, all for both desktop and mobile. @snomos can point you at docs. As for Uzbek, you may also be interested in https://github.com/apertium/apertium-uzb Btw, we are on IRC on irc.oftc.net channels |
https://github.com/divvun/kbdgen2 takes a (relatively) simple yaml file (wrapped in a bundle with some metadata) as input, and produces keyboard packages for iOS, Android, Linux, Windows, macOS and ChromeOS. For iOS and Android, the keyboards can be bundled with Hfst-based spellers.
|
@TinoDidriksen I have checked out the Office apps you suggested, I think I would also go with that UI/UX. However, the coverage of Internet in Uzbekistan is poor, not everyone has constant access to it. So, I was thinking about creating a web-assembly version of hfst-ospell and integrating it into the extension and make it free and offline. Do you think it is ok? @snomos Thank you! I will definitely check it out! |
The nightly Windows builds got updated last week, so check if latest binary still throws. |
Was facing the same issue. In my case, opening a file in "rb" mode instead of "r", solved the problem. |
When I try to build
hfst-ospell
in Windows and use it with FST models, it throwsIndexTableReadingException
in functionvoid IndexTable::read(FILE *f, TransitionTableIndex number_of_table_entries)
:The same bug persists when using pre-compiled executable listed in the Apertium website:
Lexicon and error model files work well on Linux Ubuntu. What might be a problem?
The text was updated successfully, but these errors were encountered: