Commit Graph
100 Commits
Author SHA1 Message Date
kr.angelov d40f0e292e document the four new language features in the reference manual 2013-11-12 16:05:02 +00:00
kr.angelov 7585d68dd8 use SOFT_BIND to glue the hyphen in the comparative and superlative forms of the Bulgarian adjectives 2013-11-12 10:34:07 +00:00
kr.angelov 6449bbad9c use BIND to glue the digits in IIDig for the Bulgarian, English and Swedish grammmars 2013-11-12 10:28:46 +00:00
kr.angelov d6f73f175f use SOFT_BIND in the Bulgarian and Swedish grammars 2013-11-12 10:18:35 +00:00
kr.angelov 4b80a15b6c fixes in DictEngBul and one more paradigm in ParadigmsBul 2013-11-12 09:58:39 +00:00
kr.angelov 1d7b6f44b6 added Predef.SOFT_BIND. This special token allows zero or more spaces between ordinary tokens. It is also used in the English RGL to attach the commas to the previous word. 2013-11-12 09:54:57 +00:00
kr.angelov 6729cca568 factor of 3 speedup for the translation without slowing down the grammar loading. The parser still seems to be 8 times slower than before I introduced the BIND. At least the Android UI now feels a lot more comfortable 2013-11-07 11:14:32 +00:00
kr.angelov 03e7c287fd bugfix in the binary search implementation in libgu 2013-11-07 11:13:47 +00:00
kr.angelov ceb156b93b remove redundant type signature in gu/seq.h 2013-11-07 09:47:07 +00:00
kr.angelov 19700cb52d a few words in DictEngBul 2013-11-07 09:22:43 +00:00
kr.angelov fe41356a9d fix for the memory allocation in the jitter which should work for Windows. 2013-11-07 08:47:35 +00:00
kr.angelov cbfa65c7ae the 'Release' configuration in Eclipse is renamed to 'Release (posix)'. In addition now there is 'Release (mingw)' for Windows. 2013-11-07 08:36:17 +00:00
kr.angelov 4265a31003 added #ifdef to detect MinGW in the Java binding and to import the right header for alloca 2013-11-07 08:08:41 +00:00
kr.angelov d0c06ae2b5 fix in DictEng and DictEngBul 2013-11-07 06:36:03 +00:00
kr.angelov eb30f5308b fixes in DictEng, DictEngBul and DictEngSwe 2013-11-06 21:17:21 +00:00
kr.angelov 125aaa9edf three words fixed in DictEngSwe 2013-11-06 20:36:16 +00:00
kr.angelov 30e49cbd71 more compact inflection tables for Swedish 2013-11-06 20:24:36 +00:00
kr.angelov 6c71830c10 fix in the parsing with pre 2013-11-06 16:25:25 +00:00
kr.angelov cab341c3d9 fix DictEngSwe.here_Adv 2013-11-06 15:16:21 +00:00
kr.angelov 11d7b1324f added inflection_sv.xml 2013-11-06 14:46:57 +00:00
kr.angelov 5739785c77 bugfix in the Java binding 2013-11-06 14:41:42 +00:00
kr.angelov bd69ad83f7 fix the deserialization of flags from the GFO files 2013-11-06 13:05:51 +00:00
kr.angelov e783567fa8 remove the beam_size flag from ParseSwe as well 2013-11-06 12:34:39 +00:00
kr.angelov f85dae2f8f remove the beam_size flag from the other ParseXXX grammars 2013-11-06 11:02:53 +00:00
kr.angelov 74cb2d1860 use the inflection_cmn.xml in the Android translator 2013-11-06 11:00:39 +00:00
kr.angelov 475f213c99 the content of ParseEngAbs3.probs is now merged with ParseEngAbs.probs. The later is now retrained. Once the grammar is compiled with the .probs file now it doesn't need anything more to do robust parsing. The robustness itself is controlled by the flags 'heuristic_search_factor', 'meta_prob' and 'meta_token_prob' in ParseEngAbs.gf 2013-11-06 10:21:46 +00:00
kr.angelov d094d671bd when printing floating literals use %lg instead of %lf for better output 2013-11-06 09:46:29 +00:00
kr.angelov e6ec23c178 fix which_IQuant and add two more words in DictEngBul.gf 2013-11-05 10:26:03 +00:00
kr.angelov 019a195378 fix in gf.cabal. Data.Binary.IEEE754 needs to be in the other-modules list for the PGF library since otherwise building GF applications will fail 2013-11-05 09:42:22 +00:00
kr.angelov d2186b71e3 fix the debug mode of the JIT compiler after the refactoring in libgu 2013-11-04 19:33:29 +00:00
kr.angelov 81ef6714db A simple type checker in the C runtime. Dependent types are not supported yet but HOAS is implemented. The API is accessible from Python as well 2013-11-04 17:10:46 +00:00
kr.angelov 5683367818 bug fix in the linearizer 2013-11-04 12:40:53 +00:00
kr.angelov 0cb3245e26 linearization for HOAS trees. It should word but we need a type checker in order to test it properly 2013-11-02 12:34:00 +00:00
kr.angelov b9cf05073f remove the include of lexer.h from pgf-parse 2013-11-02 11:28:55 +00:00
kr.angelov 58b20a7e2e fix the parseval metric after the redesign in the C runtime 2013-11-01 17:36:22 +00:00
kr.angelov 72e0c89abe bugfix in the linearizer 2013-11-01 17:26:35 +00:00
kr.angelov 330e33a386 make gu_exn_is_raised non inlined. this is useful to make it callable from Haskell 2013-11-01 16:38:16 +00:00
kr.angelov d7cd5ba195 fix the robust parser for unknown tokens 2013-11-01 13:05:17 +00:00
kr.angelov ffa143f1d2 bugfix in linearizer.c 2013-11-01 11:02:12 +00:00
kr.angelov 9b0f5ea449 ExtraEng.MkVPS should add the extra position field 2013-11-01 10:58:52 +00:00
kr.angelov 8c6e6f7eb8 more in DictEngBul 2013-11-01 09:55:43 +00:00
kr.angelov 1bd9778953 lindef and linref in the Bulgarian grammar 2013-11-01 09:02:20 +00:00
kr.angelov b05f61e6c6 remove the include to mman.h in jit.c since it doesn't seem to be used 2013-11-01 07:46:24 +00:00
kr.angelov f2d0d28812 add the forgoten close_arrow.png 2013-10-31 19:04:53 +00:00
kr.angelov 1156ed66cb trim the input string in the conversation view for better lexical matching 2013-10-31 18:04:02 +00:00
kr.angelov 0b74410b01 make the input mode in the Android translator persistent 2013-10-31 17:34:01 +00:00
kr.angelov 7d55b4c685 update the TAG for the MainActivity 2013-10-31 14:18:39 +00:00
kr.angelov 70180a00d5 store the source and target languages for the Android UI in a preference file 2013-10-31 14:16:37 +00:00
kr.angelov f4aac34cf8 when the phone is in silent mode the UI should not use the TTS 2013-10-31 13:38:39 +00:00
kr.angelov bd7b9b0168 fix the parsing error in the Android app 2013-10-31 13:22:53 +00:00
kr.angelov 90cc7b8379 fixed utf-8 decoding problem in libgu 2013-10-31 13:20:12 +00:00
kr.angelov 8f565302cc bracketedLinearize in Python is now using the linref 2013-10-31 09:04:07 +00:00
kr.angelov 40f0ceb2ef use Simul instead of Anter in linref ClSlash 2013-10-31 08:35:39 +00:00
kr.angelov 8019d3a615 use linref in the C linearizer. The robust linearization is now fully supported 2013-10-30 21:43:52 +00:00
kr.angelov 7a618204c4 fix the lindefs for verbs and VPs in CatEng 2013-10-30 21:42:39 +00:00
kr.angelov 68b40ff0a8 fix the debug mode in the linearizer after the refactoring in libgu 2013-10-30 21:06:55 +00:00
kr.angelov e50e0de6a1 more lindef and linref definitions in CatEng.gf 2013-10-30 15:23:09 +00:00
kr.angelov 36a9806d30 added linref for VP in CatEng.gf 2013-10-30 14:44:19 +00:00
kr.angelov 620e880155 linref is now used by the linearizer. The visible change is that the 'l' command in the shell now can linearize discontinuous phrases 2013-10-30 14:42:29 +00:00
kr.angelov 43fb9b3b7a added the linref construction in GF. The PGF version number is now bumped 2013-10-30 12:53:36 +00:00
kr.angelov 1381d65131 missing binary serialization for PImplArg in the .gfo files 2013-10-30 12:48:58 +00:00
kr.angelov 56893dbf54 another fix for 'pre' 2013-10-28 13:54:06 +00:00
kr.angelov 453190fcb6 remove very_Adv from Dict* 2013-10-28 13:07:20 +00:00
kr.angelov ec6ef1aff4 minor fixes in DictEng and DictEngBul 2013-10-28 12:41:03 +00:00
kr.angelov 0f10297346 fix inflection_en.xml 2013-10-28 12:37:37 +00:00
kr.angelov 841880144d fix the handling of 'pre' in the C runtime 2013-10-28 12:35:37 +00:00
kr.angelov fad9947aab bugfix in gu/seq.h 2013-10-28 08:58:36 +00:00
kr.angelov 2bff7d8c21 more in DictEngBul 2013-10-24 08:04:59 +00:00
kr.angelov 5d993bbdad put was used as regular verb in few places in DictEng 2013-10-23 15:33:33 +00:00
kr.angelov 4c28dc8de0 added dummy inflection template for Chinese. It needs better names for the different inflection forms 2013-10-23 15:23:54 +00:00
kr.angelov 244708e0a9 the first version of the Android's morphology browser 2013-10-23 15:10:13 +00:00
kr.angelov 6d5ff6ee62 fix in DictUrd to make it compile 2013-10-23 15:08:57 +00:00
kr.angelov eb8e830e66 a few fixes in DictEngBul and DictEng 2013-10-23 15:07:43 +00:00
kr.angelov c98a9a3266 tabular linearization in the C and Java runtimes 2013-10-23 14:49:28 +00:00
kr.angelov cf05e78712 clumsy fix for nonExist in pgf-translate 2013-10-21 12:35:34 +00:00
kr.angelov e3dc98dd0f bugfix for the custom literals in the C runtime 2013-10-21 12:34:57 +00:00
kr.angelov 8103703858 fix the grammar serialization for nonExist and BIND 2013-10-21 10:03:43 +00:00
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