GetSummary
Definition
Returns an extracted summary of the input text.
Request Parameters
POST: https://nlp.klangoo.com/Service.svc/GetSummary
Parameter |
Description |
calk |
A string containing the api key |
text |
A string representing the text to process |
lang optional |
A string representing the text language (ISO 639-1 language codes). If not specified, the system will detect the language. (see supported languages document) |
percentage optional |
a number representing the percentage of summary. Between 0 and 100. |
format optional |
The format of the response. The supported formats are “xml” and “json”. Default: “xml” |
timestamp generated |
A datetime added automatically by the API client helper. This parameter is added automatically by the API client helper. |
signature generated |
The request signed using the secret key. This parameter is added automatically by the API client helper. |
Response
Attribute |
Description |
method |
Indicates the method name |
status |
Indicates the status of the response. Possible values “OK” and “ERROR” |
error |
Indicates an error if one occurred |
errorNo |
Indicates the error number if error occurred |
errorMessage |
Indicates the error message if error occurred |
quota |
Indicates the number of remaining calls for this CALK for Today |
lang |
Indicates the language of the text (ISO 639-1 language codes) |
summary |
Generated summary for the requested article id or text |
Comments
0 comments
Article is closed for comments.