Skip to content

Installed languages don't show up in morphman #11

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

Open
ghost opened this issue Mar 26, 2021 · 6 comments
Open

Installed languages don't show up in morphman #11

ghost opened this issue Mar 26, 2021 · 6 comments

Comments

@ghost
Copy link

ghost commented Mar 26, 2021

Installed languages get correctly installed inside spacy, but when one wants to choose that model in morphman they're not there.

@ghost
Copy link
Author

ghost commented Apr 14, 2021

Can anyone help me with this?

@rteabeault
Copy link
Owner

Hi @yaoberh. I abandoned this project in favor of the pull request here kaegi/MorphMan#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.

@ghost
Copy link
Author

ghost commented Apr 23, 2021

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!

@ghost
Copy link
Author

ghost commented Apr 23, 2021

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.

@ghost
Copy link
Author

ghost commented Apr 23, 2021

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'

@nlovell1
Copy link

nlovell1 commented May 8, 2021

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants