lib/gnip-rule/rule.rb in gnip-rule-0.1.1 vs lib/gnip-rule/rule.rb in gnip-rule-0.2
- old
+ new
@@ -8,10 +8,9 @@
@value = value
@tag = tag
end
def valid?
- # See http://docs.gnip.com/w/page/35663947/Power%20Track
if contains_stop_word?(@value) || too_long?(@value) || contains_negated_or?(@value) || too_many_positive_terms?(@value) || contains_empty_source?(@value)
return false
end
true
end