Open ghost opened 3 years ago
Can anyone help me with this?
Hi @yaoberh. I abandoned this project in favor of the pull request here https://github.com/kaegi/MorphMan/pull/231. However, after months the Morphman maintainers have yet to merge it. In the meantime I have given up on Morphman and am using similar known word counting features in The Immerse with Migaku Browser Extension . This is an actively maintained and supported project, unlike Morphman.
Hey, tried your pull request and now the spacy models that showed up before don't show up at all. I much rather prefer this approach to migaku. If you have any guess and could help me make it work I'd appreciate it very much. Thanks for your time!
To be specific, this is the error I'm getting: DeprecationWarning: The command link is deprecated. ⚠ As of spaCy v3.0, model symlinks are deprecated. You can load trained pipeline packages using their full names or from a directory path.
And also this one: File "/home/yaoberh/.local/share/Anki2/addons21/900801631/init.py", line 37, in onMorphManPreferences preferencesDialog.main() File "/home/yaoberh/.local/share/Anki2/addons21/900801631/morph/preferencesDialog.py", line 400, in main mw.mm = PreferencesDialog(mw.morphemizerRegistry, mw) AttributeError: 'AnkiQt' object has no attribute 'morphemizerRegistry'
@yaoberh had this issue, Spacy 3.0 is incompatible with the code used to link between it and Anki. Try downgrading to the previous version if you still want to experiment. Additionally, you'll find that even if you can get the Spacy models to work, it's often buggy and will not recalc properly or just crash entirely. Unfortunately that's the consequence of the project being unmaintained.
Installed languages get correctly installed inside spacy, but when one wants to choose that model in morphman they're not there.