Back

Mighty Morphin Morphology

(2017-03-06, 6:42 am)kevsestrella Wrote:  
Thanks for the info about CJK Morphemizer Kaegi, I haven't read previous post, I will now.

To add onto this, the behavior also works a bit like this:
Ex. You learn how to write the 池 kanji in RTK, but you haven't learned the word 池[いけ] meaning pond. You have a large vocab deck, maybe the Core10k or some vocab you saved from your fun sources of content.
If you're currently learning how to write 池 in your Kanji deck and you have a morphemizer turned on for it, it will increase the priority of the 池 word.
If you have 池 in your Kanji deck as Mature and it's being tracked with the morphemizer, the card will have no New Morphemes, and so the priority will be at the highest, assuming you keep these options: http://i.imgur.com/H5EHhvs.png

I having kanji being tracked is probably a good thing, but I haven't re-enabled it.
I basically can read words like 旅行[りょこう] but don't know what the 旅 kanji is or how to write it, but MorphMan will show the word 旅[たび] at a (much) higher priority because I know 旅行. It sorts the words with no new morphemes first.

tldr; I think having it track kanji is good, because it'll put all of the kanji that exist as their own word and put them to the front. A short-term issue is that MorphMan will be assuming you know all of the words that are one kanji-only, ex. 話, 電, 気、意, etc., but if you have a core10k deck or something, it'll give help you fill in those gaps so that you actually do know those single-kanji words. For example, if you're a beginner and you learned 話す and learned how to write 話 in RTK, but didn't learn the word 話, you may find a sentence in sub2SRS sentence with the word 話. Maybe the sentence will be 「いい話だ。」 and will have no new words. It'll be listed as a high priority sentence, since it won't be highlighted as Unknown (or in Red color if you set up colors for unknown). Since 話 won't contain no new morphemes, though, so you'll see them earlier with MorphMan and fix your knowledge.

Gonna set my deck up so that it tracks my kanji now, I think. I think it will function the way I want to if I have it tracking my kanji along with my words.

(2017-03-06, 6:42 am)kevsestrella Wrote:  
Thanks for the info about CJK Morphemizer Kaegi, I haven't read previous post, I will now.

To add onto this, the behavior also works a bit like this:
Ex. You learn how to write the 池 kanji in RTK, but you haven't learned the word 池[いけ] meaning pond. You have a large vocab deck, maybe the Core10k or some vocab you saved from your fun sources of content.
If you're currently learning how to write 池 in your Kanji deck and you have a morphemizer turned on for it, it will increase the priority of the 池 word.
If you have 池 in your Kanji deck as Mature and it's being tracked with the morphemizer, the card will have no New Morphemes, and so the priority will be at the highest, assuming you keep these options: http://i.imgur.com/H5EHhvs.png

I having kanji being tracked is probably a good thing, but I haven't re-enabled it.
I basically can read words like 旅行[りょこう] but don't know what the 旅 kanji is or how to write it, but MorphMan will show the word 旅[たび] at a (much) higher priority because I know 旅行. It sorts the words with no new morphemes first.

tldr; I think having it track kanji is good, because it'll put all of the kanji that exist as their own word and put them to the front. A short-term issue is that MorphMan will be assuming you know all of the words that are one kanji-only, ex. 話, 電, 気、意, etc., but if you have a core10k deck or something, it'll give help you fill in those gaps so that you actually do know those single-kanji words. For example, if you're a beginner and you learned 話す and learned how to write 話 in RTK, but didn't learn the word 話, you may find a sentence in sub2SRS sentence with the word 話. Maybe the sentence will be 「いい話だ。」 and will have no new words. It'll be listed as a high priority sentence, since it won't be highlighted as Unknown (or in Red color if you set up colors for unknown). Since 話 won't contain no new morphemes, though, so you'll see them earlier with MorphMan and fix your knowledge
Edited: 2017-03-06, 12:00 pm
Reply
(2017-02-23, 10:15 am)NinKenDo Wrote: I dunno. I've reached the end of my tether. Not trying to get jieba working with MM for a couple weeks until I can come at this problem with fresh eyes. I've just been winding myself up more and more every day. Haha. Time better spent studying and letting my brain process the problem in the background.

I've finally found the time to experiment a bit. The results of it can now be found in morphemizer-jieba branch on https://github.com/kaegi/MorphMan. Everything works as expected, except using the 'cut' method triggers (somehow) a 'check your database'-error the first on recalc, which you can ignore. I tried to investigate this error, but I don't even know where to start searching a connection. This is as far as I'm willing to go with this branch - the rest is up to you.

