summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2014-04-07a bit more text in the helpkr.angelov
2014-04-07show alternative translations on Androidkr.angelov
2014-04-06Wide coverage demo app: show an error message even if the error string is emptyhallgren
2014-04-06Wide coverage demo app: show an error message if linearization failshallgren
2014-04-06gftranslate.js: use Translate10.pgfhallgren
2014-04-04TypeCheck.RConcrete: contravariance in table typeshallgren
2014-04-04Removed imports of TypeCheck.Concrete, fixed problems in TypeCheck.RConcretehallgren
+ The current type checker for concrete syntax is in GF.Compile.TypeCheck.RConcrete, but GF.Compile.TypeCheck.Concrete was still imported in GFI. + Fixed a bug that allowed Ints n as a subtype of Ints m, regardless of m and n. It now requires n<=m. Note: the type checker still allows Int as a subtype of Ints m, regardless of m. + Fixed a potential efficiency problem with large record types, by reducing the number of recursive calls from |R|*|S| to |R| when checking if R<=S. + Fixed a misleading comment: "alpha g t u" checks that u is a subtype of t, the other way around. Similarly, "checkIfEqLType gr g t u trm" checks that u is a subtype of t, not the other way around, and not that t is equal to u.
2014-04-04Wide Coverage Translation Web App: redesigned user interfacehallgren
The layout now resembles a certain other online translation service. The translation is started automatically after text is entered, no need to press the Translate button.
2014-04-04gftranslate.js: increase length limit from 200 to 500 encoded byteshallgren
2014-04-04Simple Translator: show more alternatives when using GF robust translationhallgren
The maximum number of alternatives shown has been increased from 2 to 5 although it can slow down translation.
2014-04-04Slightly more informative error messages in translation web appshallgren
2014-04-04PGFService.hs: adapt to changes in the Haskell binding to the C run-time systemhallgren
Parse errors used to cause crashes, but they are now handled and reported.
2014-04-04fix the haskell binding to handle parse errorskr.angelov
2014-04-04text in app helpaarne
2014-04-04now the output from the speech recognizer is editable with the keyboardkr.angelov
2014-04-04add activity_help.xmlkr.angelov
2014-04-04add the forgoten HelpActivity.javakr.angelov
2014-04-03add touch feedback to the two buttons in the appkr.angelov
2014-04-03added help view in the android app. The help itself is not very useful right nowkr.angelov
2014-04-03GFTranslator to DGTranslator in a few more placeskr.angelov
2014-04-03remove the old android iconkr.angelov
2014-04-03change the project name to DGTranslatorkr.angelov
2014-04-03a new icon and a new name for the DG Translatorkr.angelov
2014-04-03bugfix in the keyboard translationkr.angelov
2014-04-02fix in the keyboard XMLskr.angelov
2014-04-02initial binding to Prolog for the C runtimekr.angelov
2014-04-01use chunking before morpho lookup in backup parsing ; show results with ↵aarne
unknown linearizations in darkest red
2014-04-01Bug fix for pattern macros in pre{}hallgren
This bug was introduced sometime between 2013-08-21 and 2013-11-01 and caused the function convertTerm in GF.Compile.GeneratePMCFG to encounter a EPatt where it expected Strs. I fixed it by applying the function getPatts (from the old partial evaluator) to the pattern.
2014-03-31Hin and Bul keyboards in app restoredaarne
2014-03-31Wide coverage demo web app: green translations from Phrasebook.pgfhallgren
The demo web app now show translations from Phrasebook.pgf in green before translations from Translate8.pgf, which can be yellow or red.
2014-03-28Wide coverage demo web app improvementshallgren
+ Adapt language selection menus to the languages supported by the grammar. + Add translation quality colors to the links to alternative translations. + Also added more country codes in langcode.js (needed for speech synthesis voice selection).
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-15bugfix in the compiler for linref of empty recordkr.angelov
2014-03-14bg in android appaarne
2014-03-14Spanish in android appaarne
2014-03-13AppIta, with a small lexiconaarne
2014-03-13App ported to Freaarne
2014-03-13remove accidental trace messagekr.angelov
2014-03-13small stylistic changes in the Android Appkr.angelov