lib/lunar/stopwords.rb in lunar-0.5.0 vs lib/lunar/stopwords.rb in lunar-0.5.1
- old
+ new
@@ -1,5 +1,7 @@
module Lunar
+ # @private Internally used by {Lunar::Words} to filter out
+ # common words like an, the, etc.
module Stopwords
def include?(word)
stopwords.include?(word)
end