module Cotoha::Endpoint::Parse

Public Instance Methods

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