summaryrefslogtreecommitdiff
path: root/src/www
AgeCommit message (Collapse)Author
2014-12-03Wide Coverage Translation Demo web app: updated to use App12.pgfhallgren
2014-09-09Wide Coverage Demo web app: use the App grammar instead of the Translate grammarhallgren
This gives faster but slightly lower quality translations.
2014-08-22src/www/robots.txt: robot exclusion file for the GF cloud service.hallgren
To reduce potential server load caused by search bots.
2014-06-24minibar: include the grammar's last modification in the grammar info shown ↵hallgren
by the "i" button Also bumped version number in gf.cabal to 3.6-darcs. Also removed some unecessary use of CPP.
2014-06-21Polished and renamed release notes to release-3.6.t2thallgren
Also added an example use of lookupmorpho to gf-web-api-examples.html.
2014-06-20Cloud service & apps: better error handling in wide coverage translationhallgren
The wide coverage demo apps now shows a "please wait" message while the grammar is loading, and a red error message if the grammar is not found on the server. The Simple Translation Tool also show red error messages if the grammar is not found.
2014-06-17gf-cloud-api.html: fix a broken linkhallgren
Thanks to Dana Dannells.
2014-05-15Simple Translator: fall back to word-for-word translation if the parser failshallgren
Same as in the Wide Coverage demo app.
2014-05-08Wide Coverage Demo Web App: bug fix: swapping source and target works againhallgren
2014-05-08Wide Coverage Demo Web App: bug fix: restore lost quality indications after ↵hallgren
switching target languages
2014-05-07Wide Coverage Demo App: show all Phrasebook translationshallgren
Also improve behaviour for languages that are missing in Phrasebook (Chinese). Also update the initial set of languages in the menus to match Translate11.pgf.
2014-04-29Wide Coverage Web Demo: fix bug introduced in previous patchhallgren
Word-for-word translations were shown in the wrong language after switching traget language.
2014-04-29Wide Coverage Demo App: translate to all available target langauges at oncehallgren
This means that the new translation is available instantly when switching target languages. It can also reduce space leaks problems in the server somewhat by avoiding repeated parsing of the source text.
2014-04-28Simple Translator: remove extra space before punctuationhallgren
2014-04-24Simple Translator: remove punctuation before wide coverage translationhallgren
This gives better translations with Translate11.pgf and is how the Wide Coverage Demo App works.
2014-04-17Wide Coverage Demo web app: more client side cachinghallgren
For example, you can now reorder paragraphs by cut & paste, without causing anything to be sent to the server for re-translation. Also some color & layout tweaks.
2014-04-16Wide Coverage Demo App: show a word-for-word translation if all else failshallgren
2014-04-11gftranslate.js: switch to Translate11.pgfhallgren
2014-04-11Wide Coverage Demo App (gftranslate.js): use a special lexer for Chinese.hallgren
2014-04-11Simple Translator: use colors to indicate translation qualityhallgren
2014-04-11Simple Translator: Use PGF API for (un)lexing instead of separate server callshallgren
Also, + Get up to 10 (instead of 5) alternative robust translations. + Remove duplicates from list of alternative robust translations + Add GF Cloud logo to the simple translator page
2014-04-10Wide Coverage Demo App: it now works ok without server caching of parse resultshallgren
2014-04-10improved generation of BNC dictionaries ; now called TopDictionary for clarityaarne
2014-04-09Wide Coverage Demo App: new buttons: to switch colors on/off & to try Google ↵hallgren
Translate
2014-04-09localstorage.js: bug fixhallgren
If you stored "false" and tried to retrieve it with a default value, you got the default value instead of "false".
2014-04-09Wide Coverage Demo App: use PGF service lexing/unlexinghallgren
It is now enough to make one server call per translation, and the results can cached by the browser.
2014-04-09Wide Coverage Demo App updateshallgren
+ Add Clear button. + Use localstorage to remember entered text between visits. + Add a link to it on the GF cloud service start page.
2014-04-08PGF web service: add lexer supporthallgren
The PGF web API commands parse, translate, translategroup, c-parse and c-translate now support a lexer parameter. Possible values are "text", "code" and "mixed". This is used in the Wide Coverage Demo App to save one server roundtrip.
2014-04-08Wide Coverage Demo App: remove quality markers ("+" or "*") before unlexinghallgren
Otherwise the first word won't be capitalized.
2014-04-08Wide Coverage Demo App: restore swap buttonhallgren
2014-04-07Wide Coverage Demo Web App: add segmentationhallgren
Click on sentences to choose among alternative translations.
2014-04-06Wide coverage demo app: show an error message even if the error string is emptyhallgren
2014-04-06Wide coverage demo app: show an error message if linearization failshallgren
2014-04-06gftranslate.js: use Translate10.pgfhallgren
2014-04-04Wide Coverage Translation Web App: redesigned user interfacehallgren
The layout now resembles a certain other online translation service. The translation is started automatically after text is entered, no need to press the Translate button.
2014-04-04gftranslate.js: increase length limit from 200 to 500 encoded byteshallgren
2014-04-04Simple Translator: show more alternatives when using GF robust translationhallgren
The maximum number of alternatives shown has been increased from 2 to 5 although it can slow down translation.
2014-04-04Slightly more informative error messages in translation web appshallgren
2014-03-31Wide coverage demo web app: green translations from Phrasebook.pgfhallgren
The demo web app now show translations from Phrasebook.pgf in green before translations from Translate8.pgf, which can be yellow or red.
2014-03-28Wide coverage demo web app improvementshallgren
+ Adapt language selection menus to the languages supported by the grammar. + Add translation quality colors to the links to alternative translations. + Also added more country codes in langcode.js (needed for speech synthesis voice selection).
2014-03-27Wide coverage demo web app: translation quality feedback with colorshallgren
The background color of the translation changes to pale green, yellow or red according to the quality. Two types of quality indications are supported: + From the grammar: linearizations starting with "+" or "*" are assumed to be of high or low quality, respectively. + From the parse tree: if the root function is "?", then the translation is assumed to be of low quality. If no quality indications are detected, medium quality is assumed.
2014-03-27support.js & gftranslate.js: improved handling of server errorshallgren
In support.js, the functions http_get_json, ajax_http_get_json and ajax_http_post_json now calls the supplied error callback if the server returns invalid JSON (e.g. because of a crash). The function gftranslate.translate in gftranslate.js returns a JSON value containing an error message (since it doesn't have an error callback). This should result in fewer situations where "nothing happens" and the user doesn't know if it is beacuse the server is slow, or if there was an error.
2014-03-17Wide coverage demo web app: add speech synthesishallgren
Works in Safari and Chrome.
2014-03-12support.js: For better error handling, always use AJAX, don't fallback to JSONPhallgren
Cross-origin requests are allowed by the PGF service and are supported in all modern browsers. See http://en.wikipedia.org/wiki/Cross-origin_resource_sharing
2014-02-19Wide coverage demo web app: add link to Google Translatehallgren
2014-02-19src/www/js/langcode.js: functions for converting language codeshallgren
factored out from src/www/translator/translator.js
2014-02-12Wide coverage demo: show up to 10 translationshallgren
The translations are loaded one at a time so you don't have to wait for all 10 to see the first one.
2014-02-11Work on web api & apps based on the C run-time systemhallgren
+ PGFService.hs: add command c-grammar, include probability in parse results + js/gftranslation.js: add start position and limit parameters, return more info to applications + Simple Translator: show two wide coverage translations + Wide coverage demo: show parse tree and probability (intended as grammar debugging aids)
2014-01-28Wide coverage translation web demo improvementshallgren
+ Add lexing/unlexing + Add a button to swap input and output + Minor layout adjustments
2014-01-21simple translator: Replaced 'GF Robust Parser' with 'GF Wide Coverage ↵hallgren
Translation' The interface to the wide coverage translation is in js/gftranslate.js and it assumes that the grammar is installed on the cloud server as /robust/Translate8.pgf. The list of supported languages is hardwired in gftranslate.js, since there is no support for obtaining this info from the C run-time system at the moment.