lib/sad_panda/emotions/stopwords.rb in sad_panda-0.2.0 vs lib/sad_panda/emotions/stopwords.rb in sad_panda-0.2.1
- old
+ new
@@ -1,7 +1,7 @@
module Stopwords
- # common english words are hard-coded as an array - is there a more efficient way to do this?
+ # common english words
def self.stopwords
%w{i a a's able about above according accordingly across actually after
afterwards again against ain't all allow allows almost alone along already also although
always am among amongst an and another any anybody anyhow anyone anything anyway anyways
anywhere apart appear appreciate appropriate are aren't around as aside ask asking associated
@@ -37,6 +37,6 @@
well went were weren't what what's whatever when whence whenever where where's whereafter whereas whereby
wherein whereupon wherever whether which while whither who who's whoever whole whom whose why will willing wish
with within without won't wonder would would wouldn't x y yes yet yo you you'd you'll you're you've your yours
yourself yourselves z zero}
end
-end
\ No newline at end of file
+end