Commit Graph
100 Commits
Author SHA1 Message Date
kr.angelov b255f19b63 fix in the Python binding 2013-11-20 09:54:37 +00:00
kr.angelov 33a76f1cd5 bugfix in the robust parser 2013-11-18 09:05:27 +00:00
kr.angelov 2dd04b2b2f add gu_buf_insert in libgu 2013-11-18 09:05:09 +00:00
kr.angelov fb8de0e8ea fixes in the C runtime to avoid warnings when compiling on MacOS 2013-11-15 10:03:22 +00:00
kr.angelov 684a3b8df5 pgf_read should open the grammar file in binary mode to prevent the Windows runtime from messing up the content. 2013-11-15 09:04:00 +00:00
kr.angelov 254aba33a1 pgf_reader_done should do nothing if the reading has failed 2013-11-15 08:59:18 +00:00
kr.angelov 6d94bffc87 NumeralLav should use restricted inheritance from CatLav 2013-11-15 08:04:51 +00:00
kr.angelov d7dfa01bb0 add additional options for compiling the Java binding on Windows (suggested by Normunds) 2013-11-15 07:48:02 +00:00
kr.angelov 4874165cea two senses of ring_V2 which have different morphology in English 2013-11-14 21:55:40 +00:00
kr.angelov 230f7d5e01 three words in DictEngBul 2013-11-14 21:55:16 +00:00
kr.angelov 58b47c2766 added date_3_N for the sense of "meeting". also added comments for the meanings of a few sense disambiguated words in the abstract syntax. The format of the comments follows the Haddock convention 2013-11-14 20:15:02 +00:00
kr.angelov 4b919ba26f a number of changes in the dictionaries. marvellous_A is merged with marvelous_A. organise as alternative spelling of organize_V2. A few new Bulgarian words. DictEngSwe.gf is now disconnected from DictSwe.gf and follows the same convention as the English, Bulgarian and German dictionaries. 2013-11-14 18:03:33 +00:00
kr.angelov 05cec7c67d add VerbBul.AdVVPSlash 2013-11-14 13:36:34 +00:00
kr.angelov bfd555b452 ring was not marked as irregular verb in the dictionary 2013-11-13 21:00:08 +00:00
kr.angelov 644c2f40d4 fix the valencies of vote and spread_out in the dictionary 2013-11-13 20:59:28 +00:00
kr.angelov 90e2f11045 now ago_Prep is postposition in English 2013-11-13 20:58:08 +00:00
kr.angelov a18fccd338 add two files from the Android app that were forgoten 2013-11-13 17:27:11 +00:00
kr.angelov 041630e8b1 split degree_N into three senses and add licentiate_N and phd_N in Bulgarian 2013-11-13 16:39:04 +00:00
kr.angelov 63a90f34af bugfix in the C runtime which had made the parser up to 200 times slower for some sentences 2013-11-13 15:15:28 +00:00
kr.angelov f904846f0f few more Bulgarian words 2013-11-13 13:06:16 +00:00
kr.angelov 301fbb0916 typo in DictEngBul 2013-11-13 12:39:21 +00:00
kr.angelov 5c6e0ba964 change in DictEngBul 2013-11-13 12:32:28 +00:00
kr.angelov a47d37ca67 the dictionary view in the Android app now shows both the source and the target linearizations 2013-11-13 12:29:10 +00:00
kr.angelov 3d410e0fd7 minor bugfix in the translator keyboard 2013-11-13 10:59:03 +00:00
kr.angelov 13084dab4f now the Android App has a translation keyboard which allows the translations to be done from inside another application 2013-11-13 10:45:20 +00:00
kr.angelov d1a0e6ca9d split fire_N into two senses fire_1_N and fire_2_N 2013-11-13 08:59:03 +00:00
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