Hallo,
nutze Anki, um Spanisch zu lernen.
( Spanish 9200 sentences)
Wenn Zeit vorhanden, versuche ich das super und sehr umfangreiches Deck - Spanisch <> Englisch zu modifizieren.
Ergänzung deutsche Übersetzung
Hinzufügung von Audio
Spanische Konjugationstabelle bei unregelmäßigen Verben
Frage:
gibt es in Anki eine Möglichkeit Filter zu setzen:
Beispiel: Liste mir alle Karten auf,
a) in denen das Feld “Deutscher_Satz” noch leer ist,
b) noch kein Audios für Englische / Deutsche Sätze vorhanden sind.
Danke im voraus für jeden Hinweis.
Selbstverständlich werde ich die von mir modifizierte Fassung allen Interessierten irgendwann zur Verfügung stellen.
I probably have modified the cards from the beginning, unfortunately incorrectly.
An estimated 2,000 out of 9,200 cards I’ve already modified.
Unfortunately, I have no idea about programming.
Question:
Is there a programme instruction that I can use forcing Anki to change existing cards?
(Assuming a new English / German sound field is inserted)
Programme Instruction:
Please copy the sounds inserted in brackets from the field “EnglischSentence” / “Deutscher_Satz” into the new fields “English sounds”, “German sounds”?
Sorry about my rusty English, but I hope you understood what I meant.
Well, to filter for cards without audio, you could prepend a minus-sign, to see cards that do NOT contain the sequence “[sound…”
-[sound
Using a well-constructed RegEx search (Regular Expressions), you could also single out the whole term [sound:…] to replace or remove this part.
Whether you can automate this process in Anki I do not know, I have just started using the program, still reading through the manual. Have not tested the Search&Replace feature yet.
They easiest way to accomplish your task, would probably be a roundtrip to a spreadsheet program like Excel. You export your Anki-deck as plain text (.txt), load it into Excel, where you extract the [sound…] part into a separate column.
Then on the way back, upon import, you assign the new extra column to your modified note type in Anki, where you added the additional sound-field(s).
Your mp3-files will not get touched at all, they remain where they are.
Hi BookBorsch,
thanks for your advice.
In principle, exporting content to Excel is certainly a good idea.
However, I’m afraid that in my particular case, this is not very helpful.
Why?
Because all formatting will be lost when exporting.
It shouldn’t be if you check “Include HTML” when you export.
I would suggest creating the new field for your “sound” tag in Anki first, then exporting, so that you won’t have to be changing your note type later when you are importing.
Great idea. Did not occur to me (slapping forehead)
Here is another way of doing it, without leaving Anki.
I switched my UI to German to make it easier for Peter to follow along:
Back up your project, in case something goes wrong.
Do not skip this step. Do it.
My solution is based on what little information you provided. Some of your cards may differ from what you posted. Try this at your own risk!
Add a new field that will hold your sound reference
Clone your note type, then add a new field to the clone:
Tell your cards to use this new cloned type
Map your front-field to the new field you just created:
When you look at your cards, the same information should be in two separate fields. All we have to do now, is to delete the parts we do not want from each field, respectively. Make sure you enable the checkbox for RegEx, and be sure to copy my syntax EXACTLY, RegEx is very unforgiving if you make a mistake here.
Hello Bookborsch,
Thank you very much for your detailed explanation, especially for your efforts to change the menu language to German to make it easier for me to understand.
I think it’s about time I read through the Anki manual.
Thank you Peter
Some of the translated manuals are a little out-of-date on newer features – but they are usually good on the core Anki functionality. Deutsch Anki Handbuch