Permalink
Browse files

some readme

  • Loading branch information...
1 parent ac5b87d commit 9ce8915e81a07001b30805ca2e6db47bce3e81b1 @acslater00 acslater00 committed Jul 8, 2011
Showing with 32 additions and 0 deletions.
  1. +32 −0 README.txt
View
@@ -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
+
+
+

0 comments on commit 9ce8915

Please sign in to comment.