summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-06-10command option ma -known to drop unknown wordsaarne
2012-06-08More detailed version info in the output of "gf -version"hallgren
2012-06-08translator.css: restore lost width of input fieldhallgren
2012-05-30More detailed version info in the startup messagehallgren
The Setup.hs script now queries darcs to create more detailed version info to include in the startup message. Note thought that with distributed version control systems like darcs, the only way to uniquely identify a version is by the set of patches included. Since the patches are not totally ordered, just looking at the last patch is not enough. For official releases, we tag the current set of patches so we can refer to it by name (e.g. RELEASE-3.3.3).
2012-05-29translator: segment imported text based on punctuationhallgren
2012-05-28translator: better support for ambiguous translationshallgren
The translator picks "the first" translation by default, but the user can choose among the generated translations from a popup menu.
2012-05-28GFServer.hs: apply UTF8 encoding when saving uploaded fileshallgren
This fixes a bug introduced on May 16.
2012-05-27translator: adding "Parallel texts" viewhallgren
This is in addition to the existing "Segment by Segment" view. Also some minor documentation updates.
2012-05-27gf -server: remove debug outputhallgren
2012-05-25translator: you can now import text by copying and pastinghallgren
2012-05-25the viterbi probability for the epsilon categories is now updated properlykr.angelov
2012-05-25fixed an alignment bug in libgu which leads to crash on some platformskr.angelov
2012-05-25fixed memory leak in the pgf-translate toolkr.angelov
2012-05-25added pgf-service.c in the robust parser'kr.angelov
2012-05-23translator: use a more robust test for localStorage support and show a ↵hallgren
warning if it is missing
2012-05-16another attempt to port the robust parser to MacOSkr.angelov
2012-05-16translator: fix typohallgren
2012-05-16translator: update About pagehallgren
2012-05-16translator: use GF's text lexer/unlexer to obtain more natural looking texthallgren
Note though that the unlexer does the wrong thing with initial words that are supposed to be capitalized, e.g. "I am ready.", "Spanish wine is good.", so these sentenses are not translated at the moment.
2012-05-16GFServer.hs: apply UTF8 decoding to all server inputhallgren
2012-05-16translator: file browser shows files alphabetically nowhallgren
2012-05-16small fix for compiling the robust parser on MacOSkr.angelov
2012-05-16translator: bug fixhallgren
My menu hiding hack didn't work in Gecko browsers because of a difference in the behaviour of the JavaScript setTimeout function.
2012-05-15Adding a Simple Translation Toolhallgren
It is part of the cloud services available with gf -server.
2012-05-15Integrate Japanesehallgren
* Update Setup.hs to build Japanese by default. * News item about Japanese on the home page. * Add Japanese to the supported RGL imports in the grammar editor (gfse).
2012-05-15missing case in partial evaluation of + fixedaarne
2012-05-08a new unbiased statistical parser. it is still far from perfect use it on ↵kr.angelov
your own risk.
2012-04-18yet another fix for parsing literalskr.angelov
2012-04-12some fixes in the robust parser and a new API for literalskr.angelov
2012-05-04alex 3 incompatibility workaroundhallgren
As a temporary workaround, alex is no longer invoked automatically when building with cabal. Developers who want to modify the lexer need to run alex on Lexer.x manually and record the modified Lexer.hs. src/compiler/GF/Grammar/lexer/Lexer.x -- hidden from cabal src/compiler/GF/Grammar/Lexer.hs -- update it manually
2012-04-30minibar_offline: fix the link to the regular minibarhallgren
2012-04-30minibar_offline: Update the API exported by pgf_offline.js to be compatible ↵hallgren
with pgf_online.js This makes the minibar offline demo work again.
2012-04-27minibar: word-for-word replacements: use concrete syntax for replacement ↵hallgren
words when possible Instead of showing the name of a function in the abstract syntax, linearize it and show the result. For functions with argument, e.g. That : Kind -> Item, the function is applied to the right number of placeholder arguments: 'That ?'. If the linearization fails, the name of the function is shown anyway.
2012-04-24minibar&gfse: grammar extension user interface improvementshallgren
The grammar extension is now done with a regular HTML form, so you can use the TAB key to move between the fields and press ENTER to submit the extension when you are done. TODO: more immediate error feedback
2012-04-19minibar & cloud service: minor style changeshallgren
Also include the GF logo on the cloud service start page.
2012-04-19Minibar documentation updatehallgren
Document recent additions in minibar/about.html.
2012-04-18minibar: add buttons to use generated translations as inputhallgren
This functionality was available in the origial Fridge Poetry app, but has been missing in minibar until now.
2012-04-11minibar: fix to prevent the typed input field from losing focus when turning ↵hallgren
word-for-word replacment on or off
2012-04-10minibar: internal state type changehallgren
The current intput is now represented as an array of words instead of as a string. (This is the kind of change is scary to do in a dynamically type language like JavaScript. In a statically typed language like Haskell you can do it with confidence, since you know the compiler can help you catch all mistakes...)
2012-04-10minibar_input.js: internal state simplificationhallgren
Get rid of list of previous states, which was only used to delete the last word.
2012-04-10minibar/pgf_online.js: pass arguments to the browse function in the same way ↵hallgren
as the other functions Also document it in gf-web-api-examples.html.
2012-04-05minibar&gfse: grammar extension user interface fixeshallgren
It works OK now, but it could be better, e.g. the number of mouse clicks required to enter an extension could to be reduced...
2012-04-04minibar&gfse: first working grammar extension interface in minibarhallgren
There are still some user interface wrinkles to iron out.
2012-04-03minibar: remember current inputhallgren
If you leave the minibar and later return, the previous input will be restored. One input string per grammar is rememebered, so you can also switch back and forth between grammars without losing the input. This is implemented using localStorage, i.e. the data is stored locally on the user's device.
2012-04-02simple cleanup in the robust parserkr.angelov
2012-04-02minibar: better implementation of word replacementhallgren
Instead of trying to reconstruct the abstract tree from the bracketed string, use the node numbers (the field called "fid") to identify which node in the abstact syntax tree a word in the bracketed string corresponds to.
2012-04-02gf-server.cabal: mtl is needed to build pgf-server nowhallgren
2012-04-02PGFService.hs: add web API function "abstrjson"hallgren
Abstract syntax trees are represented as strings in the web API. To make them easier to manipulate in JavaScript, the new function converts them to JSON. To support structural editing, the nodes are numbered in the same way as in the bracketed string created when linearizing an abstract syntax tree. Example: "Pred (That Fish) Fresh" is converted to {fun:"Pred",fid:3, children:[{fun:"That",fid:1, children:[{fun:"Fish",fid:0}]}, {fun:"Fresh",fid:2}]}
2012-04-01support.js: add an implementation of Array.isArray for older browsers that ↵hallgren
lack it
2012-03-29gfse&minibar: work in progress on grammar extension fromminibarhallgren