Permalink
Browse files

more README

  • Loading branch information...
1 parent 1093aed commit 57c40ab484f7966816ed12cc9423220b765de1db @acslater00 acslater00 committed Jul 8, 2011
Showing with 4 additions and 2 deletions.
  1. +4 −2 README.textile
View
6 README.textile
@@ -59,8 +59,10 @@ h3. TOKEN SET RATIO
h3. PROCESS
<pre><code>> choices = ["Atlanta Falcons", "New York Jets", "New York Giants", "Dallas Cowboys"]
-> process.extractOne(choices, "cowboys")
-("Dallas Cowboys", 90)
+> process.extract("new york jets", choices, limit=2)
+ [('New York Jets', 100), ('New York Giants', 78)]
+> process.extractOne("cowboys", choices)
+ ("Dallas Cowboys", 90)
</code></pre>
h2. License

0 comments on commit 57c40ab

Please sign in to comment.