Coreference Resolution

FREEMIUM
By BigLobster
Updated 2 months ago
Text Analysis
6/10
Popularity Score
457ms
Latency
100%
Success Rate

Coreference Resolution API Documentation

Find all expressions that refer to the same entity in a English language text.

View API Details
POSTResolve
POSTResolve

Get all clustering mentions from given text

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
textSTRING
REQUIREDText for prediction coreferenced clusters. Maximum length: 1.500 symbols.
Code Snippet
unirest.post("https://coreference-resolution.p.rapidapi.com/v1/resolve/")
.header("X-RapidAPI-Host", "coreference-resolution.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("text=Dylan told Mary that she looks great today. He was in love with her.")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://coreference-resolution.p.rapidapi.com/v1/resolve/
Request Method: POST
Response Headers
Response Body

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://coreference-resolution.p.rapidapi.com/v1/resolve/")
.header("X-RapidAPI-Host", "coreference-resolution.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("text=Dylan told Mary that she looks great today. He was in love with her.")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication