summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-04-08PGF web service: add lexer supporthallgren
The PGF web API commands parse, translate, translategroup, c-parse and c-translate now support a lexer parameter. Possible values are "text", "code" and "mixed". This is used in the Wide Coverage Demo App to save one server roundtrip.
2014-04-08small fixes in App grammar - don't affect performanceaarne
2014-04-08Move basic lexing functions from GF.Text.Lexing to the new module PGF.Lexinghallgren
They are thus part of the PGF Run-Time Library, making it possible to add lexing functionality in PGF service in a natural way.
2014-04-08Wide Coverage Demo App: remove quality markers ("+" or "*") before unlexinghallgren
Otherwise the first word won't be capitalized.
2014-04-08added preliminary API for custom literals from Java. Not functional yetkr.angelov
2014-04-08bugfix in the C runtime that shows up with only some grammarskr.angelov
2014-04-08Wide Coverage Demo App: restore swap buttonhallgren
2014-04-07demos/translation.t2t: more space for the demo apphallgren
2014-04-07Wide Coverage Demo Web App: add segmentationhallgren
Click on sentences to choose among alternative translations.
2014-04-07Expr and ExprProb are now serializable objectskr.angelov
2014-04-07fix in the keyboardkr.angelov
2014-04-07added alternative_item.xmlkr.angelov
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-04path in AppFinaarne
2014-04-04polarities restored in Hin translationaarne
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-04AdvS added to appaarne
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-03added AdvVP and AdVVP to Appaarne
2014-04-03bugfix in the keyboard translationkr.angelov
2014-04-02Android app sources in examples/app - read README for adviceaarne
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-31room_N in DictionaryChiaarne
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-28added the phrase "what time is it" in ten languages. For simplicity, this is ↵aarne
a Greeting and not a Question, which means that it has a variant appearing with ! rather than ? , similar to "how are you". Correcting this would require analysing the structure of the phrase so that it can be constructed in QS.