mortii / anki-morphs

A MorphMan fork rebuilt from the ground up with a focus on simplicity, performance, and a codebase with minimal technical debt.
https://mortii.github.io/anki-morphs/
Mozilla Public License 2.0
52 stars 7 forks source link

Fix readability report accuracy #134

Closed mortii closed 7 months ago

mortii commented 7 months ago

Calculate the percentage based on the number of occurences of a word. Like in the following sentence with ten words. "I am too shy to speak to that many people." If I only knew the word "to" the percentage stat would be 20% since to appears twice and there are 10 words.

Originally posted by @Vilhelm-Ian in https://github.com/mortii/anki-morphs/discussions/114

@Vilhelm-Ian I think I updated the morphemizers to return morphs in sets rather than lists, which might have contributed to this problem. Feel free to change it back to lists if necessary.

Originally posted by @mortii in https://github.com/mortii/anki-morphs/discussions/114#discussioncomment-7993282

Merged pull request: #133

I'll update the morphemizers to return lists instead of sets

github-actions[bot] commented 6 months ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.