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
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