vendor/bundle/ruby/2.4.0/gems/classifier-reborn-2.1.0/lib/classifier-reborn/bayes.rb
# Return the classification without the score
Return the classification without the score
Return the classification without the score
def classify(text)
      result, score = classify_with_score(text)
      result = nil if score < @threshold || score == Float::INFINITY if threshold_enabled?
      result
    end
def classify ( text ) result , score = classify_with_score ( text ) result = nil if score < @threshold || score == Float :: INFINITY if threshold_enabled? result end
Return the classification without the score
Return the classification without the score
text
<not_specific>