Module: Cotoha::Endpoint::Coreference

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

Instance Method Summary collapse

Instance Method Details

#coreference(document:, type: nil, do_segment: false) ⇒ Object



4
5
6
# File 'lib/cotoha/endpoint/coreference.rb', line 4

def coreference(document:, type: nil, do_segment: false)
  post('/api/dev/nlp/v1/coreference', document: document, type: type, do_segment: do_segment)
end