Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated README for the addition of stem and analyze

  • Loading branch information...
commit 78a8142b77371fa310b98806bf94bab2b47be982 1 parent ea86db4
Eric Hodel drbrain authored committed
Showing with 5 additions and 5 deletions.
  1. +5 −5 README.rdoc
10 README.rdoc
View
@@ -37,7 +37,10 @@ On Debian:
dict.check?("woked") # => false
dict.suggest("woked") # => ["woke", "worked", "waked", "woken", ...]
dict.suggest("qwss43easd") # => []
-
+
+ dict.stem("Baumkuchen") # => ["Baumkuchen"]
+ dict.analyze("Baumkuchen") # => [" st:Baumkuchen"]
+
# Modify the run-time dictionary:
dict.add("Geburtstagskuchen")
dict.remove("Fichte")
@@ -50,13 +53,10 @@ Full list of contributors: https://github.com/ahx/hunspell-ffi/contributors
Hereby placed under public domain, do what you want, just do not hold me accountable.
== Help wanted
-I hear Hunspell has some superpowers like stemming and some that i never even heard of.
-Maybe you want to help out to bring something of that power into the ruby world.
+Maybe we can think of a nice way to find to locate .dict files on a system or something.
Anyways, feel free to fork and send pull requests. kthxbye. Andreas.
The source is on GitHub: https://github.com/ahx/hunspell-ffi
=== TODOs
-Figure out how to use and add hunspell analyzing methods (analyze, stem ...)
-
Test on Windows
Please sign in to comment.
Something went wrong with that request. Please try again.