summaryrefslogtreecommitdiff
path: root/src/www
AgeCommit message (Collapse)Author
2015-05-27minibar: moved 2 reusable functions from minibar_translations.js to ↵hallgren
minibar_support.js
2015-05-21Fixed a problem with minibar when invoked from gfse or the syntax editorhallgren
Minibar needs js/langcode.js now, so need to include it in gfse/index.html and syntax-exitor/editor.html too.
2015-05-19minibar: cosmetic fix for the "To:" menuhallgren
2015-05-19minibar: more work on speech outputhallgren
2015-05-18minibar: speech output (experimental) (in browsers that support it)hallgren
2015-05-18minibar: use SVG instead of PNG for trees and alignment diagrams if ↵hallgren
supported by the browser
2015-05-18GF cloud: updated lists of supported RGL languages and some minor style updateshallgren
2015-04-16Wide Coverage Translation Demo: length limit test uses # of source chars nowhallgren
The length limit test previously used the URL-encoded UTF-8 representation of the source sentense. This was needed because of a fixed size buffer in C. Now that the server is in Haskell, the only reason the length is limited is to avoid excessive time and space use in the parser, so it is better to count source characters. This also avoids being too restrictive with non-European languages.
2015-04-09Wide coverage translation demo: show an informative error message for ↵hallgren
sentences that exceed the length limit
2015-03-24Wide Coverage Translation Demo: zoomable panable collapsible syntax treeshallgren
This is an experimental solution using JavaScript code from https://github.com/christos-c/tree-viewer, d3js.org and jquery.com.
2015-03-22Wide Coverage Translation Demo: add a way to obtain inflection tableshallgren
Too see inflection tables, click on a translated sentense, then click on a blue function name in the textual representation of the abstract syntax tree.
2015-03-19Wide Coverage Translation Demo: draw abstract trees and parse treeshallgren
You can now click on a tree to toggle between the abstract syntax tree and the parse tree. Also, the implementation now uses the new C run-time requests, e.g. App14.pgf?command=c-abstrtree&tree=... so no need to install AppEng.pgf on the server any more.
2015-03-18Wide Coverage Translation Demo: draw syntax treeshallgren
The trees are drawn by using the Haskell run-time request AppEng.pgf?command=abstrtree&tree=... Thus AppEng.pgf has to be installed on the server and in sync with App14.pgf. This is to avoid loading the huge App14.pgf in the Haskell run-time system, and is enough since we only need the abstract syntax.
2015-03-11Wide Coverage Translation Demo: improved performancehallgren
For improved performance, request only one translation from the server initially. When the user clicks on a translated sentense, request 9 more translations.
2015-03-06Simple Translation tool: add File menu command 'Open in Wide Coverage ↵hallgren
Translation Demo' Just as a quick way to test different documents in the Wide Coverage Translation Demo.
2015-02-25Wide Coverage Translation Demo: better resizing behavior on startup and when ↵hallgren
pasting text
2015-02-20gftransate.js: increase sentence length limit for "fast" language to 500hallgren
Currently Bul, Chi, Eng and Swe are marked as "fast" in the documentation.
2015-02-20gftranslate.js: reduce sentense length limit to 200 (URL encoded) charactershallgren
This limit might still be to high to avoid excessive time/space use in the parser for certain languages in the wide coverage translation grammar.
2015-02-18Wide Coverage Translation Demo: use App14.pgf, remove spaces from Chi, Jpn ↵hallgren
and Tha output
2015-01-21Wide Coverage Translation Demo: use App13.pgf, adding support for Japanesehallgren
Japanese uses the same lexer as Chinese, i.e. every character is a separate token.
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