Commit Graph
100 Commits
Author SHA1 Message Date
krasimir 9db5139e23 Foods grammar for Macedonian. Probably not quite correct 2016-04-05 15:33:44 +00:00
krasimir a393c1a246 fix the handling of separators in BNFC which are not nonempty 2016-03-22 13:13:35 +00:00
krasimir ce70720859 CFGtoPGF is now extended to support context-free grammars with primitive parameters 2016-03-22 10:28:15 +00:00
krasimir fbdf21d862 added missing module GF.Grammar.BNFC 2016-03-21 20:03:28 +00:00
krasimir 8f80e5451e fix comment in GF.Grammar.CFG 2016-03-21 19:33:14 +00:00
krasimir c8ebe09315 initial support for BNFC syntax in context-free grammars for GF. Not all features are supported yet. Based on contribution from Gleb Lobanov 2016-03-21 13:27:44 +00:00
krasimir da10bb33c7 bugfix: GF.Compile.CFGtoPGF now supports literal categories 2016-03-21 13:26:32 +00:00
krasimir 07cf4d6509 more progress on the typechecker 2016-03-15 14:16:17 +00:00
krasimir c1671d43e2 current state of the experimental typechecker 2016-03-07 20:20:47 +00:00
krasimir 4ba9712f16 add missing cases in vapply in the partial evaluator 2016-03-03 06:59:50 +00:00
krasimir 508bc346e5 fix in the typechecker 2016-03-02 21:28:54 +00:00
krasimir 13ff91bbb9 a better interface between the type checker and the partial evaluator 2016-03-02 16:22:56 +00:00
krasimir 47eb774cdf the experimental type checker in GF.Compile.TypeCheck.ConcreteNew is now rewriten to use the complete evaluator in GF.Compile.Compute.ConcreteNew. The old sketchy implementation in GF.Compile.Compute.ConcreteNew1 is now removed. 2016-03-02 13:38:02 +00:00
krasimir 8548979d1c Now we even test in two different places for the JNI headers. Once for Linux and once for Mac OS. This is still not ideal since different Linux distributions might use different locations. 2016-02-17 14:52:48 +00:00
krasimir 9e3944951c typo in the new Makefile 2016-02-17 14:40:46 +00:00
krasimir 279f66c950 a version of the Makefile for the Java binding which should work on Linux and Mac OS 2016-02-17 14:37:55 +00:00
krasimir 55a7fdc4a5 some progress on complex queries in libsg 2016-02-09 10:59:18 +00:00
krasimir 4a38cc1e7b fix a rather intricate bug where coercions in the PMCFG grammar didn't interact properly with the lazy parser 2016-01-26 14:29:06 +00:00
krasimir 5576688410 javadoc comments in the Java binding 2016-01-14 19:03:13 +00:00
krasimir 8dda2dfbff added API for reading a list of tuples in the SG module 2015-12-22 13:50:01 +00:00
krasimir 028de0468b pgf_read should close the input file. 2015-12-22 09:29:14 +00:00
krasimir bef9d8c5fc added a primitive full-text search index in libsg. This can be use for finding an abstract tree whose linearization matches given keywords 2015-12-20 14:04:52 +00:00
krasimir 0b9395fd70 a fix that should solve the segmentation fault on MacOS with the exhaustive generator 2015-12-19 17:30:41 +00:00
krasimir 6947d36e1a fix in the Python binding. The input sentence to the parser needs to be copied since otherwise the Python string may be discarded the garbage collector 2015-12-18 19:46:59 +00:00
krasimir 76bebb0656 fix in the App 2015-12-09 09:02:19 +00:00
krasimir b1d0839650 some revisions in the list of topics 2015-12-03 21:46:12 +00:00
krasimir 0bc612f3f5 fix in the app 2015-12-03 09:03:59 +00:00
krasimir f482300fd1 bugfixes in the app 2015-12-02 21:53:41 +00:00
krasimir 967b87d9d3 now this is a working version of the app with topic disambiguation but it is still not optimal 2015-12-02 20:47:54 +00:00
krasimir fffab87469 visualization for topics in the Android app 2015-11-28 23:15:58 +00:00
krasimir 06043c06c7 added some more topics 2015-11-28 12:24:01 +00:00
krasimir 545e1a0cc8 fix in the Java binding: the Expr class should also ensure that libjpgf.so is loaded to avoid failures if Expr is the first class that is used. 2015-11-27 15:35:53 +00:00
krasimir 008ca97428 added Expr.equals method in the Java binding 2015-11-26 15:38:12 +00:00
krasimir 451ef1183f added list of topics in the assets folder for Android app 2015-11-26 15:19:48 +00:00
krasimir 79ea4af960 added readTriple in libsg and its Haskell binding 2015-11-25 10:37:13 +00:00
krasimir 55cfea35eb the semantic graph view in the app now shows the real number of senses 2015-11-24 20:22:01 +00:00
krasimir 9b742e6b0d modify glosses.hs to merge several examples into one 2015-11-24 19:30:19 +00:00
krasimir 9f9b23d0dd added mkInt and mkFloat in the Haskell binding to make it easy to create literal expressions 2015-11-19 13:18:19 +00:00
krasimir fe7397efe4 some more conversion patterns for Susanne 2015-11-18 10:16:55 +00:00
krasimir 8a7254e4f9 bugfix in Translator.java 2015-11-16 20:03:40 +00:00
krasimir 105db47ee4 now the Documentation module contains a category Definition which is used to generate definitions and examples for words in the App. 2015-11-16 14:57:32 +00:00
krasimir 279fdb74b7 bugfix in the Makefile for the Java binding for creating .jar files 2015-11-16 14:39:52 +00:00
krasimir 465aa785cf add a few popup characters on the qwerty and the nordic keyboards 2015-11-16 13:21:43 +00:00
krasimir f3a15303b1 update glosses.hs to split definitions from examples in separate triples 2015-11-13 22:41:20 +00:00
krasimir ebb3abad9f now by default the app shows glosses for the words for which we have something. this requires one more step in the App compilation which is described in the README 2015-11-13 17:28:11 +00:00
krasimir 634d3dff7d bugfix in the SG binding for Java 2015-11-13 17:21:27 +00:00
krasimir f6bb796276 added Java API for insertion of triples in the semantic graph 2015-11-13 14:34:24 +00:00
krasimir 6011fbc033 a new version of the conversion script for the Susanne corpus which covers a bit less than half of the data 2015-11-13 13:05:21 +00:00
krasimir 46fc386cfb bugfix for lookupMorpho in the C runtime 2015-10-14 07:36:46 +00:00
krasimir 5faa99e89d added bracketedLinearizeAll in Python 2015-09-30 08:35:09 +00:00
krasimir ef888baec8 fix the debug mode in the tree generator in the C runtime 2015-09-11 09:26:17 +00:00
krasimir d83316d7c6 add readTriple in the Haskell binding 2015-09-08 13:04:31 +00:00
krasimir b5e7f08c82 bugfix in the parser 2015-09-08 09:42:42 +00:00
krasimir ea83efa79c fix the metadata for sg databases 2015-09-04 16:34:40 +00:00
krasimir 3d60ce06bb storage for literals in libsg 2015-09-04 14:45:18 +00:00
krasimir 206e38028f libsg is now accessible on android 2015-09-04 11:18:21 +00:00
krasimir 8cc7ccf80b API for triple queries from Java 2015-09-04 11:03:46 +00:00
krasimir 0b392e8cff the Haskell binding now covers everything in the libsg API 2015-09-04 10:02:42 +00:00
krasimir e9f7aa0e33 the new triples API in libsg now always works with expressions 2015-09-04 10:01:19 +00:00
krasimir 3328dd1f8d Java API for opening/closing SG databases 2015-09-03 13:52:32 +00:00
krasimir c322e686a0 bugfixes in libsg 2015-09-03 13:24:13 +00:00
krasimir 7064181860 the Eclipse project for the Java binding is now replaced with a simple Makefile 2015-09-03 10:27:50 +00:00
krasimir e97e377b05 silence compilation warnings in the Java binding 2015-09-03 10:11:23 +00:00
krasimir ef90fa4abe API for transactions in libsg 2015-09-02 13:01:23 +00:00
krasimir 73b41687c8 added the minimal Haskell API for storing expressions/triples in the semantic graph 2015-09-02 07:12:36 +00:00
krasimir 4a1da62d84 bugfix in libsg 2015-09-02 06:55:39 +00:00
krasimir 66454d844a added code for visualization of the sematic graph in the app. The code is there but the menu item for activating it is not there yet since the functionality is not complete 2015-09-01 08:00:56 +00:00
krasimir 9a58afe121 still partial implementation for complex queries in libsg, and added sg.h which I had forgotten to include in darcs 2015-08-31 07:15:20 +00:00
krasimir f2952768d5 query for triples and cleaner API 2015-08-27 15:18:51 +00:00
krasimir 32d5d4b52f added libsg in the C runtime 2015-08-24 09:36:51 +00:00
krasimir e43608eca0 retrieval of a triple 2015-08-21 16:31:43 +00:00
krasimir 17a572dda6 API for storing triples in the semantic graph 2015-08-21 16:13:03 +00:00
krasimir d1b46ece28 add a type signature in GF.Interactive2 to make ghc-7.6.3 happy 2015-08-21 11:58:32 +00:00
krasimir 2f9704a624 add the initial sketches of the semantic graph storage 2015-08-20 13:31:43 +00:00
krasimir 8e39c1f622 Bugfix in the android app for Chinese which was causing the first character in the translation to disappear 2015-08-12 18:44:45 +00:00
krasimir 6b90024d09 pickling/unpickling for types 2015-08-12 10:11:00 +00:00
krasimir ac6ce58777 support for transparent pickling/unpickling of abstract expressions in Python 2015-08-12 09:21:23 +00:00
krasimir 20644d0299 bump the version number for the Android app 2015-08-10 08:34:29 +00:00
krasimir a33e06649d now the app shows the correct abstract syntax names for unknown words while it still produces the right TTS 2015-08-06 14:19:13 +00:00
krasimir 26c2f12170 another fix in the Thai keyboard 2015-08-06 14:18:49 +00:00
krasimir 336128309b disable the visualization of glosses in the App until we have a complete database 2015-08-06 13:02:27 +00:00
krasimir 3f90b8305a set the optimization levels for the JNI code to release level 2015-08-06 13:01:07 +00:00
krasimir 9b0cb5adad bugfix for the word prediction in the App 2015-08-06 12:51:42 +00:00
krasimir 266fe48aa8 a better layout for the Thai keyboard 2015-08-06 12:23:27 +00:00
krasimir f6796ced2d bugfix in lookup_morpho in the C runtime 2015-08-06 11:51:23 +00:00
krasimir 880f0a63d0 make the virtual machine instructions more uniform 2015-07-16 15:43:18 +00:00
krasimir d22c07dcfb refine the GNU lightning patch to avoid generating unnecessary code 2015-07-16 15:29:14 +00:00
krasimir fac48d43e8 bugfixes in the JIT compiler for x86_64. One of the fixes is actually in GNU lightning 2015-07-16 15:21:09 +00:00
krasimir 4810a0b8e5 add the Python API tutorial to the GF home page 2015-07-15 12:12:50 +00:00
krasimir aa6b6d3155 fixed missing do in the Haskell binding 2015-07-12 15:37:45 +00:00
krasimir 192b1cc018 the reasoner's states are now closures just like the code for the def rules. This means more compact JIT compiled code and uniformity with the code for def rules 2015-07-04 15:06:34 +00:00
krasimir b3680b6025 merge the states for reasoning and evaluation into a single structure 2015-07-03 11:53:52 +00:00
krasimir 1c2b6702d7 merge brassiere_1_N/brassiere_2_N and aborigine_N/aboriginal_N 2015-07-01 11:14:48 +00:00
krasimir 7daf119cbc forgot to add the DBManager 2015-07-01 09:51:01 +00:00
krasimir 34ef01f613 the Android app now can show Glosses from WordNet 2015-07-01 09:44:56 +00:00
krasimir fa13e1834c specify strict APP_PLATFORM to avoid crashes on devices with older android version 2015-06-30 22:14:12 +00:00
krasimir 22773909bf add function 'functions' in the Haskell binding to the C runtime 2015-06-30 20:42:19 +00:00
krasimir e6ddb7a578 some more comments in the help page 2015-06-30 17:01:56 +00:00
krasimir 789c35bd0c bugfix in the Android keyboard 2015-06-30 16:51:22 +00:00
krasimir 4d33dfd698 better layout for the Thai keyboard 2015-06-30 15:54:14 +00:00