Joined: Sep 2006
Posts: 62
Thanks:
0
Yeah, I'm looking myself and it seems it's suspended if the priority is -3. I've even gotten it to find all of the suspended cards.
However, now the exporter is being funny and not respecting limitCardIDs....
Also, before that, it didn't know where the backup directory was in windows and I had to manually change the library source code.
This is hell.
Joined: Sep 2006
Posts: 62
Thanks:
0
IN YOUR FACE, ANKI!
I had to change the library twice, but goddamnit I got it. Now, to do the actual work...
Joined: Oct 2008
Posts: 890
Thanks:
0
From what I've seen in the anki source code, priority == -3 means the card is suspended. Have a look at the suspendcards and unsuspendcards functions in deck.py
Joined: Oct 2008
Posts: 890
Thanks:
0
How did you manage to install the python bindings for mecab? Whenever I try it gives a me list out of range error...
Joined: Sep 2006
Posts: 62
Thanks:
0
Yup, the priority thing works. That was a good catch.
See my post "Installing the MeCab Python Binding" for just how pissed off MeCab makes me =P.
Also, my sample script is missing a colon in the for loop. Whoops.
AND, finally, I've just realized that probably drilling straight vocab isn't the way to go anyway. So... yeah, let's all live our lives?
The stuff you've already done is going to be so incredibly helpful, though. I can barely describe how much of my hero you are.
Joined: Aug 2009
Posts: 710
Thanks:
0
There ought to be a website or something that lets you use it as a front-end.
Still working on the conjugation issue sans mecab. I'm thinking if there's a way to look for the kanji/compound in conjunction with the English definition/translation, that could work. Or I guess I ought to make sure the list has the C6k versions I'm using.
For 'strays' that aren't in C6k I'm just adding single words to Anki, using the Breen/Japanesepod101 audio dictionary for audio. *After* checking the KO2001 deck w/ audio that I don't have because that would be wrong.
Edited: 2009-09-10, 1:58 pm
Joined: Sep 2006
Posts: 62
Thanks:
0
I still don't get quite what you guys are talking about but it sounds much more badass than what I was trying to make yesterday =P.
Just a word of warning, though -- if you guys are trying to mine sentences based on words (which I think you are), you're really going to have to get Mecab working. I wish you luck.
Joined: Sep 2006
Posts: 62
Thanks:
0
So did anyone ever get Mecab working? Turns out that that whole thing I wanted originally would be incredibly useful after all...
Joined: Oct 2007
Posts: 4,582
Thanks:
0
So I tried to run the unsuspend.py again with my new computer, it almost works but I'm getting an error:
UnicodeEncodeError: 'charmap' codec can't encode characters in position etc.: character maps to <undefined>
This occurs whether the using -s and a list of terms, -f, and Japanese or English text.
Okay I was able to do some conversions in UltraEdit to get past that stage, but now I'm getting a 'Session object has no attribute 'clear' error. I give up again, I'll wait for some magic tool to scan a deck and unsuspend cards containing a list of words. ;p
Edited: 2010-11-16, 3:35 pm