-
Notifications
You must be signed in to change notification settings - Fork 2
API documentation
REST API over Stanford CoreNLP framework to get results in NIF format. This API uses a system of profiles respecting the following pattern: extractor_language_setting. Where extractor correspond to one of the available methods. Next, language must be the language for which Stanford CoreNLP will be set, and name is the name of the setting.
Extract and type entities from a document by using the Coref annotator. In order to know which profiles are available you have to retrive the list by querying the /profiles method.
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
lang |
Language of the submited document |
string |
|
Query |
setting |
Setting to use to extract the entities |
string |
|
Body |
document |
The document or URL (pointing to a HTML document) to process |
HTTP Code | Description | Schema |
---|---|---|
200 |
Successful response in NIF format |
No Content |
default |
Unexpected error |
Extract and type entities from a document by using the Date annotator. In order to know which profiles are available you have to retrive the list by querying the /profiles method.
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
lang |
Language of the submited document |
string |
|
Query |
setting |
Setting to use to extract the entities |
string |
|
Body |
document |
The document or URL (pointing to a HTML document) to process |
HTTP Code | Description | Schema |
---|---|---|
200 |
Successful response in NIF format |
No Content |
default |
Unexpected error |
Extract and type entities from a document by using the Gazetteer annotator. In order to know which profiles are available you have to retrive the list by querying the /profiles method.
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
lang |
Language of the submited document |
string |
|
Query |
setting |
Setting to use to extract the entities |
string |
|
Body |
document |
The document or URL (pointing to a HTML document) to process |
HTTP Code | Description | Schema |
---|---|---|
200 |
Successful response in NIF format |
No Content |
default |
Unexpected error |
Extract and type entities from a document by using the NER annotator. In order to know which profiles are available you have to retrive the list by querying the /profiles method.
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
lang |
Language of the submited document |
string |
|
Query |
setting |
Setting to use to extract the entities |
string |
|
Body |
document |
The document or URL (pointing to a HTML document) to process |
HTTP Code | Description | Schema |
---|---|---|
200 |
Successful response in NIF format |
No Content |
default |
Unexpected error |
Extract and type entities from a document by using the Number annotator. In order to know which profiles are available you have to retrive the list by querying the /profiles method.
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
lang |
Language of the submited document |
string |
|
Query |
setting |
Setting to use to extract the entities |
string |
|
Body |
document |
The document or URL (pointing to a HTML document) to process |
HTTP Code | Description | Schema |
---|---|---|
200 |
Successful response in NIF format |
No Content |
default |
Unexpected error |
Extract and type entities from a document by using the POS annotator. In order to know which profiles are available you have to retrive the list by querying the /profiles method.
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
lang |
Language of the submited document |
string |
|
Query |
setting |
Setting to use to extract the entities |
string |
|
Body |
document |
The document or URL (pointing to a HTML document) to process |
HTTP Code | Description | Schema |
---|---|---|
200 |
Successful response in NIF format |
No Content |
default |
Unexpected error |
Type | Name | Description | Schema |
---|---|---|---|
Path |
fullName |
Full name of a profile respecting the format: extractor_language_name |
string |
HTTP Code | Description | Schema |
---|---|---|
200 |
Successful response in JSON format |
No Content |
default |
Unexpected error |
HTTP Code | Description | Schema |
---|---|---|
200 |
Successful response in JSON format |
No Content |
default |
Unexpected error |
Extract and type entities from a document by using the Tokenize annotator. In order to know which profiles are available you have to retrive the list by querying the /profiles method.
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
lang |
Language of the submited document |
string |
|
Query |
setting |
Setting to use to extract the entities |
string |
|
Body |
document |
The document or URL (pointing to a HTML document) to process |
HTTP Code | Description | Schema |
---|---|---|
200 |
Successful response in NIF format |
No Content |
default |
Unexpected error |