summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2015-11-13update glosses.hs to split definitions from examples in separate tripleskrasimir
2015-11-13now by default the app shows glosses for the words for which we have ↵krasimir
something. this requires one more step in the App compilation which is described in the README
2015-11-13bugfix in the SG binding for Javakrasimir
2015-11-13added Java API for insertion of triples in the semantic graphkrasimir
2015-11-11ios fix: spaces should be removed from Chi but not from Cat aarne
2015-11-11src/ui/ios/GF-Offline-Translator tested to work in XCode with the current GF ↵aarne
runtime and grammars. However, AppEst crashes the app - remains to find out why
2015-11-11iOS app sources copied from https://github.com/cennydavidsson/GF. Not yet ↵cenny
tested with current GF.
2015-11-11moved old ios-swift files to the subdirectory src/ui/ios/old-swiftaarne
2015-11-09added Estonian to the Android appaarne
2015-11-05the visualization commands (aw,vd,vp,vt) can now show multiple trees. ↵aarne
Previously they only showed one tree even if there were for instance after ambiguous parsing. The reason was that dot (graphviz) ignored all graphs but the first one. Now the graphs are put into separate files. The 'convert' command from ImageMagick package is used to combine them to one pdf. If this is a problem, the old behaviour can be restored by the -number=1 option to the tree-generating command, which cuts away all trees but the one and doesn't require ImageMagick.
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-28Fix bug in gf -server mode with /gfshell requests not updating the state of ↵hallgren
the shell The test for the quit command had the wrong polarity. The problem was reported by Fahime Ghasemi on gf-dev mailing list.
2015-10-14bugfix for lookupMorpho in the C runtimekrasimir
2015-10-02GF.Interactive2: extension FlexibleContexts is needed for GHC 7.10 compatibilityhallgren
2015-09-30cc -trace: don't try to show the bodies of lambda abstractionshallgren
This triggers evaluation of terms with free variables, which the partial evaluator isn't equipped to handle. Reported by Aarne.
2015-09-30added bracketedLinearizeAll in Pythonkrasimir
2015-09-29GF source lexer: allow numeric character escapes in string literalshallgren
This makes the output from PGF.showExpr (and other Haskell code that uses the Prelude.show function to show strings) parsable as GF source code in more cases. This is a workaround for the problem that GHC's implementation of the show function uses numeric escapes for printable non-ASCII characters, e.g. show "dålig" = "d\229lig"...
2015-09-28Preliminary new shell feature: cc -trace.hallgren
You can now do things like cc -trace mkV "debug" to see a trace of all opers with their arguments and results during the computation of mkV "debug".
2015-09-14haskell-bind/SG.hsc: fix unsafePerformIO import problem with ghc>=7.8hallgren
2015-09-11Remove debug output introduced in previous patchhallgren
Oops.
2015-09-11Parallel compilation: "gf -make -j" and "gf -make -j=n" now work as expectedhallgren
* "gf -make -j=n" uses n parallel threads. * "gf -make -j" adapts to the number of processors in the system. This mimics how "cabal build -j" and "ghc --make -j" works. Support for this is implemented in the new module GF.System.Concurrency and it depends on the function Control.Concurrent.setNumCapabilities, which is only available in GHC>=7.6 (base>=4.6). GF can still be compiled with GHC<7.6, but then you have to use +RTS -N -RTS to take advantage of multicore processors. To detect the number of processors in the system, the code depends on a foreign import of a C function in the GHC run-time system.
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-04src/pgf-binary: reimplementation of GF's customized Data.Binary on top of ↵thomas
the standard binary packages This reduces the amount of duplicated code from 2400 to 490. No code from data-binary-ieee754 is duplicated. The module is called PGF.Data.Binary instead of Data.Binary. It is not in use yet.
2015-09-04libsg is now accessible on androidkrasimir
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-03GF shell: write_file now writes one tree per linehallgren
This compensates for other changes that removed line breaks. Maybe it should have a -lines options like ps and rf?
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-09-02Wide coverage translation demo: make it easier to use with different grammarshallgren
2015-09-01added code for visualization of the sematic graph in the app. The code is ↵krasimir
there but the menu item for activating it is not there yet since the functionality is not complete
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