Skip to content
This repository has been archived by the owner on Aug 3, 2022. It is now read-only.

Better cloze cousins detection #3

Closed
wants to merge 1 commit into from
Closed

Conversation

noobj2
Copy link
Contributor

@noobj2 noobj2 commented Jun 23, 2020

removes all extra parts that are related to cloze deletions
hello {{c1::this::what is this}} is a {{c2::test::what is this}} -> hello this is a test

removes all extra parts that are related to cloze deletions
hello {{c1::this::what is this}} is a {{c2::test::what is this}} -> hello this is a test
Copy link
Owner

@AlexRiina AlexRiina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the suggestion, this looks like it'll help a lot with using similarity on cloze fields.

I've taken the idea and made some small tweaks to the implementation to make the transformation clearer and cache the regex calls. I'll cut a release that includes your change soon.

#4

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants