Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

some readme

  • Loading branch information...
commit 9ce8915e81a07001b30805ca2e6db47bce3e81b1 1 parent ac5b87d
@acslater00 acslater00 authored
Showing with 32 additions and 0 deletions.
  1. +32 −0 README.txt
View
32 README.txt
@@ -0,0 +1,32 @@
+INSTALLATION INSTRUCTIONS
+
+1) Download tarball or clone git repository
+2) run python setup.py install
+
+USING FUZZYWUZZY (examples)
+
+> from fuzzywuzzy import fuzz
+> from fuzzywuzzy import process
+
+# SIMPLE RATIO
+> fuzz.ratio("this is a test", "this is a test!")
+96
+
+# PARTIAL RATIO
+> fuzz.partial_ratio("this is a test", "this is a test!")
+100
+
+# TOKEN SET RATIO
+> fuzz.ratio("fuzzy wuzzy was a bear", "wuzzy fuzzy was a bear")
+90
+> fuzz.token_sort_ratio("fuzzy wuzzy was a bear", "wuzzy fuzzy was a bear")
+100
+
+# TOKEN SET RATIO
+> fuzz.token_sort_ratio("fuzzy was a bear", "fuzzy fuzzy was a bear")
+84
+> fuzz.token_set_ratio("fuzzy was a bear", "fuzzy fuzzy was a bear")
+100
+
+
+
Please sign in to comment.
Something went wrong with that request. Please try again.