Created
February 6, 2019 23:27
-
-
Save tehsven/cc654d6b07b5f46c5530185484b986d4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# Typo Handling | |
index = SearchIndex.new | |
index.add(0, "some more examples") | |
index.search("xamples") | |
=> returns Document 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment