Commit Graph
100 Commits
Author SHA1 Message Date
kr.angelov 9bcc566c1a few more Bulgarian words 2013-10-13 08:09:39 +00:00
kr.angelov 9e1ed234fc a big patch which renames a few functions in the Bulgarian morphology. The old names are deprecated 2013-10-12 17:00:47 +00:00
kr.angelov add86fcf1d add keyboard input in the android app 2013-10-12 12:28:23 +00:00
kr.angelov 72fdb2dc7d more words in DictEngBul 2013-10-11 08:18:00 +00:00
kr.angelov 685ccbda8b synchronize the target languages in the main activity with the one in the lexicon activity 2013-10-11 08:16:51 +00:00
kr.angelov 167f3f4af3 better lexicon view 2013-10-11 08:15:33 +00:00
kr.angelov 3f3c5d968a make MorphoAnalysis serializable 2013-10-11 08:10:58 +00:00
kr.angelov 7b1db5d36e readExpr in the Java binding 2013-10-11 08:10:04 +00:00
kr.angelov fe44835820 an improvised dictionary mode in the Android translator 2013-10-10 15:39:52 +00:00
kr.angelov e52e8cf1d6 bugfix in ParseBul 2013-10-10 07:49:06 +00:00
kr.angelov 76014aa2cc added lookupMorpho in the Java binding 2013-10-09 19:39:50 +00:00
kr.angelov 835a15a343 fix in the Java binding 2013-10-09 19:37:57 +00:00
kr.angelov 82544f74c0 avoid warning in parser.c when debugging is OFF 2013-10-09 13:41:02 +00:00
kr.angelov 3014b1672b lexer.c is now exluded from the makefile for Android since the new runtime doesn't need lexing 2013-10-09 12:11:37 +00:00
kr.angelov b058fdd17d a major redesign in the C runtime. The parser and the linearizer now fully support BIND. The following things are still broken: parseval, word completion, handling 'pre', the robust mode 2013-10-09 12:08:51 +00:00
kr.angelov eff9a3011c added gu_is_space in gu/utf8.h. this helps to avoid the dependency on the broken unicode library for C. 2013-10-09 08:37:42 +00:00
kr.angelov 2c1e049153 remove libjpgf.so from darcs 2013-10-08 14:13:00 +00:00
kr.angelov adc952a61d fix the robust parser after the change of GuString 2013-10-08 15:00:42 +00:00
kr.angelov 227b9ef0a8 rename the Android translator from GFVoiceExample to GFTranslator 2013-10-08 14:10:17 +00:00
kr.angelov 547803f3b6 a quick hack in the Android translation for parsing Chinese 2013-10-08 14:08:40 +00:00
kr.angelov 527ea8fc5c bugfix in GNU lightning for ARM 2013-10-08 13:33:18 +00:00
kr.angelov dfb5a78a8d changes in the English-Bulgarian grammar 2013-10-08 11:17:15 +00:00
kr.angelov 05b483cf40 bugfix in ConjunctionBul 2013-10-08 11:14:23 +00:00
kr.angelov dfd58065be use qualified names in ParadigmsBul to avoid warnings 2013-10-07 18:57:27 +00:00
kr.angelov b0a6e22c53 fix the digits in NumberalBul 2013-10-07 18:50:58 +00:00
kr.angelov 2780ea839b ensure that the grammar is loaded only once even if the main activity is recreated 2013-10-07 11:50:58 +00:00
kr.angelov f42bd89676 ensure that the grammar is loaded only once 2013-10-07 11:26:53 +00:00
kr.angelov 872a14d7ca in case of parse error report the token on Android 2013-10-07 10:11:41 +00:00
kr.angelov 6aa3ade82a remove the binaries for the grammar, the .so file and .jar file in the Android App. These should be compiled from sources 2013-10-07 09:58:47 +00:00
kr.angelov 5324ce5de3 remove the custom background in activity_main.xml since it is not backward compatible with older versions of Android 2013-10-07 09:57:24 +00:00
kr.angelov f6b708ecab fix the grammar printer after the change of GuString in libgu 2013-10-07 09:46:35 +00:00
kr.angelov 2623d53963 remove the grammar copying from the Android UI since now we can load grammars from InputStream 2013-10-04 20:31:58 +00:00
kr.angelov 0d9d926131 fixes in the Java binding after the refactoring of GuString 2013-10-04 19:53:19 +00:00
kr.angelov 5043b6dfc4 replace latin 'e' with cyrilic 'e' in the paradigms for Bulgarian 2013-10-04 13:24:33 +00:00
kr.angelov 747590b86d suppress warning in graphviz.c 2013-10-04 12:56:45 +00:00
kr.angelov 2f78333e28 GuString is now an ordinary C string - it makes live easier. In addition 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-10-04 12:04:39 +00:00
kr.angelov 96399838b7 space leak in the Java binding 2013-10-03 21:00:45 +00:00
kr.angelov 357ddfb5d3 the symbol for nonExist in the GF runtime should be the last. this simplifies the binary search in the C runtime 2013-10-03 08:21:31 +00:00
kr.angelov e09104c6d9 something in the typeinferencer of the latest GHC has changed. I need to add a type signature for GF.Compile.GrammarToPGF.genCncFuns in order to compile. 2013-10-02 19:04:30 +00:00
kr.angelov 573654e125 fix the bracketed linearization in Python after the introduction of nonExist and BIND 2013-09-30 11:49:51 +00:00
kr.angelov cedf848b5d fix the graphviz visualization after the introduction of nonExist and BIND 2013-09-30 10:38:28 +00:00
kr.angelov 5dca1b7cfc the compiler now sorts the list of sequences in the PGF files 2013-09-23 13:13:59 +00:00
kr.angelov c4f68adca9 better handling for nonExist in the C runtime. BIND is also supported in the linearizer but not in the parser yet 2013-09-30 10:25:39 +00:00
kr.angelov 9784b72add use the real nonExist in the Maltese grammar 2013-09-27 15:19:17 +00:00
kr.angelov efa4bc4d62 a major refactoring in the C and the Haskell runtimes. Note incompatible change in the PGF format!!!
The following are the outcomes:

   - Predef.nonExist is fully supported by both the Haskell and the C runtimes

   - Predef.BIND is now an internal compiler defined token. For now
     it behaves just as usual for the Haskell runtime, i.e. it generates &+.
     However, the special treatment will let us to handle it properly in 
     the C runtime.

   - This required a major change in the PGF format since both 
     nonExist and BIND may appear inside 'pre' and this was not supported
     before.
