Module: Cotoha::Endpoint::Misrecognition

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

Instance Method Summary collapse

Instance Method Details

#detect_misrecognition(sentence:) ⇒ Object



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

def detect_misrecognition(sentence:)
  post('/api/dev/nlp/beta/detect_misrecognition', sentence: sentence)
end