Language Detection Service
Language Detection Service
The methods available in this section allow you to call the language of a given text, file or URL.
Details find in these pages:
Web Service Method: Detect Text Language
Web Service Method: Detect Text Language
Description |
---|
[text] Detects the language from a given text. |
URL: /extractor/api/detectLanguage
Supported Methods |
---|
POST |
GET |
application/x-www-form-urlencoded
Parameter | Description | Type | Required |
---|---|---|---|
text | Text where language should be detected. | String | true |
This method returns execution results in JSON format.
Web Service Method: Detect URL Language
Web Service Method: Detect URL Language
Description |
---|
[url] Detects the language from a given url. |
URL: /extractor/api/detectLanguage
Supported Methods |
---|
POST |
GET |
application/x-www-form-urlencoded
Parameter | Description | Type | Required |
---|---|---|---|
url | URL where language should be detected | String | true |
This method returns execution results in plain text format.
Web Service Method: Detect File Language
Web Service Method: Detect File Language
Description |
---|
[file] Detects the language from a file upload. |
URL: /extractor/api/detectLanguage
Supported Methods |
---|
POST |
application/x-www-form-urlencoded
Parameter | Description | Type | Required |
---|---|---|---|
file | File where language will be detected (word, excel, powerpoint, pdf, open documents) - Mimetype of file must be 'multipart/form-data' | MultipartFile | true |
This method returns execution results in plain text format.