mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 00:12:25 -04:00
turn off autojunking
seems to give better results on long passages, eg https://anki.tenderapp.com/discussions/ankidesktop/1108-the-typing-diffs-are-sometimes-less-than-helpful
This commit is contained in:
parent
1b12ff6fe5
commit
b34404aa08
1 changed files with 1 additions and 1 deletions
|
@ -425,7 +425,7 @@ Please run Tools>Empty Cards""")
|
|||
return txt
|
||||
|
||||
def tokenizeComparison(self, given, correct):
|
||||
s = difflib.SequenceMatcher(None, given, correct)
|
||||
s = difflib.SequenceMatcher(None, given, correct, autojunk=False)
|
||||
givenElems = []
|
||||
correctElems = []
|
||||
givenPoint = 0
|
||||
|
|
Loading…
Reference in a new issue