| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-07-15 | PGF Web Service: include entire completion in full mode | john.j.camilleri | |
| When using full=yes in the web service 'complete' command, you now get an additional field 'seq' with the longest possible completion. So, given: lin f1 = ss "the" ; f2 = ss ("the red house" | "the real deal") ; and trying to complete on input "th", you get: [ { "from": "TestCnc", "brackets": { "cat": "_", "fid": 0, "index": 0, "fun": "_", "children": [] }, "text": "th", "completions": [ { "token": "the", "funs": [ { "fun": "f1", "hyps": [], "cat": "C", "seq": "the" }, { "fun": "f2", "hyps": [], "cat": "C", "seq": "the red house" }, { "fun": "f2", "hyps": [], "cat": "C", "seq": "the real deal" } ] } ] } ] | |||
| 2014-07-11 | PGF web service: Return additional completion info with 'full' flag | john | |
| 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-08 | implemented 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-08 | bugfix for the typechecker in the C runtime | kr.angelov | |
| 2014-07-06 | an API for visitor patterns on abstract syntax trees from Python. This makes ↵ | kr.angelov | |
| the embedded grammars especially pleasing | |||
| 2014-07-06 | small fix for the embedded mode in Python | kr.angelov | |
| 2014-07-06 | embedded mode for GF grammar in Python. Only generation for now | kr.angelov | |
| 2014-07-02 | added bracketedLinearize in the Java binding | kr.angelov | |
| 2014-07-02 | fixed rare memory leak in the Java bindings | kr.angelov | |
| 2014-07-01 | a few changes in the Nerc that I have forgoten to push | kr.angelov | |
| 2014-07-01 | fix warnings in the compilation of the Java binding | kr.angelov | |
| 2014-06-19 | runtime/c/setup.sh: use make -j to speed up compilation | hallgren | |
| 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-18 | build-binary-dist.sh: updated to include the Python binding to the C run-time | hallgren | |
| There are also some changes in src/runtime/python/setyp.py to support this. | |||
| 2014-06-17 | now the named entities recognizer returns dictionary entries if the name is ↵ | kr.angelov | |
| known | |||
| 2014-06-16 | src/runtime/c/setup.sh: executable version of INSTALL, used from debian/rules | hallgren | |
| 2014-06-16 | fixed memory leak in the Haskell binding to the C runtime | kr.angelov | |
| 2014-06-12 | PGF library: expose only PGF and PGF.Internal instead of all modules | hallgren | |
| 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-10 | PGF2.hsc: use throwIO instead of throw | hallgren | |
| 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-23 | bugfix in the Java binding. it was causing a crash in the Android app | kr.angelov | |
| 2014-05-22 | small fix in tabularLinearize | kr.angelov | |
| 2014-05-22 | added tabularLinearize in the python binding | kr.angelov | |
| 2014-05-13 | Haskell binding: free memory pool to avoid space leak when readPGF fails | hallgren | |
| 2014-05-08 | fix the literals API in Java for strings with non-latin characters | kr.angelov | |
| 2014-05-08 | fix memory leak in the Haskell binding | kr.angelov | |
| 2014-05-07 | pgf-shell.hs: fix compilation problem with GHC 7.4 | hallgren | |
| 2014-05-07 | Two improvements in the pgf-shell example | hallgren | |
| 1. Like pgf-translate, it now shows one result at a time, press Enter to get more results. 2. You can load a new grammar with the command 'i <path-to-pgf>' | |||
| 2014-04-25 | an initial Java/C API for predicting literals. Still not utilized | kr.angelov | |
| 2014-04-22 | bugfix in the handling of BIND in the C runtime | kr.angelov | |
| 2014-04-17 | now word completion from Java works. It could be made better | kr.angelov | |
| 2014-04-11 | forgoten Completer.java | kr.angelov | |
| 2014-04-11 | expose Java API for word completion | kr.angelov | |
| 2014-04-11 | change the JVM version to 1.6 in JNI_OnLoad | kr.angelov | |
| 2014-04-10 | bugfix in the Java binding | kr.angelov | |
| 2014-04-10 | now fully functional Java API for custom literals | kr.angelov | |
| 2014-04-10 | bugfix in the C runtime | kr.angelov | |
| 2014-04-10 | a 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-09 | Change 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-09 | Unlexers: move capitalization of first word from GF.Text.Lexing to PGF.Lexing | hallgren | |
| 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-09 | PGF Service: a bit more clever lexer=text | hallgren | |
| 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-08 | Move basic lexing functions from GF.Text.Lexing to the new module PGF.Lexing | hallgren | |
| 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-08 | added preliminary API for custom literals from Java. Not functional yet | kr.angelov | |
| 2014-04-08 | bugfix in the C runtime that shows up with only some grammars | kr.angelov | |
| 2014-04-07 | Expr and ExprProb are now serializable objects | kr.angelov | |
| 2014-04-04 | fix the haskell binding to handle parse errors | kr.angelov | |
| 2014-04-02 | initial binding to Prolog for the C runtime | kr.angelov | |
| 2014-03-25 | small fixes in the C runtime | kr.angelov | |
| 2014-03-20 | added hasLinearization method in the Python binding | kr.angelov | |
| 2014-03-20 | fix in the Python binding which was forgoten after a change in the C runtime | kr.angelov | |
| 2014-03-18 | whitespace cleanup in the parser | kr.angelov | |
| 2014-03-12 | compute the right word probability | kr.angelov | |
