summaryrefslogtreecommitdiff
path: root/src/runtime/c/pgf/pgf.h
AgeCommit message (Collapse)Author
2022-07-16support for BIND tokens in the Python bindingsKrasimir Angelov
2020-05-14lookupCohorts now detects and reports unknown words. Also:krangelov
- added added two filtering functions: filterLongest and filterBest - updated the PGF service to work with the new API
2020-03-06an API to access the names of all fields withing a categorykrangelov
2020-03-05The APIs for callbacks and the bracketed strings now use a string for the ↵krangelov
analysis intead of an integer. This is now consistent with lookupMorpho and friends
2019-12-07a version of the parser which returns a chart rather than a list of expressionskrangelov
2019-05-28API for scanning for cohorts in an arbitrary textkrangelov
2017-12-09silence some warnings on MINGW32Krasimir Angelov
2017-10-04further extend the API of the C runtimeKrasimir Angelov
2017-10-03in the PGF2 api: remove showCategory. add categoryContext and ↵Krasimir Angelov
functionIsConstructor
2017-09-13added function pgf_writeKrasimir Angelov
2017-09-06word completion in the C parser now returns information about the function ↵Krasimir Angelov
which generates the token
2017-09-06the parser in the C runtime can now detect incomplete sentences just like ↵Krasimir Angelov
the parser in the Haskell runtime. This is also reflected in all bindings.
2017-08-30bugfix for hasLinearization in the Haskell bindingKrasimir Angelov
2017-05-04merging spineskrasimir
2017-05-03first steps for sentence lookup in the C runtimekrasimir
2017-04-19explicitly classify all functions in libpgf as either internal or API functionskrasimir
2017-01-26bring the Haskell binding a bit closer to the pure Haskell APIkrasimir
2016-05-30added getFunctionProb in the Java and C APIkrasimir
2016-05-10an API for oracles in the GF parserkrasimir
2015-07-03merge the states for reasoning and evaluation into a single structurekrasimir
2015-05-18the callbacks in C now take the concrete syntax as a parameterkrasimir
2014-12-29API for word alignment in the C runtime and in the Haskell bindingkr.angelov
2014-12-16change in the API for literalskr.angelov
The API in the C runtime as well as in the Haskell, Python and Java binding is changed. Now instead of adding the literal callbacks to the concrete syntax you need to supply them every time when you need to parse. The main reason is: - referentially transparent API for Haskell - when we start using memory mapped files we will not be allowed to change anything in the grammar data structures. At that point the old API would be impossible to use.
2014-10-09throw away the long obsolete runtime type information in the C runtimekr.angelov
2014-10-09replace the hash maps in the abstract syntax with binary search tableskr.angelov
2014-08-11a partial support for def rules in the C runtimekr.angelov
The def rules are now compiled to byte code by the compiler and then to native code by the JIT compiler in the runtime. Not all constructions are implemented yet. The partial implementation is now in the repository but it is not activated by default since this requires changes in the PGF format. I will enable it only after it is complete.
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-06embedded mode for GF grammar in Python. Only generation for nowkr.angelov
2014-04-25an initial Java/C API for predicting literals. Still not utilizedkr.angelov
2014-04-10now fully functional Java API for custom literalskr.angelov
2014-03-07added pgf_lookup_word_prefix which makes it possible to do simple word ↵kr.angelov
prediction
2013-11-27added API in the C runtime and the Java binding for checking whether a given ↵kr.angelov
function is linearizable in a given language. This is used in the Android UI for better vizualizations
2013-11-20fix in the Python bindingkr.angelov
2013-11-06the content of ParseEngAbs3.probs is now merged with ParseEngAbs.probs. The ↵kr.angelov
later is now retrained. Once the grammar is compiled with the .probs file now it doesn't need anything more to do robust parsing. The robustness itself is controlled by the flags 'heuristic_search_factor', 'meta_prob' and 'meta_token_prob' in ParseEngAbs.gf
2013-11-04A simple type checker in the C runtime. Dependent types are not supported ↵kr.angelov
yet but HOAS is implemented. The API is accessible from Python as well
2013-10-23tabular linearization in the C and Java runtimeskr.angelov
2013-10-09a major redesign in the C runtime. The parser and the linearizer now fully ↵kr.angelov
support BIND. The following things are still broken: parseval, word completion, handling 'pre', the robust mode
2013-10-04GuString is now an ordinary C string - it makes live easier. In addition ↵kr.angelov
PgfSymbolKS, PgfExprFun and PgfLiteralStr now keep their strings as embedded flexible arrays. The latest change gives us the same compactness as the old representation but it is a lot easier to use.
2013-09-05remove the read and write modules from libgu. this simplifies the i/o layerkr.angelov
2013-08-19fullFormLexicon in C and Pythonkr.angelov
2013-08-16implemented lookupMorpho for C and Pythonkr.angelov
2013-08-16provide API to access the language code for the concrete languagekr.angelov
2013-08-16fixes in the C and Python API to make them closer to the Haskell APIkr.angelov
2013-06-27a complete Python API for reading, printing and manipulation of abstract ↵kr.angelov
trees and types. This includes dependent types, high-order abstract syntax and implicit arguments
2013-06-26patch for adjustable heuristics from Pythonkr.angelov
2013-05-06the statistical parser is now using two memory pools: one for parsing and ↵kr.angelov
one for the output trees. This means that the memory for parsing can be released as soon as the needed abstract trees are retrieved, while the trees themselves are retained in the separate output pool
2013-05-01word completion in the C runtime. The runtime/python/test.py example is now ↵kr.angelov
using readline with word completion
2013-04-19the C runtime and the Python binding now have an API for parser evaluation. ↵kr.angelov
The API computes PARSEVAL and Exact Match for a given tree. As a side effect the abstract trees in Python are now compared for equality by value and not by reference
2013-02-11the class PgfConcr from the Python binding now has a property name which ↵kr.angelov
returns the name of the concrete syntax
2013-02-11remove the pgf2yaml tool which was both broken and redundant. The ↵kr.angelov
declarations for generic programming from data.c are removed as well