GSOC'16 Kira's results. Apertium website improvements: Docs diff

From Apertium
Revision as of 17:48, 13 August 2016 by Kiara (talk | contribs)
Jump to navigation Jump to search

Dictionary Lookup mode

Back-end:

URL Function Parameters Output
/dictionaryLookup Generate all possible forms of a word.
  • langpair: language pair to use for translation
  • q: word to perform task on
Returns all possible forms
curl -G --data "langpair=eng|spa&q=run" http://localhost:2737/dictionaryLookup
{"n": ["carrera"], "vblex": ["correr", "funcionar"]}

Front-end: