GET api/Lexer/Synonyms?word={word}&lang={lang}&POS={POS}
Returns the list of synonyms (if existing) of the word (word: must be in root/neutral form, no inflection)
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| word |
the base word for the search, in root-neutral form (not inflected) |
string |
Required |
| lang |
the corresponding ISO-2 language code (lowercase) |
string |
Default value is es |
| POS | string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
Collection of stringResponse Formats
application/json, text/json
Sample:
[ "el pensaria rappido oy a la manana, mienntras la vayema estara afuerra kon andres a la bista.", "es" ]
application/xml, text/xml
Sample:
<ArrayOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <string>el pensaria rappido oy a la manana, mienntras la vayema estara afuerra kon andres a la bista.</string> <string>es</string> </ArrayOfstring>