-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to add the the word in a cloze deletion to the back of card? #20
Comments
@bcordo Hi Brad, I'm actually working on a cloze theme for the next release. And if languages are your thing, I have a one I've created for my personal learning which follows the Fluent Forever method. For displaying a cloze, first you need to make sure it's an actual cloze card. You can do this by duplicating the cloze note type and adding fields. Any field can be converted to a cloze type field and displayed on the card (front or back) by using the correct template tags
If you add the If you'd like a demo of my language deck, perhaps I can send you the ones I'm using. |
@badlydrawnrob, sounds great. Thanks for the response, and thanks for creating this awesome repo. Yea, Fluent Forever is awesome, that's exactly what I've been using to create grammar cards for German. I eventually figured out how to display the word in the close (in this case <script>
var cloze = document.getElementsByClassName('cloze');
document.write(cloze[1].textContent);
</script> What I wanted to do is replace the "multi purpose card" that Gabe gives us for the new word form grammar cards, which took a lot of time to make since you have to copy and paste the sentence multiple times, and add the front and the back. Now all I do is type the sentence once, add cloze fields and everything gets filled out automatically. I love it- I can crank out grammar cards much faster now. Let me know if you would like me to send you those. |
@bcordo Glad you figured it out! Yeah it might be helpful to see an example deck, so I can see what you're trying to achieve — perhaps I'm misunderstanding you, but it sounds like a cloze note type will do what you're trying to do anyway. One thing to note is you can't convert a regular card into a cloze card (I think the multi-purpose card was a regular card). You can find mine attached, I'm still not sure if they're overboard on fields but the cloze cards save quite a bit of time. I don't use all the fields all the time — to be honest, Fluent Forever takes a good amount of time in general, so perhaps it's best used sparingly when it's something that you're continually forgetting, or a particularly tricky conjugation (at least once past beginner level). I'm yet to figure out the best way to learn a language, I'm still struggling with French! :) french-fluent-forever.apkg.zip By the way ... make sure you import it in a testing account, as I've adapted the original Fluent Forever note types, which will probably override yours! |
@bcordo I came across this conversation while trying to do exactly what you describe. Do you mind sharing your improved all-purpose card / cloze template? Thanks so much! |
Yes no problem. I am super slammed at the moment, would it be okay to send
this on the weekend? If you’re motivated and on a roll I can send it now,
let me know.
…On Wed, Aug 8, 2018 at 2:53 PM JustAQuest ***@***.***> wrote:
@bcordo <https://github.com/bcordo> I came across this conversation while
trying to do exactly what you describe. Do you mind sharing your improved
all-purpose card / cloze template? Thanks so much!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#20 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAhnjSah0nH7SQxnKunm4BupT61c7d6Uks5uOzONgaJpZM4JbSIB>
.
|
Thanks! Please take your time. I'd love to have it whenever works for you.
(If you can't get to it at all that's fine too.)
…On Wed, Aug 8, 2018, 4:04 PM Brad Cordova ***@***.***> wrote:
Yes no problem. I am super slammed at the moment, would it be okay to send
this on the weekend? If you’re motivated and on a roll I can send it now,
let me know.
On Wed, Aug 8, 2018 at 2:53 PM JustAQuest ***@***.***>
wrote:
> @bcordo <https://github.com/bcordo> I came across this conversation
while
> trying to do exactly what you describe. Do you mind sharing your improved
> all-purpose card / cloze template? Thanks so much!
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#20 (comment)
>,
> or mute the thread
> <
https://github.com/notifications/unsubscribe-auth/AAhnjSah0nH7SQxnKunm4BupT61c7d6Uks5uOzONgaJpZM4JbSIB
>
> .
>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#20 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Ak_0yDKn3W2MW5IMRHzUcoivgrnz8YRHks5uO0RkgaJpZM4JbSIB>
.
|
@JustAQuest I do think the cloze template takes a little while to understand, it's not entirely obvious from the docs that you have to specifically (from the deck screen):
You can see my original cloze card — click "add" (card) then click on "cards ...". You'll then see the card template with Anki is definitely not the most intuitive when looking through the docs. @bcordo when you use It's been a while since my last update but I have some pretty big changes coming in the next version, when I find a little time to update. It'll likely be simplified quite a bit (every time I go back, even I'm having WTF moments with the note types I've created) Good luck! |
@bcordo @JustAQuest Hi. Would you mind sharing the CSS styling and HTML codes that allow you to do this? I can´t get the JavaScript snippet to work in my card. I'm also trying to recreate the Fluent Forever method but with less work. I did replace the "syntax" card with the multiple cloze question. But I want to also replace the word order card with a cloze that in the front shows the word above the cloze without the [...]. Thanks. |
Hi @EloyRD @bcordo @JustAQuest ... I've answered best I can here and here (although the old repo link is dead). If I'm right in thinking, you're wanting:
... Right? I've quickly grabbed some screenshots, which hopefully helps people: Choose a cloze templateSelect
|
If I understand it correctly, @bcordo was trying to have the cloze hint rendered on the back of the card. This is also my usecase. I've solved it in an ugly way by rendering Here's the full template for the back side:
Here's what it looks like: Ideally I would like to just render the hint for the specific cloze ("weakened") in this case, rather than the entire sentence again @badlydrawnrob do you know if that's possible somehow? |
Thanks for reading this.
Let's say I have a sentence:
Die Dame, welche (die) die Brosche gekauft {{c1::hat::habe}}, ist sehr reich.
And I want to add the c1 word "hat" to the back of the card automatically. So something like:
Front of card:
Die Dame, welche (die) die Brosche gekauft [habe], ist sehr reich.
Back of card:
hat
Die Dame, welche (die) die Brosche gekauft hat, ist sehr reich.
Is this possible?
Thanks so much!
The text was updated successfully, but these errors were encountered: