module Cotoha::Endpoint::SentenceType

Public Instance Methods

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