2013-09-27 15:09:48 +00:00
kr.angelov 3f65253f0e use nonExist in paradigm mkN075 for Bulgarian 2013-09-27 11:33:05 +00:00
kr.angelov a6e0ef76f1 remove pgf/edsl.h from the C runtime 2013-09-26 11:59:35 +00:00
kr.angelov ab52863534 add gu_variant_close in libgu 2013-09-26 10:41:52 +00:00
kr.angelov 65ea8814aa fix the debug mode of the parser after the refactoring in libgu 2013-09-25 10:21:35 +00:00
kr.angelov be8bf64eb2 added assertion in the JIT compiler which checks that we are not going outside of the compilation window 2013-09-25 07:53:10 +00:00
kr.angelov b2b5bda43d fix a typo in src/runtime/javascript/translator.html 2013-09-25 07:13:50 +00:00
kr.angelov a1a4f7a1c1 a small fix in the python binding after the refactoring in the C runtime 2013-09-24 09:14:43 +00:00
kr.angelov 62d5dfb71b GrammarToPGF now looks only at the top modules for the PGF flags 2013-09-23 09:30:45 +00:00
kr.angelov ae79e7c386 fix a warning in the compiler 2013-09-23 09:20:55 +00:00
kr.angelov e6dbd74dc9 GF.Grammar.Grammar.allExtends now returns a list of source modules instead of just the module names. This saves extra lookups later 2013-09-23 09:18:27 +00:00
kr.angelov 688796a40d work on the translation dictionaries and the statistical model 2013-09-20 12:09:54 +00:00
kr.angelov 662d98a354 decrease the heuristic factor for parsing to 0.80 from 0.95. Otherwise we get the wrong result for compound verbs like "look after", "look forward", etc. 2013-09-20 12:07:47 +00:00
kr.angelov 88844d693a ProgrVP in English should add the verb particle if there is any 2013-09-20 12:07:12 +00:00
kr.angelov c4be116db4 added PossNP, PartNP and CountNP in the Bulgarian RGL 2013-09-20 12:05:39 +00:00
kr.angelov d2dc171508 added a version of compoundN which combines adjective and noun into a new noun 2013-09-20 12:04:37 +00:00
kr.angelov 7bafc5653c added a number of interjections and greetings in DictEng and DictEngBul 2013-09-19 12:02:44 +00:00
kr.angelov aea67b8109 the PGF reader now releases strings that are not used after the loading 2013-09-18 08:26:11 +00:00
kr.angelov 2b14fd2aae add type signature for gu_string_length in the headers of libgu 2013-09-18 08:03:37 +00:00
kr.angelov 016721d676 bugfix in the ordering of strings in libgu 2013-09-17 19:05:54 +00:00
kr.angelov b6ba5e7493 gu_buf_binsearch -> gu_seq_binsearch. Improved API 2013-09-17 19:04:46 +00:00
kr.angelov 62019f0881 added order and equality for strings in libgu 2013-09-17 13:45:37 +00:00
kr.angelov f984bfeb24 a major refactoring in the C runtime. GuList is now removed and replaced with GuSeq. The GuSeq/GuBuf API is simplified 2013-09-17 12:45:00 +00:00
kr.angelov 9810817f4d fixes in DictEng & DictEngBul 2013-09-17 12:01:05 +00:00
kr.angelov c5d2a50164 added UttInterj in PhraseBul 2013-09-17 11:59:59 +00:00
kr.angelov 5f0b5ecf35 added BSD licenses to the Java binding and the android UI 2013-09-16 06:54:55 +00:00
kr.angelov d5438439dc remove leftcorner_cat_idx which is now redundant 2013-09-13 13:49:17 +00:00
kr.angelov 605772fda1 minor optimization/refactoring in the grammar reader 2013-09-13 11:02:17 +00:00
kr.angelov 239eb22df5 the leftcorner indexing is now completely removed since it slowed down the loading without speeding up parsing a lot 2013-09-13 10:26:33 +00:00
kr.angelov 40baee9068 fix the debug mode of the parser after the changes in the libgu API 2013-09-13 09:58:20 +00:00
kr.angelov 540de9c2d0 tiny optimization in pgf/reader 2013-09-13 09:50:44 +00:00
kr.angelov d39003f872 bugfix in utf8.c 2013-09-13 09:50:04 +00:00
kr.angelov 7b6ebbcf1e fixes in DictEngBul 2013-09-13 09:49:31 +00:00
kr.angelov d6323291cd fix a warning in utf8.c 2013-09-13 08:30:57 +00:00
kr.angelov fc038c5240 optimize the reading of strings in the grammar loader. 2013-09-13 08:28:20 +00:00
kr.angelov 1e17f768fc more UTF8 cleanup 2013-09-13 08:12:19 +00:00
kr.angelov 30f37feb57 clean up the UTF8 API in libgu 2013-09-13 07:44:45 +00:00
kr.angelov 6080a625f7 fix in Android.mk to make sure that the Android build will always see the ARM headers of GNU lightning 2013-09-12 12:55:55 +00:00
kr.angelov d51b976d29 remove the logging from libgu 2013-09-12 09:30:02 +00:00
kr.angelov d88084a2d5 enable the PGF JIT compiler for Android 2013-09-12 09:05:43 +00:00
kr.angelov b3a644300c rewrite the ARM port of GNU lightning to a form compatible with the versions for the other CPUs 2013-09-11 20:17:50 +00:00
kr.angelov 4e328d1f33 added exhaustive generation in the Java binding 2013-09-06 07:21:38 +00:00
kr.angelov fec8720f31 remove the string internalization since it slows down grammar loading with little benefit 2013-09-05 13:34:49 +00:00
kr.angelov 8e2de541b6 move src/runtime/android to src/ui/android/jni 2013-09-05 12:19:59 +00:00
kr.angelov 993522eb5a added version readPGF in Java which takes as argument InputStream. This makes it easier to load grammars from the assets folder in Android 2013-09-05 12:12:01 +00:00
kr.angelov f8c8194303 fix gu_in_bytes_ to use buffering 2013-09-05 12:10:55 +00:00
kr.angelov 83ca6c4f9f remove the read and write modules from libgu. this simplifies the i/o layer 2013-09-05 11:20:39 +00:00
kr.angelov d0f527d0dd remove dump and yaml from libgu 2013-09-05 10:01:47 +00:00
kr.angelov bb36597050 bugfix for gu_buffered_in 2013-09-05 09:50:57 +00:00
kr.angelov cbc2ac1326 add gu and pgf in the library path for building the Java binding 2013-09-04 20:30:43 +00:00
kr.angelov 6e60e12aee added description file for building jpgf.jar 2013-09-04 18:48:51 +00:00
kr.angelov 4b9ae55925 fix the warnings from the Java binding 2013-09-04 18:23:49 +00:00
kr.angelov 76d1db7dc5 now it is possible to compile the C code for the Java binding from Eclipse. The old and broken Makefile is now removed 2013-09-04 18:09:06 +00:00
kr.angelov 643ca7987c added Eclipse project for building the Java binding 2013-09-04 14:06:06 +00:00
kr.angelov d3dad68c9b fix a few warnings in the Java binding 2013-09-04 13:37:40 +00:00
kr.angelov 94e84a3a77 updated files src/ui/android 2013-09-04 13:34:44 +00:00