You can do cloze hints by using [cloze:hint].
Cheers,
Peter
Quoting Arno den Hartog <[email protected]>:
Perhaps there could be created an plugin for mnemosyne
that automatically creates verbatim hints for close deletion cards?
May be a bit late for you but here is a sequence of regex replacements that
can get the job nice and quickly.
Someone who knows Python could easily make a script out of it.
Get a text editor with regex, drop all your text into there, and leave a
blank line between each card.
Match
Replace
Explanation
\r\n
<br>
Replaces all newlines (on windows) with <br> that do not interfere with tab
separated importing.
(.*?)(<br><br>|\Z)
\1\t\1\r\n
Returns newlines where blank ones used to be so that now every card is on
its own line and duplicated with a tab in the middle.
(?<!<[^>]*)(?<=[^\s]{2})[^.,;?!<>\-\s](?=[^.,;?!\s]{1})(?=[^\r]\t)
@
Replaces every character with an @
Ignores everything from < until >
Ignores {2} after and {1} before the symbols inside [^...]
Ignores all symbols inside [^...]
Ignores everything not in front of a tab on that line.
Th@n ju@t im@@@t the ta@-@@@@@@@@d te@t fi@e.
Then just import the tab-separated text file.
--
You received this message because you are subscribed to the Google
Groups "mnemosyne-proj-users" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msg/mnemosyne-proj-users/-/ZNB8zJQZftUJ.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups
"mnemosyne-proj-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.