Difference between revisions of "User:Kiara"
| Line 84: | Line 84: | ||
{| class="wikitable" border="1" |
{| class="wikitable" border="1" |
||
|- |
|- |
||
! Language |
|||
! langdetect code |
|||
! Apertium code |
! Apertium code |
||
! langdetect code |
|||
! Language |
|||
|- |
|- |
||
| |
| |
||
| Line 116: | Line 116: | ||
| |
| |
||
|- |
|- |
||
| da, de, el, en, es, et, fa, fi, fr, gu, he, |
|||
hi, hr, hu, id, it, ja, kn, ko, lt, lv, mk, ml, mr, ne, nl, no, pa, pl, |
|||
pt, ro, ru, sk, sl, so, sq, sv, sw, ta, te, th, tl, tr, uk, ur, vi, zh-cn, zh-tw |
|||
| |
| |
||
|da |
|||
| |
|||
|- |
|||
| |
|||
|de |
|||
| |
|||
|- |
|||
| |
|||
|el |
|||
| |
|||
|- |
|||
| |
|||
|en |
|||
| |
|||
|- |
|||
| |
|||
|es |
|||
| |
|||
|- |
|||
| |
|||
|et |
|||
| |
|||
|- |
|||
| |
|||
|fa |
|||
| |
|||
|- |
|||
| |
|||
|fi |
|||
| |
|||
|- |
|||
| |
|||
|fr |
|||
| |
|||
|- |
|||
| |
|||
|gu |
|||
| |
|||
|- |
|||
| |
|||
|he |
|||
| |
|||
|- |
|||
| |
|||
|hi |
|||
| |
|||
|- |
|||
| |
|||
|hr |
|||
| |
|||
|- |
|||
| |
|||
|hu |
|||
| |
|||
|- |
|||
| |
|||
|id |
|||
| |
|||
|- |
|||
| |
|||
|it |
|||
| |
|||
|- |
|||
| |
|||
|ja |
|||
| |
|||
|- |
|||
| |
|||
|kn |
|||
| |
|||
|- |
|||
| |
|||
|ko |
|||
| |
|||
|- |
|||
| |
|||
|lt |
|||
| |
|||
|- |
|||
| |
|||
|lv |
|||
| |
|||
|- |
|||
| |
|||
|mk |
|||
| |
|||
|- |
|||
| |
|||
|ml |
|||
| |
|||
|- |
|||
| |
|||
|mr |
|||
| |
|||
|- |
|||
| |
|||
|ne |
|||
| |
|||
|- |
|||
| |
|||
|nl |
|||
| |
|||
|- |
|||
| |
|||
|no |
|||
| |
|||
|- |
|||
| |
|||
|pa |
|||
| |
|||
|- |
|||
| |
|||
|pl |
|||
| |
|||
|- |
|||
| |
|||
|pt |
|||
| |
|||
|- |
|||
| |
|||
|ro |
|||
| |
|||
|- |
|||
| |
|||
|ru |
|||
| |
|||
|- |
|||
| |
|||
|sk |
|||
| |
|||
|- |
|||
| |
|||
|sl |
|||
| |
|||
|- |
|||
| |
|||
|so |
|||
| |
|||
|- |
|||
| |
|||
|sq |
|||
| |
|||
|- |
|||
| |
|||
|sv |
|||
| |
|||
|- |
|||
| |
|||
|sw |
|||
| |
|||
|- |
|||
| |
|||
|ta |
|||
| |
|||
|- |
|||
| |
|||
|te |
|||
| |
|||
|- |
|||
| |
|||
|th |
|||
| |
|||
|- |
|||
| |
|||
|tl |
|||
| |
|||
|- |
|||
| |
|||
|tr |
|||
| |
|||
|- |
|||
| |
|||
|uk |
|||
| |
|||
|- |
|||
| |
|||
|ur |
|||
| |
|||
|- |
|||
| |
|||
|vi |
|||
| |
|||
|- |
|||
| |
|||
|zh-cn |
|||
| |
|||
|- |
|||
| |
|||
|zh-tw |
|||
| |
| |
||
|} |
|} |
||
Revision as of 09:24, 6 July 2016
Kiara's page
Suggestion task:
Notes
1. How to work with APY from the command line: http://wiki.apertium.org/wiki/APY#Usage
2. How to launch Suggestions from the command line https://github.com/goavki/apertium-html-tools/pull/35
Suggestion docs:
This is for the apy page
use ./servlet.py /usr/local/share/apertium/ --wiki-username=WikiUsername --wiki-password=WikiPassword -rs=YourRecaptchaSecret to run apy in google reCaptcha mode
- -b --bypass-token: testing token is generated to bypass recaptcha
| URL | Function | Parameters | Output |
|---|---|---|---|
| /suggest | Generate a suggestion on target wiki-page using a testing token. |
|
Returns the status. If "Success", the suggestion is posted on the target wiki-page.
Note that the correct wiki-page url is required (wiki_util.py)
Note that correct keys are required when starting apy and in the html-tools config file. curl --data 'context=otro+mundo&word=*mundo&newWord=MUNDO&langpair=esp|eng&g-recaptcha-response=testingToken' http://localhost:2737/suggest
{"responseStatus": 200, "responseData": {"status": "Success"}, "responseDetails": null}
|
This is for the html-tools page:
- ENABLED: turns on the suggestion mode (True/False)
- RECAPTCHA_SITE_KEY: recaptcha site key which can be obtained by registration at https://developers.google.com/recaptcha/
- CONTEXT_WRAP: a number of context words from the left
Speller backlog:
1. Localize 'Any ideas?' fixed and question
2. Punctuation fixed
3. Documentation
4. Button glitch fixed
5. Hovering over a misspelled word highlights it in black, with a second underline. fixed
6. After a word has been updated, it stays red, even though the underline disappears fixed
7. An error message for missed -translate mode fixed and question
| Apertium code | langdetect code | Language |
|---|---|---|
| af | ||
| ar | ||
| bg | ||
| bn | ||
| ca | ||
| cs | ||
| cy | ||
| da | ||
| de | ||
| el | ||
| en | ||
| es | ||
| et | ||
| fa | ||
| fi | ||
| fr | ||
| gu | ||
| he | ||
| hi | ||
| hr | ||
| hu | ||
| id | ||
| it | ||
| ja | ||
| kn | ||
| ko | ||
| lt | ||
| lv | ||
| mk | ||
| ml | ||
| mr | ||
| ne | ||
| nl | ||
| no | ||
| pa | ||
| pl | ||
| pt | ||
| ro | ||
| ru | ||
| sk | ||
| sl | ||
| so | ||
| sq | ||
| sv | ||
| sw | ||
| ta | ||
| te | ||
| th | ||
| tl | ||
| tr | ||
| uk | ||
| ur | ||
| vi | ||
| zh-cn | ||
| zh-tw |