Difference between revisions of "User:Kiara"
Line 58: | Line 58: | ||
*RECAPTCHA_SITE_KEY: recaptcha site key which can be obtained by registration at https://developers.google.com/recaptcha/ |
*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 |
*CONTEXT_WRAP: a number of context words from the left |
||
* {{suggest|spa|eng|jo world hombreu|hombreu|xzxzxzxz}} |
|||
----------------------------------------------------- |
|||
* {{suggest|esp|eng|otro mundo|*mundohgg|MUNDO}} |
|||
* {{suggest|esp|eng|otro mundo|*mundo|MUNDO}} |
|||
Speller backlog: |
|||
* {{suggest|rus|bel|Я ппп|ппп|ппппппп}} |
|||
1. Localize 'Any ideas?' |
|||
* {{suggest|rus|bel|Я ппп ааа|ааа|вссвсвс}} |
|||
2. Punctuation |
|||
* {{suggest|bel|rus|дворянского рода. Появлялся один о крупнейших полярных|один|один probably}} |
|||
3.Documentation |
|||
* {{suggest|bel|rus|экспедиции 1900—1902 годов организовать собственную экспедицию для|организовать|организовать ?}} |
|||
* {{suggest|bel|rus|экспеди*ции 1900—1902 годов|зовать|уууу}} |
|||
----------------------------------------------------- |
|||
* {{suggest|rus|bel|экспедыцыі 1900—1902 гадоў оргонизовать уласную экспедыцыю для|оргонизовать|ываываыва}} |
|||
* {{suggest|esp|eng|otro mundo|*mundo|MUNDO}} |
|||
* {{suggest|esp|eng|otro mundo|*mundo|MUNDO}} |
|||
* {{suggest|esp|eng|*mundo|MUNDO|otro mundo}} |
|||
* {{suggest|rus|bel|оргонизовать|няняня|экспедыцыі 1900—1902 гадоў оргонизовать уласную экспедыцыю для}} |
|||
* {{suggest|bel|rus|Руска-японскай|Русско-японской|его избавления. Участник Руска-японскай войны. У час}} |
|||
* {{suggest|spa|eng|Mio|wsxcderfvbbgg|Mio Is white}} |
|||
* {{suggest|spa|eng|Mio|123123|Mio Is white}} |
|||
* {{suggest|spa|eng|mia|12321132|Mio Is white mia ddd eee}} |
|||
* {{suggest|rus|bel|оргонизовать|111|экспедыцыі 1900—1902 гадоў оргонизовать уласную экспедыцыю для}} |
|||
* {{suggest|rus|bel|оргонизовать|111|экспедыцыі 1900—1902 гадоў оргонизовать уласную экспедыцыю для}} |
|||
* {{suggest|rus|bel|оргонизовать|111|экспедыцыі 1900—1902 гадоў оргонизовать уласную экспедыцыю для}} |
|||
* {{suggest|rus|bel|оргонизовать|111|экспедыцыі 1900—1902 гадоў оргонизовать уласную экспедыцыю для}} |
|||
* {{suggest|rus|bel|оргонизовать|1233|экспедыцыі 1900—1902 гадоў оргонизовать уласную экспедыцыю для}} |
Revision as of 22:46, 30 June 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?' 2. Punctuation 3.Documentation