summaryrefslogtreecommitdiff
path: root/src/runtime
AgeCommit message (Collapse)Author
2012-06-13Use a separated tag for meta productions in the robust parser. This cleans ↵kr.angelov
up the code a lot
2012-06-12now there is a limit of 2000000 items in the chart of the robust parser. ↵kr.angelov
This prevents from explosion in the memory size but it will also prevent us from parsing some sentences.
2012-06-12now the robust parser is purely top-down and the meta rules compete on a ↵kr.angelov
fair basis with the grammar rules
2012-06-10command option ma -known to drop unknown wordsaarne
2012-05-25the viterbi probability for the epsilon categories is now updated properlykr.angelov
2012-05-25fixed an alignment bug in libgu which leads to crash on some platformskr.angelov
2012-05-25fixed memory leak in the pgf-translate toolkr.angelov
2012-05-25added pgf-service.c in the robust parser'kr.angelov
2012-05-16another attempt to port the robust parser to MacOSkr.angelov
2012-05-16small fix for compiling the robust parser on MacOSkr.angelov
2012-05-08a new unbiased statistical parser. it is still far from perfect use it on ↵kr.angelov
your own risk.
2012-04-18yet another fix for parsing literalskr.angelov
2012-04-12some fixes in the robust parser and a new API for literalskr.angelov
2012-04-02simple cleanup in the robust parserkr.angelov
2012-03-26Fix List.foldl / Map.foldl ambiguositySergei Trofimovich
Fixes the following error: src/runtime/haskell/PGF/Expr.hs:111:14: Ambiguous occurrence `foldl' It could refer to either `List.foldl', imported from `Data.List' at src/runtime/haskell/PGF/Expr.hs:27:1-24 (and originally defined in `GHC.List') or `Map.foldl', imported from `Data.Map' at src/runtime/haskell/PGF/Expr.hs:28:1-40
2012-03-18PGF run-time library: function names in BracketedString (experimental)hallgren
+ Make room for function names in the BracketedString data structure. + Fill in function names when linearizing an abstract syntax tree to a BracketedString. + Fill in wildCId when it is not obvious what the function is. + Function bracketedLinearize: for compatibility with the other linearization functions, return Leaf "" instead of error "cannot linearize". + Export flattenBracketedString from module PGF. + PGFServce: make function names available in the JSON representation of BracketedString.
2012-03-12libpgf: a new implementation for literals which also allows custom literals. ↵kr.angelov
the same mechanism is now used for the metavariables
2012-03-09libpgf: added simple lexerkr.angelov
2012-03-07libpgf: implementation for built in literal categorieskr.angelov
2012-03-07libpgf: simple fix in the parser debuggerkr.angelov
2012-03-07libpgf: two APIs - one for finding all parse results and another for finding ↵kr.angelov
the best parse result
2012-03-05libpgf: now all concrete functions and categories are explicitly linked to ↵kr.angelov
their abstract counter parts
2012-03-02libpgf: preliminary version for the statistical ranking. we use naive ↵kr.angelov
statistical model with random weight for the meta variables.
2012-03-02libpgf: simple optimization in the implementation for heapskr.angelov
2012-02-29libpgf: an API for building heaps from buffers in gu/seq.ckr.angelov
2012-02-29libpgf: the first prototype for the robust parserkr.angelov
2012-02-29libpgf: the choice object should remember integers instead of single byteskr.angelov
2012-02-28libpgf: another fix in the parser debuggerkr.angelov
2012-02-28libpgf: the time measurement in pgf-translate should be made after ↵kr.angelov
pgf_parse_result for more accurate timing
2012-02-28libpgf: fix in the parser debuggerkr.angelov
2012-02-27libpgf: pretty printing for expressions with metavaraibleskr.angelov
2012-02-24libpgf: fix in pgf_read_into_mapkr.angelov
2012-02-24libpgf: simple fix in the grammar printer and the readerkr.angelov
2012-02-22libpgf: now we have both complete bottom up index for robust parsing and ↵kr.angelov
fast lexical lookup from the same index
2012-02-22libpgf: two small fixes in the parser debuggerkr.angelov
2012-02-22libpgf: the map curr_lindefs must be allocated from a temporary poolkr.angelov
2012-02-21libpgf: added index for fast lexicon lookup. Still not perfectkr.angelov
2012-02-21utils/pgf-translate now reports the parsing timekr.angelov
2012-02-18libpgf: now the debugging mode for the parser is available only with ↵kr.angelov
compilation option.
2012-02-18libpgf: remove the now redundant field extra_ccats in PgfConcrkr.angelov
2012-02-18libpgf: now the linearization index is created during the grammar loading ↵kr.angelov
which also makes the types PgfLzr and PgfParser redundant.
2012-02-17libpgf: simplify the loading of PgfCncCatkr.angelov
2012-02-17libpgf: added printer.ckr.angelov
2012-01-26libpgf: switch to using callbacks and lazy prediction in the parser. this ↵kr.angelov
reduce the parsing time from 11 sec down to 3 sec.
2012-01-26libpgf: use a temporal pool for allocating the arrays in the continuation ↵kr.angelov
map of the parser
2012-01-26libpgf: fix a warning in reader.ckr.angelov
2012-01-26libpgf: fix in string.hkr.angelov
2012-01-24libpgf: few fixes to make the loading of grammars with def rules possiblekr.angelov
2012-01-23libpgf: extra_ccat is now redundant and was removedkr.angelov
2012-01-23libpgf: forgot to add utils/pgf-print.ckr.angelov