Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
evan committed Jul 20, 2007
1 parent 2b3ff7e commit 36e5cba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/ultrasphinx.rake
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ namespace :ultrasphinx do
tmpfile = "/tmp/custom_words.txt"
words = []
puts "Filtering"
File.open(Ultrasphinx:STOPWORDS_PATH).each do |line|
File.open(Ultrasphinx::STOPWORDS_PATH).each do |line|
if line =~ /^([^\s\d_]{4,}) (\d+)/
words << $1 if $2.to_i > 40 # XXX should be configurable
# ideally we would also skip words within X edit distance of a correction
Expand Down

0 comments on commit 36e5cba

Please sign in to comment.