summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2014-07-11PGF web service: Return additional completion info with 'full' flagjohn
BETA! The 'complete' command now has a new flag 'full' which when set returns additional info about completions. Without 'full' flag (default): [ { "from": "PhrasebookEng", "brackets": { "cat": "_", "fid": 0, "index": 0, "fun": "_", "children": [ { "token": "the" } ] }, "text": "su", "completions": [ "supermarket", "suspect" ] } ] With full=true or full=yes: [ { "from": "PhrasebookEng", "brackets": { "cat": "_", "fid": 0, "index": 0, "fun": "_", "children": [ { "token": "the" } ] }, "text": "su", "completions": [ { "token": "supermarket", "funs": [ { "fid": 421, "fun": "Supermarket", "hyps": [], "cat": "PlaceKind" } ] }, { "token": "suspect", "funs": [ { "fid": 445, "fun": "Suspect", "hyps": [], "cat": "Property" } ] } ] } ]
2014-07-08implemented computing with abstract syntax trees. It passes all test cases ↵kr.angelov
except those that require def rules. The design is consistent with the STG virtual machine
2014-07-08bugfix for the typechecker in the C runtimekr.angelov
2014-07-06an API for visitor patterns on abstract syntax trees from Python. This makes ↵kr.angelov
the embedded grammars especially pleasing
2014-07-06small fix for the embedded mode in Pythonkr.angelov
2014-07-06embedded mode for GF grammar in Python. Only generation for nowkr.angelov
2014-07-03filter out the leading +/* from the parser treekr.angelov
2014-07-03bugfix in the ParseTreeViewkr.angelov
2014-07-03scroll bars for the ParseTreeViewkr.angelov
2014-07-02Visualization for parse trees on Androidkr.angelov
2014-07-02added bracketedLinearize in the Java bindingkr.angelov
2014-07-02fixed rare memory leak in the Java bindingskr.angelov
2014-07-01a few changes in the Nerc that I have forgoten to pushkr.angelov
2014-07-01fix warnings in the compilation of the Java bindingkr.angelov
2014-06-24minibar: include the grammar's last modification in the grammar info shown ↵hallgren
by the "i" button Also bumped version number in gf.cabal to 3.6-darcs. Also removed some unecessary use of CPP.
2014-06-21Polished and renamed release notes to release-3.6.t2thallgren
Also added an example use of lookupmorpho to gf-web-api-examples.html.
2014-06-21The --output-dir option now applies also to PGF fileshallgren
2014-06-20Cloud service & apps: better error handling in wide coverage translationhallgren
The wide coverage demo apps now shows a "please wait" message while the grammar is loading, and a red error message if the grammar is not found on the server. The Simple Translation Tool also show red error messages if the grammar is not found.
2014-06-20PGF Service: return error code 404 (not found) instead of 500 (internal ↵hallgren
server error) for missing grammars
2014-06-20PGF Service, command=grammar: include the last modified time of the grammar ↵hallgren
in the output
2014-06-20added a note that the green translation comes from the phrasebookaarne
2014-06-19language status in app help file as table ; less textaarne
2014-06-19runtime/c/setup.sh: use make -j to speed up compilationhallgren
The configuration script takes significantly longer to run than the compilation of all the C code, which is a hint that is in need of a major simplification.
2014-06-18build-binary-dist.sh: updated to include the Python binding to the C run-timehallgren
There are also some changes in src/runtime/python/setyp.py to support this.
2014-06-18a small change in the keyboard layout for Android to make it more user friendlykr.angelov
2014-06-18filter out identical duplicated translations from the Android UIkr.angelov
2014-06-17Compute/ConcreteNew.hs: eliminate selections from wildcard tableshallgren
This patch also includes some commented out code that was used to search for the source of code size explosions and an eta expansion bug.
2014-06-17gf-cloud-api.html: fix a broken linkhallgren
Thanks to Dana Dannells.
2014-06-17now the named entities recognizer returns dictionary entries if the name is ↵kr.angelov
known
2014-06-16src/runtime/c/setup.sh: executable version of INSTALL, used from debian/ruleshallgren
2014-06-16fixed memory leak in the Haskell binding to the C runtimekr.angelov
2014-06-12PGF library: expose only PGF and PGF.Internal instead of all moduleshallgren
PGF exports the public, stable API. PGF.Internal exports additional things needed in the GF compiler & shell, including the nonstardard version of Data.Binary.
2014-06-12swith off the debugging in the android uikr.angelov
2014-06-12now GF keywords can be used as identifiers if they are quotedkr.angelov
2014-06-10PGF2.hsc: use throwIO instead of throwhallgren
From the documentation: the throwIO variant should be used in preference to throw to raise an exception within the IO monad because it guarantees ordering with respect to other IO operations, whereas throw does not. Also removed some unused imports.
2014-05-24now we compile context-free grammars directly to PGF without going via GF ↵kr.angelov
source code. This makes it quick and lightweight to compile big grammars such as the Berkley grammar
2014-05-23bugfix in the Java binding. it was causing a crash in the Android appkr.angelov
2014-05-22small fix in tabularLinearizekr.angelov
2014-05-22added tabularLinearize in the python bindingkr.angelov
2014-05-22bugfix: the keyboard should not show completions when entering web passwordskr.angelov
2014-05-22the dictionary view in the app now filters out duplicated morphological analyseskr.angelov
2014-05-21in verbosity mode the compiler warns about missing pathskr.angelov
2014-05-16Compute/ConcreteNew.hs: adding a Prawitz rewritehallgren
(table { p_i => t_i } ! x).l ==> table { p_i => t_i.l } ! x This was used in the old partial evaluator and can significantly reduce term sizes in some cases.
2014-05-16Fix an eta expansion bug in the grammar compilerhallgren
Eta expansion is applied between partial evaluation and PMCFG generation. The buggy version generated type incorrect terms, but PMCFG generation apparently worked anyway.
2014-05-15Simple Translator: fall back to word-for-word translation if the parser failshallgren
Same as in the Wide Coverage demo app.
2014-05-13Haskell binding: free memory pool to avoid space leak when readPGF failshallgren
2014-05-12gf -server: include list of loaded PGFs in version infohallgren
2014-05-08fix the literals API in Java for strings with non-latin characterskr.angelov
2014-05-08Wide Coverage Demo Web App: bug fix: swapping source and target works againhallgren
2014-05-08Wide Coverage Demo Web App: bug fix: restore lost quality indications after ↵hallgren
switching target languages