close
Warning:
Can't synchronize with repository "(default)" (/usr/local/svn/deb2-client does not appear to be a Subversion repository.). Look in the Trac log for more information.
- Timestamp:
-
Jul 15, 2009, 1:35:47 PM (15 years ago)
- Author:
-
Adam
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v29
|
v30
|
|
161 | 161 | |
162 | 162 | '''Response:''' (JSON encoded) recommended_sense = number of the next free sense number for given literal |
| 163 | |
| 164 | == "Translate" synsets == |
| 165 | |
| 166 | '''Request:''' ''servername''/''dictionary_code''?action=translate&query=''search_query''&target=''targetWN'' |
| 167 | |
| 168 | dictionary_code:: |
| 169 | source language |
| 170 | |
| 171 | search_query:: |
| 172 | search query, must be URL encoded UTF-8, same as for "Querying dictionary" |
| 173 | |
| 174 | target:: |
| 175 | target language, wordnet dictionary code |
| 176 | |
| 177 | '''Response:''' (JSON encoded) arrays "original" and "translated" with the list of synsets in source and target language (same structure as for "Querying dictionary") |