Browse files

Added documentation on the stem_proc configuration variable.

  • Loading branch information...
1 parent a7ef8b5 commit d628c08f1d56fef8254a80038a5aa7956dded23b @compiled compiled committed Nov 23, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 README.md
View
4 README.md
@@ -133,6 +133,10 @@ Alternatively, you can create an initializer to setup those options:
## Stem keywords
config.stem_keywords = false
+ ## Add a custom proc returning strings to replace the default stemmer
+ # For example using ruby-stemmer:
+ # config.stem_proc = Proc.new { |word| Lingua.stemmer(word, :language => 'nl') }
+
## Words to ignore
config.ignore_list = []

0 comments on commit d628c08

Please sign in to comment.