summaryrefslogtreecommitdiff
path: root/src/runtime
AgeCommit message (Collapse)Author
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-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-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-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-13Haskell binding: free memory pool to avoid space leak when readPGF failshallgren
2014-05-08fix the literals API in Java for strings with non-latin characterskr.angelov
2014-05-08fix memory leak in the Haskell bindingkr.angelov
2014-05-07pgf-shell.hs: fix compilation problem with GHC 7.4hallgren
2014-05-07Two improvements in the pgf-shell examplehallgren
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-25an initial Java/C API for predicting literals. Still not utilizedkr.angelov
2014-04-22bugfix in the handling of BIND in the C runtimekr.angelov
2014-04-17now word completion from Java works. It could be made betterkr.angelov
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-10now fully functional Java API for custom literalskr.angelov
2014-04-10bugfix in the C runtimekr.angelov
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-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-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-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-07Expr and ExprProb are now serializable objectskr.angelov
2014-04-04fix the haskell binding to handle parse errorskr.angelov
2014-04-02initial binding to Prolog for the C runtimekr.angelov
2014-03-25small fixes in the C runtimekr.angelov
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-18whitespace cleanup in the parserkr.angelov
2014-03-12compute the right word probabilitykr.angelov
2014-03-12haskell-bind: comment out superfluous importshallgren
2014-03-12ensure that negative probabilities are always avoidedkr.angelov
2014-03-07added Java API to the simple word completionkr.angelov
2014-03-07fix in the Java binding after the implementation for prekr.angelov
2014-03-07added pgf_lookup_word_prefix which makes it possible to do simple word ↵kr.angelov
prediction
2014-03-07bugfix in pgf-translatekr.angelov
2014-03-06C run-time: protect from Windows specific #includes with #ifdef __MINGW32__hallgren
2014-03-05implementation for pre in the C runtimekr.angelov
2014-03-04use pgf_linearize instead of pgf_lzr_linearize_simple in pgf-translate.ckr.angelov
2014-03-04memory leak in parseval.ckr.angelov
2014-03-04rename pgf_lzr_linearize_table to pgf_lzr_get_tablekr.angelov