summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-04-21some edits in app helpaarne
2014-04-17Wide Coverage Demo web app: more client side cachinghallgren
For example, you can now reorder paragraphs by cut & paste, without causing anything to be sent to the server for re-translation. Also some color & layout tweaks.
2014-04-17now word completion from Java works. It could be made betterkr.angelov
2014-04-16Wide Coverage Demo App: show a word-for-word translation if all else failshallgren
2014-04-16PGF web API: adding the command c-wordforwordhallgren
It has the same parameters and result format as c-translate, but it does the translation word for word. (To be used as a last resort).
2014-04-15edits in App help ; name suggestion "Language Compiler" ; sepApo(), a quick ↵aarne
fix to French and Italian elision in the App
2014-04-15removed clash in AppFin importsaarne
2014-04-15PGF web API: add commands lookupmorpho and c-lookupmorphohallgren
2014-04-11gftranslate.js: switch to Translate11.pgfhallgren
2014-04-11Dut added to android Translator.javaaarne
2014-04-11App11.pgf in Makefileaarne
2014-04-11Wide Coverage Demo App (gftranslate.js): use a special lexer for Chinese.hallgren
2014-04-11Simple Translator: use colors to indicate translation qualityhallgren
2014-04-11experimental AppDut addedaarne
2014-04-11named entities in the Android Appkr.angelov
2014-04-11Simple Translator: Use PGF API for (un)lexing instead of separate server callshallgren
Also, + Get up to 10 (instead of 5) alternative robust translations. + Remove duplicates from list of alternative robust translations + Add GF Cloud logo to the simple translator page
2014-04-11forgoten Completer.javakr.angelov
2014-04-11expose Java API for word completionkr.angelov
2014-04-11change the JVM version to 1.6 in JNI_OnLoadkr.angelov
2014-04-10bugfix in the Java bindingkr.angelov
2014-04-10PGF web service: disable caching of parse resultshallgren
Caching parse results uses a lot of memory, even if they expire after 2 minutes, so it won't scale up to many simultaneous users. But some excessive memory use seems to be caused by space leaks in (the Haskell binding to) the C run-time system, and these should be fixed. For example, flushing the PGF cache does not release the memory allocated by the C run-time system when loading a PGF file.
2014-04-10Wide Coverage Demo App: it now works ok without server caching of parse resultshallgren
2014-04-10now fully functional Java API for custom literalskr.angelov
2014-04-10bugfix in the C runtimekr.angelov
2014-04-10improved generation of BNC dictionaries ; now called TopDictionary for clarityaarne
2014-04-10a quick hack to enable the NERC from bindings. This should be made available ↵kr.angelov
from the API but for now I just hacked the C runtime
2014-04-09Wide Coverage Demo App: new buttons: to switch colors on/off & to try Google ↵hallgren
Translate
2014-04-09localstorage.js: bug fixhallgren
If you stored "false" and tried to retrieve it with a default value, you got the default value instead of "false".
2014-04-09Wide Coverage Demo App: use PGF service lexing/unlexinghallgren
It is now enough to make one server call per translation, and the results can cached by the browser.
2014-04-09PGF web service: add unlexers and enable client side cachinghallgren
Most PGF web API commands that produce linearizations now accept an unlexer parameter. Possible values are "text", "code" and "mixed". The web service now include Date and Last-Modified headers in the HTTP, responses. This means that browsers can treat responses as static content and cache them, so it becomes less critical to cache parse results in the server. Also did some cleanup in PGFService.hs, e.g. removed a couple of functions that can now be imported from PGF.Lexing instead.
2014-04-09Change the type of PGF.Lexing.bindTok to [String] -> [String]hallgren
The old type was [String] -> String. This function was only used in GF.Text.Lexing.stringOp, which now uses (unwords . bindTok) instead, with no change in behaviour.
2014-04-09Unlexers: move capitalization of first word from GF.Text.Lexing to PGF.Lexinghallgren
The capitalization of the first word was done in GF.Text.Lexing.stringOp, but is now done in the functions unlexText and unlexMixed in PGF.Lexing. These functions are only used in stringOp and in PGFService (where the change is needed), so the subtle change in behaviour should not cause any bugs.
2014-04-09PGF Service: a bit more clever lexer=texthallgren
Only change the first word to lowercase if the original input is not found in the grammar's morphology. This allows parsing of sentenses starting with "I" in English, nouns in German and proper names in other languages, but it can make the wrong choice for multi-words.
2014-04-09Wide Coverage Demo App updateshallgren
+ Add Clear button. + Use localstorage to remember entered text between visits. + Add a link to it on the GF cloud service start page.
2014-04-09more passives in App. Import changes are now produced with MkApp.hs, which ↵aarne
copies the exclude list from App.gf to the concrete syntax files.
2014-04-09rewrote App so that it just inherits Translate and excludes some functions. ↵aarne
This minimizes the duplication of code between Translate and App. Also added some functions, which make App 15% slower but increase the coverage and quality. This trade-off has to be studied further.
2014-04-08Fix build problem in PGFService.hs when configured without c-runtimehallgren
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