Skip to content

Instantly share code, notes, and snippets.

@camelcaseblog
Created February 27, 2019 06:51
Embed
What would you like to do?
from ngram import NGram
print(NGram.compare('החציל', 'חצילים'))
# 0.15384615384615385
print(NGram.compare('פלפל ובצל ירוק', 'פלפל ירוק ובצל'))
# 0.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment