summaryrefslogtreecommitdiff
path: root/src/www
AgeCommit message (Collapse)Author
2017-05-05minibar_translations.js: remove dead codehallgren
2017-02-10langcode.js: updated to include codes for recently added RGL languageshallgren
2016-06-17Wide Coverage Translation Demo: switch to App16.pgf (adds Russian)john.j.camilleri
2016-06-16A few documentation updateshallgren
gf.cabal: include more GHC versions in the Tested-Width field.
2016-06-16gf-web-api.t2t: document command=deptree (for word dependency diagrams)hallgren
Also add a few paragraphs listing undocumented commands and briefly describing the commands that use the C run-time system.
2016-06-16src/www/gf-web-api.t2t: Web API docs rescued from the Google Code graveyardhallgren
This is the GFWebServiceAPI.wiki rescued from the Google Code Archive, converted to txt2tags format, with an updated introduction.
2016-06-15GF cloud: more readable formatting of the GF version pagehallgren
Factor out common CSS from gfse/editor.css into clouds.css.
2016-06-09minibar: define grammar_list in config.js to restrict the grammar menuhallgren
minibar.html now reads config.js and if it defines grammar_list, only the grammars listed there will show up in the grammar menu.
2016-06-09PGF service & minibar: only show dependency diagrams if the labels are knownhallgren
+ The PGF service now reads and caches dependency label configuration files. + The grammar info returned by command=grammar has a new boolean field 'hasDependencyLabels' to indicate if dependency labels were found for the grammar. Also, command=deptree will now fail if no labels are present. + The minibar only shows word dependency trees if labels are present. + Also changed the type of getDepLabels from [String] -> Labels to String -> Labels, since all uses were in the form "getDepLabels . lines".
2016-06-08Minibar: show word dependecy diagramshallgren
They are now included in the cycle of images shown when clicking on the parse tree icon.
2016-06-06Minibar: remove spaces for better Thai speech synthesishallgren
2016-06-05Minibar: detect the language for show speech synthesis buttons in more caseshallgren
This was done to obtain speech synthesis for more languages in the Numerals grammar, which uses neither language flags nor the standard naming for concrete syntax.
2016-05-19Wide Coverage Translation Demo: improvements relating to application grammarshallgren
* Automatically update the translations when the set of selected application grammars is changed. * Skip application grammars that do not support the currently selected source & target languages.
2016-05-16Wide Coverage Translation Demo: a couple of small fixeshallgren
Add missing initalization after a new application grammar has been selected. Add an "X" close button in the upper left corner of the grammar selection popup.
2016-05-16Wide Coverage Translation Demo: you can now reorder the application grammarshallgren
When selecting which application grammars to use for translation, after pressing the "Grammars..." button, it is now possible to change the order of the selected grammars by dragging them up and down in the list.
2016-05-16gfse/sort.js: enable dragging on touch screenshallgren
2016-05-13Add a few missing languages in js/langcode.js. Use it also in gfse/editor.js.hallgren
gfse/editor.js had its own list with 34 languages, while js/langcode.js only had 30 languages. The missing languages have been added to js/langcode.js and all apps now use that list.
2016-05-12Wide Coverage Translation Demo: select application grammars to use from a listhallgren
There is now a new button "Grammars..." which show a list where users can select which application grammars to use for translation, in addition to the wide coverage grammar. Application grammars can give higher quality translations in the domain they cover. TODO: make it possible control the order of the selected application grammars.
2016-05-12langcode.js: add Afrikaanshallgren
2016-05-12translator.css: factor out div.overlay styles to a separate file overlay.csshallgren
2016-04-13Minibar: don't show dependency information in parse trees.hallgren
This was fixed by adding "&nodep=true" in the minibar when it requests a parse tree from the server. The reason dependency information got included in the first place was that all rendering options are on by default in command=parsetree requests in PGF service API.
2016-04-03GFSE: add Latvian to the list of RGL languageshallgren
2016-01-19GFSE: add Afrikaans to the list of available RGL languages.hallgren
2015-12-11feedback.cgi: exclude empty submission when showing the feedback listhallgren
2015-12-10Wide Coveage Translation Demo: sort parse results by probabilityhallgren
Because of the "heurisitc factor", the results returned by the parser might not be in strict probability order. To compensate, a sorting pass has been added to find and show the translation with the highest probability among the 10 first translations. However, this means that the translation demo now immediately has to ask for 10 translations of every segment. Before, it initially asked for only one translation of every segment, and then 9 more translations for a segment when/if the user clicked on it. This change can slow down translation noticeably (e.g. from 15s 30s to load an example with fiction in English).
2015-12-10Simple Translation Tool: bug fixhallgren
"File/Open In Wide Coverage Translation Demo" stopped working when support for using different grammars in the Wide Coverage Translation Demo was added On September 2.
2015-11-27Wide coverage translation demo: updated to use App15.pgfhallgren
2015-09-02Wide coverage translation demo: make it easier to use with different grammarshallgren
2015-07-15Wide Coverage Demo: avoid errors if d3 or d3Tree can't be loadedhallgren
2015-05-27Wide Coverage Translation Demo: add buttons for speech outputhallgren
Also fixed a problem with showing inflections for words containing underscores (e.g. race_2_N).
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.