ogallagher / quizcard-generator

Given a source document, generate quiz/flash cards
https://wordsearch.dreamhosters.com/quizcard-generator
MIT License
1 stars 0 forks source link

Exclude non word characters from Anki clozes #43

Open ogallagher opened 8 months ago

ogallagher commented 8 months ago

If the token (coughing?) is parsed as a word with key_string='coughing' raw_string='(coughing)', then the corresponding Anki note cloze should be generated as ({{c1::coughing}}?), with ( and ?) being outside of the cloze text.

ogallagher commented 8 months ago

I thought this was fixed, but am still seeing results like {{c1::여러분!}} instead of {{c1::여러분}}!.