Back

Automatically add sentences to Anki with a little program

#1
If anyone wants an automated way to mine chosen sentences from text, let me know and I can try to make a little program for you using autohotkey. The way it would work is if you highlight the sentence you like and then hit ctrl+a (or whatever button combo you want) it will then copy the sentence and put it into anki for you. I only mine sentences from subs2srs so I don't need it, but if it's useful for others then let me know and I can make it.

Or if you have other repetitive tasks with Anki, Kanji, or anything else, maybe I can make something for those, too.
Reply
#2
Wow nice.

I'm gonna keep it in mind if I will come up with any great ideas.
Reply
#3
+1 for great idea. Big Grin

Would you also be able to make an adding and timing system for my declaritive learning system too? :o
Reply
May 16 - 30 : Pretty Big Deal: Save 31% on all Premium Subscriptions! - Sign up here
JapanesePod101
#4
This would make everyone's lives easier. I recently revamped my sentence deck and I tried man-picking sentences/putting monolingual looks-ups. It seriously took so long. I've been trying to find ways of speeding up this process.

But so far, the format that I use is:
Kanji expression (Front of the card)
Reading?(Answer card)
Meaning(small translation in the answer card)

The readings contain furigana
Edited: 2011-05-06, 3:22 pm
Reply
#5
That would be awesome! Big Grin
Reply
#6
Foodcubes, it is a very kind and generous offer. I am not quite yet in the habit of using Yomichan, so I am not sure, but can that be set up to automate the adding of sentences to an anki deck? I guess it doesn't do translation though.
But that aside - I have used GoogleTTS mp3 mass generator (shared plug-in) to make English sound files for a spelling deck, and it works quite satisfactorily, but when I turn it to Japanese I don't like the sound quality. Most of the sentences in my anki deck have sound, but for the stragglers, I would really like to be able to use something like GoogleTTS but perhaps incorporating the basics of that plug-in with the audio from
http://imtranslator.net/translate-and-sp.../japanese/
which sounds a bit better to me.
I don't know how possible or difficult that would be. What do you think?

Or perhaps it would be more similar to the audio download plug-in ??? It could also be used to make sound-files for those words that are not available through audio download.
Edited: 2011-05-07, 2:23 am
Reply
#7
I'm looking at using the program called "Autohotkey". This would allow me to record a series of keyboard and mouse inputs to perform a repetitive task.

I'm playing around with it right now. What I'm trying to do; if you highlight text it will then do the rest of the work for you: Copy the text and then open the anki "add card" dialogue. It will then paste the copied text into the new card and then close the window so you can continue reading. This is a really basic starting point, but it's very flexible so you can get it to do a lot more.


I think that the big benefit of the program is that it's easy to use, so anyone can make a custom macro to do there own specific task.

I'll post an example soon so you can get an idea of what it does. Then you can start working on customizing it for your own needs.
Reply
#8
Yomichan can do sentences Smile
Reply
#9
Yeah, I'm a little unclear about what the benefits of this over, say yomichan or wrightrak's rikaichan mod (granted there is an extra step involved in this one...but a minimal one)

The way I make my cards, I'm not sure you'd be able to do something automated...I generally have a word on one side, and a sentence with it and/or definition on the back.
Reply
#10
Are you interested in making productivity apps and the like?

Probably not so much to do with anki though.
Reply
#11
Ok, here is an example of what the program can do. This is just the starting point; you can make it do as much as you want it to do for automating repetitive tasks.

1. Download this small program: http://www.megaupload.com/?d=764KXF98
2. Open the program (it will run in the taskbar)
3. Open only the following programs:

Web browser (or some reading material source), Anki, and an Anki "Add Items" card.

4. Select the text you want entered into Anki
5. Hit ctrl+alt+a
Edited: 2011-05-11, 7:04 am
Reply
#12
Wow, it's cool.

Combine it with Cranks' dictionary hack in card model and you will basically have a definition for each card also, but the definition would be in the net browser though.
Edited: 2011-05-11, 7:49 am
Reply
#13
I've been looking for something like this for over 3 weeks and absolutely no luck. Now I find about this thread and the link is dead :'( ! Fkoda !!!

Foodcubes, guys, any one who downloaded the program, would you PLEASE :'( upload it somewhere ? Or email me a copy at (psycho.bignose@hotmail.com), I'll upload it myself afterwards 'cause I'm sure other people would want it !

*cross fingers*
Edited: 2013-01-31, 4:32 pm
Reply
#14
psychopatate Wrote:I've been looking for something like this for over 3 weeks and absolutely no luck. Now I find about this thread and the link is dead :'( ! Fkoda !!!

Foodcubes, guys, any one who downloaded the program, would you PLEASE :'( upload it somewhere ? Or email me a copy at (psycho.bignose@hotmail.com), I'll upload it myself afterwards 'cause I'm sure other people would want it !

*cross fingers*
FooSoft Wrote:Yomichan can do sentences smile
Yomichan can do sentences

http://foosoft.net/projects/yomichan/

There's also Rikaisama.
Edited: 2013-01-31, 8:48 pm
Reply
#15
There's also EPWING to Anki. If you have some EPWING dictionaries floating around, it will take a vocab list you feed it (among other parameters) and generate a mess of sentences for you. Or whatever it can parse from the EPWING file. It's here somewhere on the board.
Reply
#16
I haven't tried either. But during my 3-week searching, I read about it. It adds Japanese sentences to Anki, but how about other languages :/ ? Any experience ?
Edited: 2013-02-01, 8:28 am
Reply
#17
EPWING to Anki only works with specified Japanese-English and Japanese-Japanese dictionaries, as far as I know. So it would only be useful for learning Japanese.
Reply
#18
IMHO it's a pitty Epwing2Anki and Rikai-sama only exist for Japanese-English. I would love to brush up my English with Anki as well but unfortunately I cannot code.

Would it be difficult at least modifying Rikai-sama in a way it would be able to recognise English vocabularies and save them to txt?? Anyone? Why not making this generic hm Wink
Reply
#19
I see many people are interested !
Honestly, such a program is a real jewel. Not that it's so difficult to manually add vocab and sentences, but if it's possible, why not let the computer do it Big Grin ? It DOES save a lot of time ! The more you read, the more useful it will be !
It sucks to be ignorant in computers :/ I'd love to able to create useful programs the way I like ! (And I WILL, someday !) then share them Smile

Foodcubes, I'm praying you'll come back :')
Edited: 2013-02-01, 8:48 am
Reply
#20
Does Yomichan not accomplish what you want?
Reply
#21
ryuudou Wrote:Does Yomichan not accomplish what you want?
Good question -- not as far as I know? Never got my head around Yomichan, but I suppose it's only for Japanese/English.
Reply
#22
Nope, it doesn't Sad

I've never tried before, but I just did. I tried to load a .txt file in French but what was opened is a text in Japanese with the same length :/
Reply