Difference between revisions of "User:Mono/GSoC 2017"
Jump to navigation
Jump to search
Line 42: | Line 42: | ||
* <code>translation lookup</code> turns on webpage translation mode. |
* <code>translation lookup</code> turns on webpage translation mode. |
||
=== Future Work === |
|||
1. The screenshot of the current state of interface can be found [http://www.example.com here]. |
|||
2. The interface is pretty much functional. However, one of the tasks that would be involved in the future work is making use of a form handler while submitting the URL links for translation. |
Revision as of 14:30, 27 August 2017
Contents
Webpage Translation mode
An interface that lets the user to input a URL, choose a source and a destination language and translate the webpage.
Code
APy
Html-tools
Documentation
APy
URL | Function | Parameters | Output |
---|---|---|---|
/translatePage | Translates a webpage |
|
Returns the translated webpage
curl -Ss 'http://localhost:2737/translatePage?langpair=eng|spa&url=http://facebook.com' |
Html-tools
ENABLED_MODES: an array of the enabled interfaces, a non-empty subset of ['translation', 'analyzation', 'generation', 'sandbox', 'lookup']
translation lookup
turns on webpage translation mode.
Future Work
1. The screenshot of the current state of interface can be found here. 2. The interface is pretty much functional. However, one of the tasks that would be involved in the future work is making use of a form handler while submitting the URL links for translation.