migaku-official / migaku-browser-extension-issue-tracker

An issue tracker for bugs and other issues related to the Migaku browser extension.
2 stars 0 forks source link

Extension does not import complete set of words from Anki #9

Open heberleh opened 2 years ago

heberleh commented 2 years ago

Describe the bug The extension does not import all words from Anki (German). I tried 2 independent installations of the extension, one using Chrome and one using Edge.

I noticed that many words that I know were not included in the list of Known/Learning words of the extension. I tested the hypothesis by searching some of them in my collection and found multiple phrases for them.

In the following description/examples, I use the phrases as they are in my cards. Coincidence: these phrases are older than 11.4 months. Are they ignored?

To Reproduce Steps to reproduce the behavior:

Current bug behaviour Only Sonnenschein and Sonnenuntergang are found. Not Sonne. Coincidently (?), the phrases with Sonne have interval grater than 11.4 months while the phrases with Sonnenschein and Sonnenuntergang have smaller interval (<6 months).

Expected behavior Word Sonne is found in the list of Known words in the extension. All cards from Anki are used to load Known words. Words are extracted from phrases that may include the syntax metadata from Migaku.

Desktop (please complete the following information):

Additional context This may be connected to another problem #10: the list of Known words is partially used by the parser to underline words. That is, I looked for Artbeit in the list of Known words and I found it. However, if I open Wikipedia/Arbeit, the word Arbeit will be underlined in red.

#9 and #10 are summarized in this figure:

2 problems in 1 figure
heberleh commented 2 years ago

I tried to create a new card using this phrase in a new deck, clicked to study and pressed "Pass" (from Migaku exentension).

es[sie,per,x] waren[sein,v,x] viele[viele,ind,x] Tage[Tag,n,m] ohne[ohne,conj,x] Sonne[Sonne,n,f]

Then I removed my known words from the extension and tried to import again. I searched for Sonne and it still didn't recognize.