module Cotoha::Endpoint::Sentiment

Public Instance Methods

sentiment(sentence:) click to toggle source
# File lib/cotoha/endpoint/sentiment.rb, line 4
def sentiment(sentence:)
  post('/api/dev/nlp/v1/sentiment', sentence: sentence)
end