(2017-02-19, 4:49 pm)vladz0r Wrote: There are a few peculiar things/interactions with the "Learn Now."
If I have a JP->Eng Card1 and an Eng->JP Card2, and hit "Learn Now" on the Card1, it'll also try and show me the Card2. If I hit "Learn Now" on the Card2 for a word, it also tries to show me the Card1 again for the word, messing with the scheduling. The "Learn Now" returning multiple cards for a single note can also cause Anki errors, since Anki normally buried the card2 for a word if you saw the card1 for the word today.

Thank you for your bug report, but this particular feature can be considered a "convenient hack". It tampers with Anki's internal scheduling variables, which (I'm very sure) shouldn't be touched outside of the Anki codebase. The last time I fixed a seemingly trivial bug for that feature, took me about 5-7 hours to find the cause and the fix only partially improved the situation. Moreover, this feature isn't really related to the MorphMan plugin (it can be realized as an extra, separately maintained plugin without much effort) and you can approximate the behavior with repositioning new cards. Because the function is handy and improves the workflow a little, I left it inside MorphMan, but I don't think I will spent time "fixing" the feature/hack.

EDIT: Though I still have the same attitude towards this feature, it seems like I was to hasty in my assessment of this special bug. The fix was simpler than I expected (on second glace) and it is now on the "fix-learn-now-card-selection" branch. After some using/testing it in my Anki studies the next days, I will include it in the master branch. Again, thanks vladz0r, for reporting the bug.
Edited: 2017-03-09, 10:50 am
Reply
Sweet Smile
Having the bug fixed is useful for me, because sometimes I select a bunch of cards to [study now] and I'd have to bury my card2 and card3 versions of the card that arise, and sometimes I would mess up and not be able to undo the burying, and have to re-do the search in order to see the card now. The [study now] feature is amazing to have, and really makes Anki more effective and personalized.
Reply
(March 20-31) All Access Pass: 25% OFF Basic, Premium & Premium PLUS! 
Coupon: ALLACCESS2017
JapanesePod101
Hey kaegi, can you confirm that for you the morphemizer-jieba branch gives you focus morphs of my than one character? I still have the same problem as before, so it might be a Windows thing.
Reply
(2017-03-11, 7:30 pm)NinKenDo Wrote: Hey kaegi, can you confirm that for you the morphemizer-jieba branch gives you focus morphs of my than one character? I still have the same problem as before, so it might be a Windows thing.

With activated morphHighlight one of the next vocab cards (the tenth or so) are [focus morph is written to Morpheme Readings/didn't want to create a new field]:

[Image: Bildschirmfoto%20von%20%C2%BB2017-03-12%...B.png?dl=1]

Or:

[Image: Bildschirmfoto%20von%20%C2%BB2017-03-12%...B.png?dl=1]

If I had to guess, I'd think the problem most probably is somewhere in your MorphMan configuration.
Reply
Okay, deleting my databases did the trick. Which is weird, because I did that before and it didn't fix the issue. But obviously something else changed as well, that was way back when I was still trying to use jieba.cut(). Thanks for all your help kaegi, super pumped to test this over the coming week and hopefully not destroy my collection.

I'll try and somewhat maintain the jieba branch until I can figure out the best way to modularise it.

Exciting, exciting, exciting!

Zài jiàn.

EDIT: I finally managed to fork after deleting a fork of MorphMan's parent project. Here's the link:

https://github.com/NinKenDo64/Jieba-Morph/
Edited: 2017-03-12, 7:02 pm
Reply
(2017-03-09, 8:45 am)kaegi Wrote: EDIT: Though I still have the same attitude towards this feature, it seems like I was to hasty in my assessment of this special bug. The fix was simpler than I expected (on second glace) and it is now on the "fix-learn-now-card-selection" branch. After some using/testing it in my Anki studies the next days, I will include it in the master branch. Again, thanks vladz0r, for reporting the bug.

I got around to trying to use this branch, and it gives me an error on my cards regarding the dictionaries and stuff.
I copied it over my old Morphman 4.0.
Here's the error - http://i.imgur.com/dHIekkP.png
Reply
(2017-03-22, 3:05 pm)vladz0r Wrote:
(2017-03-09, 8:45 am)kaegi Wrote: EDIT: Though I still have the same attitude towards this feature, it seems like I was to hasty in my assessment of this special bug. The fix was simpler than I expected (on second glace) and it is now on the "fix-learn-now-card-selection" branch. After some using/testing it in my Anki studies the next days, I will include it in the master branch. Again, thanks vladz0r, for reporting the bug.

I got around to trying to use this branch, and it gives me an error on my cards regarding the dictionaries and stuff.
I copied it over my old Morphman 4.0.
Here's the error - http://i.imgur.com/dHIekkP.png

I already fixed that in master, but didn't rebase fix-learn-now-card-selection on master. I've done that now. So please try again.
Reply