summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-25small fixes in the C runtimekr.angelov
2014-03-21refactor the compilation of CFG and EBNF grammars. Now they are parsed by ↵kr.angelov
using GF.Grammar.Parser just like the ordinary GF grammars. Furthermore now GF.Speech.CFG is moved to GF.Grammar.CFG. The new module is used by both the speech conversion utils and by the compiler for CFG grammars. The parser for CFG now consumes a lot less memory and can be used with grammars with more than 4 000 000 productions.
2014-03-20added hasLinearization method in the Python bindingkr.angelov
2014-03-20fix in the Python binding which was forgoten after a change in the C runtimekr.angelov
2014-03-19gf -server: add a command to manually flush the PGF cachehallgren
This can be used if the cloud service seems slow, but it would probably be better to automatically expire unused PGFs from the cache after some time.
2014-03-18a darker red in translation app: dictionary lookup for each word, identity ↵aarne
if lookup fails
2014-03-18Hin and Ger added to android app againaarne
2014-03-18whitespace cleanup in the parserkr.angelov
2014-03-17show the value in the error message when failing to get Str from valueaarne
2014-03-17Wide coverage demo web app: add speech synthesishallgren
Works in Safari and Chrome.
2014-03-13doc/Logos/gf1.svg: variant of the GF logo with a subtle shadowhallgren
2014-03-15bugfix in the compiler for linref of empty recordkr.angelov
2014-03-14bg in android appaarne
2014-03-14moved the small app chunking grammars from lib/src/experimental to ↵aarne
examples/translator; the proper place might be in the git contributions, but this can be decided later
2014-03-14Spanish in android appaarne
2014-03-13AppIta, with a small lexiconaarne
2014-03-13GF home page: news item about Digital Grammarshallgren
2014-03-13App ported to Freaarne
2014-03-13remove accidental trace messagekr.angelov
2014-03-13small stylistic changes in the Android Appkr.angelov
2014-03-12compute the right word probabilitykr.angelov
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-03-12haskell-bind: comment out superfluous importshallgren
2014-03-12the UI for the Android API now has stable word predictionkr.angelov
2014-03-12ensure that negative probabilities are always avoidedkr.angelov
2014-03-12Fix typo in PGFService: "incomlete"john.j.camilleri
2014-03-12remove the unnecessary logging of the completion stringkr.angelov
2014-03-12fixes in the word completionkr.angelov
2014-03-11WebSetup.hs: use the correct --gf-lib-path when building example grammarshallgren
The directory should be the same as the one used in Setup.hs when building the RGL, where a build directory supplied by cabal is used. This is usually dist/build/rgl, but it could be different, e.g. when using a cabal sandbox.
2014-03-10android: added (1) dg icon (2) green/yellow/red colours for translation ↵aarne
confidence (3) App grammars as test case in Translator.java
2014-03-10reference to DictEngChi changed to DictionaryChiaarne
2014-03-09added alternative build with Pred grammars to android, commented out by defaultaarne
2014-03-07added word completion in the Android UIkr.angelov
2014-03-07added Java API to the simple word completionkr.angelov
2014-03-07fix in the Java binding after the implementation for prekr.angelov
2014-03-07added pgf_lookup_word_prefix which makes it possible to do simple word ↵kr.angelov
prediction
2014-03-07another fix in the keyboardkr.angelov
2014-03-07bugfix in the keyboardkr.angelov
2014-03-07added Devanagari keyboard for Androidkr.angelov
2014-03-07bugfix in pgf-translatekr.angelov
2014-03-06C run-time: protect from Windows specific #includes with #ifdef __MINGW32__hallgren
2014-03-05bugfix in the android keyboard for multiline documentskr.angelov
2014-03-05bugfix in the Android UIkr.angelov
2014-03-05implementation for pre in the C runtimekr.angelov
2014-03-04Fix the fixhallgren
2014-03-04Fixes for GHC 7.6 compatibilityhallgren
2014-03-04Three fixes for compatibility with GHC 7.8hallgren
Two of the fixes were in the custom version of the binary package. We should get rid of it at some point, to reduce the maintenance burden. The third fix was to add new version constraints for happy and alex in gf.cabal. New versions of them are needed because of the ugly, low-level, GHC-specific code they produce need to be different for GHC 7.8. More fixes might be needed for -server mode, but the cgi package is not compatible with GHC 7.8 at the moment, so it will have to wait.
2014-03-04use pgf_linearize instead of pgf_lzr_linearize_simple in pgf-translate.ckr.angelov