GetKeyTopics
Definition
Returns the key topics (disambiguated phrases and score) of the input text.
Request Parameters
POST https://nlp.klangoo.com/Service.svc/GetKeyTopics
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) |
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) |
keyTopics |
Generated key topics for the text provided |
text |
The text of each topic |
score |
The score of this topic in the provided text |
words |
The words in the topic |
token |
The word text |
conceptID |
The word concept reference number in Magnet’s semantic network |
wikiUD |
Wikipedia URL (if available) |
Comments
0 comments
Article is closed for comments.