Created
February 27, 2019 06:51
-
-
Save camelcaseblog/3728c5a37e9520bd94c78dbc5bfa9069 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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