module Cotoha::Endpoint::NamedEntity

Public Instance Methods

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