summaryrefslogtreecommitdiff
path: root/src/runtime
AgeCommit message (Collapse)Author
2015-12-19a fix that should solve the segmentation fault on MacOS with the exhaustive ↵krasimir
generator
2015-12-18fix in the Python binding. The input sentence to the parser needs to be ↵krasimir
copied since otherwise the Python string may be discarded the garbage collector
2015-11-27fix in the Java binding: the Expr class should also ensure that libjpgf.so ↵krasimir
is loaded to avoid failures if Expr is the first class that is used.
2015-11-26added Expr.equals method in the Java bindingkrasimir
2015-11-25added readTriple in libsg and its Haskell bindingkrasimir
2015-11-23vd -conll2latex now converts conll to latex. Without going through GF trees, ↵aarne
but as a service to the dependency parser community.
2015-11-19added mkInt and mkFloat in the Haskell binding to make it easy to create ↵krasimir
literal expressions
2015-11-18reduced label size and optimized arc length in vd -output=latexaarne
2015-11-17latex visualization of dep trees: explained the program better and ↵aarne
eliminated most magic numbers
2015-11-17added -output=latex to visialize_dependencies. This generates more ↵aarne
familiar-looking output than the default graphviz, which can moreover be pasted into LaTeX documents. Some more work is needed to make long sentences look nice and fit on a page; a constant word length is now used to simplify computing the coordinates.
2015-11-16bugfix in the Makefile for the Java binding for creating .jar fileskrasimir
2015-11-13bugfix in the SG binding for Javakrasimir
2015-11-13added Java API for insertion of triples in the semantic graphkrasimir
2015-11-05vp -showdep: as default label for the first (incl. only) argument, don't use ↵aarne
dep#0 but assume it is the head
2015-11-05improved documentation of vp -showdepaarne
2015-11-04dependency labels in parse trees now with the -deps flag, -file=labels_file ↵aarne
for configuration. With -nocat option this shows reasonable dep trees, more familiar looking than the vd command. With -showfun flag, the tree gives a rather complete picture of the analysis of the sentence.
2015-11-04prepared visualize_parse for showing dependency labelsaarne
2015-10-14bugfix for lookupMorpho in the C runtimekrasimir
2015-09-30added bracketedLinearizeAll in Pythonkrasimir
2015-09-14haskell-bind/SG.hsc: fix unsafePerformIO import problem with ghc>=7.8hallgren
2015-09-11fix the debug mode in the tree generator in the C runtimekrasimir
2015-09-10PGF2.Expr: a fix for ghc-7.6hallgren
Apparently Foreign.unsafePerformIO is not just a re-export of System.IO.Unsafe.unsafePerformIO (or vise versa), it is a different function, so you get an ambiguity if you import both.
2015-09-08add readTriple in the Haskell bindingkrasimir
2015-09-08bugfix in the parserkrasimir
2015-09-04fix the metadata for sg databaseskrasimir
2015-09-04storage for literals in libsgkrasimir
2015-09-04API for triple queries from Javakrasimir
2015-09-04the Haskell binding now covers everything in the libsg APIkrasimir
2015-09-04the new triples API in libsg now always works with expressionskrasimir
2015-09-03PGF2.Expr fixeshallgren
It needs to be listed in gf.cabal unsafePerformIO is only exported from System.IO.Unsafe, starting with ghc-7.8
2015-09-03Java API for opening/closing SG databaseskrasimir
2015-09-03bugfixes in libsgkrasimir
2015-09-03the Eclipse project for the Java binding is now replaced with a simple Makefilekrasimir
2015-09-03silence compilation warnings in the Java bindingkrasimir
2015-09-02API for transactions in libsgkrasimir
2015-09-02added the minimal Haskell API for storing expressions/triples in the ↵krasimir
semantic graph
2015-09-02bugfix in libsgkrasimir
2015-08-31GF.Infra.SIO: The SIO monad now supports putStr in addition to putStrLnhallgren
Also included some unrelated minor changes.
2015-08-31still partial implementation for complex queries in libsg, and added sg.h ↵krasimir
which I had forgotten to include in darcs
2015-08-28Comment out some dead code found with -fwarn-unused-bindshallgren
Also fixed some warnings and tightened some imports
2015-08-27query for triples and cleaner APIkrasimir
2015-08-24added libsg in the C runtimekrasimir
2015-08-21retrieval of a triplekrasimir
2015-08-21API for storing triples in the semantic graphkrasimir
2015-08-20PGF2: export BindType(..) and two new functions: showType & categorieshallgren
showType :: Type -> String categories :: PGF -> [Cat] But both are implemented as quick hacks: categories is implemented by listing all functions and taking the target categories from their types. showType uses ppType copied & modified from PGF.Type, and needs a ppExpr, which is currently implemented by wrapping showExpr... TODO: need something correpsonding to PGF.categoryContext.
2015-08-20add the initial sketches of the semantic graph storage krasimir
2015-08-12pickling/unpickling for typeskrasimir
2015-08-12support for transparent pickling/unpickling of abstract expressions in Pythonkrasimir
2015-08-10gf -cshell: preliminary support for the C run-time system in the GF shellhallgren
Some C run-time functionality is now available in the GF shell, by starting GF with 'gf -cshell' or 'gf -crun'. Only limited functionality is available when running the shell in these modes: - You can only import .pgf files, not source files. - The -retain flag can not be used and the commands that require it to work are not available. - Only 18 of the 40 commands available in the usual shell have been implemented. The 'linearize' and 'parse' commands are the only ones that call the C run-time system, and they support only a limited set of options and flags. Use the 'help' commmands for details. - A new command 'generate_all', that calls PGF2.generateAll, has been added. Unfortuntaly, using it causes 'segmentation fault'. This is implemented by adding two new modules: GF.Command.Commands2 and GF.Interactive2. They are copied and modified versions of GF.Command.Commands and GF.Interactive, respectively. Code for unimplemented commands and other code that has not been adapted to the C run-time system has been left in place, but commented out, pending further work.
2015-08-06bugfix for the word prediction in the Appkrasimir