summaryrefslogtreecommitdiff
path: root/src/www
AgeCommit message (Collapse)Author
2024-11-26Update robots.txtKrasimir Angelov
2022-05-31use a relative link to WordNetKrasimir Angelov
2021-07-26added link to vis-network.min.jskrangelov
2021-07-26fix links to WordNetkrangelov
2020-07-21added function for posting query strings. scales better than get.krangelov
2020-07-21allow specifying content-type in ajax_httpkrangelov
2020-01-28rename the WordNet module when creating a new languagekrangelov
2020-01-28added link to WordNetkrangelov
2020-01-24added plugin for search in WordNetkrangelov
2019-12-03GF cloud: GFMorpho: responsive layout improvement for small screensThomas Hallgren
2019-12-03GF Cloud: add Word inflection with smart paradigmsThomas Hallgren
This is a reimplemention of Aarne's GFMorpho service from 2012, using the GF shell web API. Not all features are implemented (yet).
2019-11-21Minibar: make it possible to configure a list of preferred grammarsThomas Hallgren
A preferred grammar is selected when a user visits the Minibar for the first time. (Like before, Minibar remembers the selected grammar for future visits.) A preferred list of grammars can be specified in config.js in the .../minibar directory on the server, e.g. like this: preferred_grammars=["/grammars/Foods.pgf","/grammars/ResourceDemo.pgf"] The first available grammar from the list is used.
2019-08-21Minibar: support for links to open a given grammar in the minibarThomas Hallgren
When you press the "i" or "More info" button for a grammar, the info now includes a link that can be used by anyone to open this specific grammar in the minibar.
2019-08-05Minibar can now display grammar documentation.Thomas Hallgren
The documentation is taken from a file called Grammar.pgf_info, located next to the Grammar.pgf file on the server. The first line of the documentation is displayed below the menu bar in the minibar. The rest of the documentation is displayed when you press the "More info" button (or the "i" button). The documentation can contain HTML markup. Blank lines are treated as paragraph breaks.
2019-01-21gfse: prevent scrolling during drag-and-drop on iOSThomas Hallgren
Applies to webkit-based browsers on other touch-based platforms too
2018-10-10Comment out links to some old demos that no longer workThomas Hallgren
2018-03-29gfse: show grammar comments in the list of public grammarsThomas Hallgren
gf -server now includes the comment field from the grammar in the response to /cloud requests with command=ls-t and ext=.json
2018-03-29gfse: allow public grammars to be deleted in more casesThomas Hallgren
The editor doesn't show delete buttons on grammars published by other users, but it was too picky when deciding which grammars you own. Now it should be possible to delete grammars from the device/browser you published it from, even if you don't have a private copy of it any more. On a related note, there seems to be problem with the way unique grammars names are created and maintained, causing published grammars to be duplicated in some cases. This needs to be overhauled.
2018-03-29gfse: fix for some browser: hovering over an empty grammar comment to edit itThomas Hallgren
This was a problem in Safari (an other similar browsers I presume), but not in Firefox: hovering over the grammar comment (shown below the grammar name when you edit a grammar) didn't reveal the button to edit it, thus preventing you from adding a comment. It was till possible by selecting the "Enable editing on touch devices." at the bottom of the screen, but most people probably didn't notice that it is possible to add a comment.
2018-03-29gfse: sort list of public grammars by age, by defaultThomas Hallgren
There is also a menu so you can choose to sort the list by name or by age
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).