Module: Cotoha::Endpoint::NamedEntity

Included in:
Cotoha::Endpoint
Defined in:
lib/cotoha/endpoint/named_entity.rb

Instance Method Summary collapse

Instance Method Details

#named_entities(sentence:, type: nil, dict_type: nil) ⇒ Object



4
5
6
# 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