Description
Joshua and Joshua language packs include a web-based demonstration [1] that runs in a browser and contacts Joshua running as a server. The demo itself could be a lot prettier. There is also some additional functionality that would be nice to have:
Add phrase highlighting. For each translation, it would highlight phrasal translation features as a unit, and link them to the point in the source sentence.
Add better widgets for setting model weights (e.g., slider bars)
Add better tokenization of the input (a proper sentence-splitter, for example)
Prompt the user for a server connection at page-load time, dimming the screen until a proper connection is established
Add cookies that would store the last server connected to, and perhaps other information.
. There are also changes to Joshua that could be made to support fancier front-end features, such as:
Extend the JSON API to include alignments.
[1] : https://github.com/apache/incubator-joshua/tree/master/demo