1
0
forked from GitHub/gf-core
Commit Graph

8706 Commits

Author SHA1 Message Date
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
aarne 6a5979a689 using le for AAnter in Chi; adjustments of CompAP rules in Chi 2013-10-06 21:13:31 +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
bringert 6adc9f7be4 Add new Android voice translator sample app
This adds a simple voice translator Android app that uses
the JNI bindings to the PGF C runtime.

Caveats:

- Since the C runtime doesn't compile for Android right now,
  I've bundled an old copy, along with its Java bindings.
  That should be removed once the C runtime compiels for Android
  again.

- Adding an automated build would be nice.

- Replacing the grammar requires editing a Java file, that should 
  really be more dynamic.
2013-10-04 16:26:46 +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
inari 4c277ee268 PassVPSlash for Swedish 2013-10-03 13:13:46 +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
aarne 84c1422e6f adjectival predication now without copula by default in Chi 2013-10-03 07:37:17 +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
aarne 58f6a91f68 removed yi from Chi plural indef 2013-10-01 16:50:56 +00:00
aarne 4d1804c820 moved Chi ListCN to right place and added some missing words 2013-10-01 16:30:52 +00:00
aarne e5fe5d55c9 refined the types Adv and Prep in Chi to control the presence of the zai auxiliary 2013-09-28 03:06:55 +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
hallgren 452164f10f GF home page: minor style changes
+ Split the list of languages into several columns if space permits
  (in supported browsers, currently Firefox).
+ Limit the size of the GF logo to 75% of width the window. Looks better on
  small screens.
2013-09-29 16:25:16 +00:00
aarne 20003e92f6 Assign_31 from SYSU now compiles and is added to ParseChi. 2013-09-27 16:02:37 +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
aarne 775d00205b one more Chinese assignment 2013-09-27 10:19:48 +00:00
aarne 209f872f1d two more assignments in Chi ; fixed position of some prepositions 2013-09-27 10:09:37 +00:00
john.j.camilleri 695e3450b0 Rename README to READ_ME so that Apache doesn't hide it 2013-09-27 09:31:20 +00:00
john.j.camilleri 02db134450 Remove empty contrib folder and place README in examples 2013-09-27 09:18:08 +00:00
aarne 662d8ae33e new version of Assign_32, with correct encoding 2013-09-27 07:25:47 +00:00
aarne be2fc47e99 Chinese lexicon contributions from Sun Yat-Sen University 2013-09-27 06:55:32 +00:00
aarne 9ce07e699f fixed many things in ParseChi 2013-09-27 03:45:02 +00:00
aarne 6c28e9743d fixed prepositional verbs in Chinese, and swapped mkPrep to the natural pre-post order 2013-09-27 02:40:34 +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
aarne 920590a9cc renamed the ParadigmsChi versions of mkNP and mkDet - to mkp: there shouldn't be mkC functions in Paradigms for phrasal categories 2013-09-26 06:52:02 +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
aarne f7c5ec4872 order of Chinese vocative 2013-09-25 01:43:57 +00:00
aarne 7c396da3f7 implemented the top-17 missing functions in ParseChi; shaky definitions though 2013-09-24 15:43:43 +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
hallgren 9be39dd3c7 Link to GF source code browser
And the summers chool and the Interactive map are not new anymore.
2013-09-23 13:07:24 +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
hallgren a7469a694b Comment out identifier refreshing code only used by the removed refresh pass 2013-09-20 16:36:24 +00:00
kr.angelov 688796a40d work on the translation dictionaries and the statistical model 2013-09-20 12:09:54 +00:00