Commit Graph
100 Commits
Author SHA1 Message Date
aarne fd5525149b link to play store from app.html 2014-06-30 09:14:17 +00:00
aarne 2601dac641 added a note that the green translation comes from the phrasebook 2014-06-20 07:12:31 +00:00
aarne a64dfe0bc8 some probabilities in app.probs to recognize languages and pronouns 2014-06-20 06:31:09 +00:00
aarne 85d80a89be restored some functions in PhrasebookDut to make it complete again 2014-06-19 18:08:03 +00:00
aarne 0e940b7fd1 style0 in app.html to preserve colours in table cells 2014-06-19 17:44:06 +00:00
aarne 916ef5bc47 language status in app help file as table ; less text 2014-06-19 17:42:03 +00:00
aarne 23cc4981ab language status information in demo app and translation documents 2014-06-19 17:41:34 +00:00
aarne 09476a16e2 renaming in PhrasebookDut to avoid name clash in App 2014-06-19 16:09:15 +00:00
aarne 5c7586bb78 a couple of fixes in Phrasebook ; should compile now 2014-06-19 15:55:39 +00:00
aarne 318c69f58a release notes: record update and RGL updates 2014-06-19 07:18:24 +00:00
aarne 67012288c0 section on record update in gf-refman 2014-06-19 07:10:43 +00:00
aarne 3d5d600236 enabled more from Construction in App 2014-06-18 16:20:53 +00:00
aarne d92f65f186 correction in app/README 2014-06-18 15:59:56 +00:00
aarne 28e50b0f5f quick hack: changed cat name Language to LAnguage in Phrasebook to avoid clash with Construction.Language in App 2014-06-18 15:38:11 +00:00
aarne 11d8df739e updated demos/translation.t2t with link to app and explanation of colours 2014-06-15 14:12:55 +00:00
aarne 7b582218c9 CompoundN in app.probs 2014-05-29 11:04:24 +00:00
aarne aeb00013ce fixed the path in AppFin.gf so that it compiles in a more general setting 2014-05-22 06:23:57 +00:00
aarne f2e28c59c6 App compilation instructions: with parallel compilation, make Phrasebook separately 2014-05-21 08:19:34 +00:00
aarne 43eaedd326 probabilities for App 2014-05-21 07:31:18 +00:00
aarne 27fc5e5b04 improved paths and Makefile in examples/app ; see README how to compile with just 'make -j' 2014-05-06 21:42:49 +00:00
aarne 41d7f2dfaf eliminated dependency of PhrasebookChi from DictionaryChi ; added 'make forApp' to compile what is needed for Phrasebook in App 2014-05-06 20:09:21 +00:00
aarne d752167f59 some more words and phrases in PhrasebookChi ; native speaker check should be done soon 2014-05-03 15:57:21 +00:00
aarne f5e4430e34 merged the edits 2014-04-24 07:23:40 +00:00
aarne 1e67d2531b updated app.html with new links 2014-04-24 07:15:48 +00:00
aarne 58615e6bc6 updated app help 2014-04-24 07:14:40 +00:00
aarne e60ec8d1da updated app.html with images and a link where a real app can now be found 2014-04-22 17:18:50 +00:00
aarne e6363c51dd some edits in app help ; special lexer for Fre,Ita commented out as it is no longer needed 2014-04-22 16:00:54 +00:00
aarne d3020a2f19 a copy of app help file as demos/app.html 2014-04-21 08:45:32 +00:00
aarne 7340400758 some edits in app help 2014-04-21 08:40:38 +00:00
aarne 1bc77326e2 edits in App help ; name suggestion "Language Compiler" ; sepApo(), a quick fix to French and Italian elision in the App 2014-04-15 22:02:06 +00:00
aarne fbcb5e1957 removed clash in AppFin imports 2014-04-15 21:26:33 +00:00
aarne d8f15af8f0 Dut added to android Translator.java 2014-04-11 19:47:50 +00:00
aarne 3740a30f05 App11.pgf in Makefile 2014-04-11 18:56:59 +00:00
aarne aca589d872 experimental AppDut added 2014-04-11 07:49:34 +00:00
aarne d7ef5d8c0b improved generation of BNC dictionaries ; now called TopDictionary for clarity 2014-04-10 13:07:05 +00:00
aarne 88cf84613e more passives in App. Import changes are now produced with MkApp.hs, which copies the exclude list from App.gf to the concrete syntax files. 2014-04-09 14:01:06 +00:00
aarne a3921bffd7 rewrote App so that it just inherits Translate and excludes some functions. This minimizes the duplication of code between Translate and App. Also added some functions, which make App 15% slower but increase the coverage and quality. This trade-off has to be studied further. 2014-04-09 13:04:19 +00:00
aarne 44521edd2d small fixes in App grammar - don't affect performance 2014-04-08 16:14:05 +00:00
aarne ad5f7397ad path in AppFin 2014-04-04 14:32:36 +00:00
aarne 1bd5bcfad3 polarities restored in Hin translation 2014-04-04 12:05:20 +00:00
aarne dafaef7fec AdvS added to app 2014-04-04 07:30:06 +00:00
aarne 1af3bb65b4 text in app help 2014-04-04 07:28:55 +00:00
aarne 942808bc84 added AdvVP and AdVVP to App 2014-04-03 07:25:57 +00:00
aarne cae40d2b0e Android app sources in examples/app - read README for advice 2014-04-02 21:34:40 +00:00
aarne d4cbadb6ad use chunking before morpho lookup in backup parsing ; show results with unknown linearizations in darkest red 2014-04-01 16:24:35 +00:00
aarne 13d4e01ecb Hin and Bul keyboards in app restored 2014-03-31 19:45:41 +00:00
aarne 2a6cbe9a46 room_N in DictionaryChi 2014-03-31 14:30:31 +00:00
aarne 035d367b1f added the phrase "what time is it" in ten languages. For simplicity, this is a Greeting and not a Question, which means that it has a variant appearing with ! rather than ? , similar to "how are you". Correcting this would require analysing the structure of the phrase so that it can be constructed in QS. 2014-03-28 08:02:14 +00:00
aarne cbb538e170 a darker red in translation app: dictionary lookup for each word, identity if lookup fails 2014-03-18 13:22:13 +00:00
aarne b4a6e047e3 Hin and Ger added to android app again 2014-03-18 10:21:53 +00:00
aarne 891ca74186 show the value in the error message when failing to get Str from value 2014-03-17 18:02:07 +00:00
aarne 55e2bfb9eb bg in android app 2014-03-14 15:00:33 +00:00
aarne 7899bb8cbe moved the small app chunking grammars from lib/src/experimental to examples/translator; the proper place might be in the git contributions, but this can be decided later 2014-03-14 13:28:42 +00:00
aarne 566df8e4ae Spanish in android app 2014-03-14 09:45:46 +00:00
aarne c1c37a65e6 AppIta, with a small lexicon 2014-03-13 13:27:51 +00:00
aarne f12aed25ca App ported to Fre 2014-03-13 11:12:34 +00:00
aarne ccda8f00e1 android: added (1) dg icon (2) green/yellow/red colours for translation confidence (3) App grammars as test case in Translator.java 2014-03-10 18:04:43 +00:00
aarne 2ee2769146 reference to DictEngChi changed to DictionaryChi 2014-03-10 18:00:15 +00:00
aarne 0537de6726 added alternative build with Pred grammars to android, commented out by default 2014-03-09 11:42:47 +00:00
aarne 6faaa795c5 disabled ad hoc overloading, as it still causes mysterious errors. It is just a few lines in Rename.hs 2014-02-09 19:55:17 +00:00
aarne 2aa8ad7e76 new overload resolution, taking care of ad hoc overloading. 2014-02-01 13:17:52 +00:00
aarne 6dba4e6f1e ad hoc overloading: a new way to deal with name resolution conflicts. Previously the renamer warned if there was e.g. an unqualified reference to mkAdv, which could come from either Syntax or Paradigms. The renamer picked randomly one of the alternatives, which then often failed in type checking. Now, all candidates are collected into a new structure AdHocOverload [Term], which is accessed by the type checker to make the choice based on the type of the constant. This eliminates some of the warnings and some of the error due to wrong choices. In some rare cases, the inherited constants have the same type, which cannot be resolved by overloading. In such cases, the type checker does the same as the renamer did before: pick the "first" option (i.e. the one that happens to be the first in the list returned by the renamer) and issues a warning. In this patch, only a couple of lines are changed. The typechecker (RConcrete) has more substantial changes, and will be recorded as the next patch. 2014-02-01 13:10:36 +00:00
aarne d90eededaf typo in Concrete type checker: when type checking <e : t>, return annotated e and not e itself. Fixed in RConcrete, which should soon replace Concrete; and hopefully will be replaced by some cleaner code soon, such as ConcreteNew which has been under construction for quite some time. 2014-01-31 21:16:07 +00:00
aarne 6f03e517c8 experimental type checker module GF.Compile.TypeCheck.RConcrete.hs with record updates enabled by ** expressions. Can be changed back to Concrete.hs by just changing one import command in GF.Compile.CheckGrammar.hs. The worst thing that *should* happen with the new type checker is that some old code is detected to be invalid, which happens if it contains a type-incompatible record extension, e.g. {x = "foo"} ** {x = 1}. Previously such errors were silently ignored. A set of test runs detected one such error in the RGL, which was corrected. On the positive side, the new type checker now enables record updates in the natural way: R ** {x = 1} will give value x = 1 overshadowing any value of x in R (provided the expected type of x is Int). lib/src/experimental/PredicationSwe.gf illustrates this, as opposed to PredicationSwO.gf which has to use old-style copying of even the unchanged record fields. 2014-01-31 20:28:25 +00:00
aarne b9a91b3c34 removed the generated html files 2014-01-10 14:55:21 +00:00
aarne 8b85e07561 started demo pages for translation and resource grammars 2014-01-10 14:54:21 +00:00
aarne 1010d357c5 ParseFin ProDrop variants ; ParseFre question word order and pronoun gender variants 2013-12-17 09:54:11 +00:00
aarne 8736926a9a started DocumentationFre 2013-12-13 08:56:24 +00:00
aarne 8121124d72 French inflection display in android 2013-12-10 13:03:50 +00:00
aarne 2dda42e4d9 new inflection_fi.xml, for stemmed and refactored ParseFin 2013-12-09 14:48:19 +00:00
aarne 30511a600e make ParseFin compile with Construction 2013-12-07 08:01:28 +00:00
aarne 2ef28487ef removed the unlines-lines wrapper from Lexing.unlexer to prevent empty lines when an unlexer (such as -bind or -unchars) is used as an option in linearization. Don't know really why the input had been broken into lines in the first place. You can see the effect by importing LangEng and running "gr -cat=Cl | l -table -bind" before and after recompiling GF. 2013-12-03 13:27:22 +00:00
aarne fad27b1b4a ui/android/.../Translate.java uses Parse8 (change the name and language list if you need something else) 2013-12-02 13:34:51 +00:00
aarne 39cb49b05d added forms to Finnish xml table 2013-11-29 08:21:00 +00:00
aarne f21928802f html templates for Finnish noun and verb inflection started 2013-11-28 22:04:30 +00:00
aarne 63e338cb80 Translate grammar for Ger and Hin added. Some functions in Ger phrasebook need to be commented out to compile. Now a system for 7 languages can be built, but including Fre as well is too heavy on my laptop although it can be compiled separately. 2013-11-28 08:03:50 +00:00
aarne 2b1794010e more stack in Translate Makefile 2013-11-20 12:48:53 +00:00
aarne fe4242275a changed startcat in Translate to get robustness; typo in DictEngSwe 2013-11-06 17:25:39 +00:00
aarne a927944c80 added robustness flags to Translate; added or fixed a number of words in DictEngSwe detected in PhD regulations 2013-11-06 16:26:58 +00:00
aarne e4c6ca41a7 added a -treebank option to the lc command 2013-11-05 20:42:22 +00:00
aarne 027ea81552 restored old language codes in android/.../Translator.java (committed by accident in previous patch) 2013-11-05 17:36:21 +00:00
aarne aba666c5bc linearization by chunks in the GF shell: a new command 'lc' needed because 'l' requires type checking and trees with metavariable function heads don't type check. This will hopefully be a temporary command. 2013-11-05 17:28:47 +00:00
aarne d454165f24 left AR's translation project names in android/.../Translator.java as comments instead of leaving the changes uncommitted 2013-11-01 13:46:51 +00:00
aarne 9ff8c28676 Make entry for TranslateEngChiFinSwe 2013-10-27 16:34:05 +00:00
aarne 5be985f0c8 Phrasebook lin's that create punctuation and "please" for NP's overridden, to give uniformity to Translate translations 2013-10-27 15:42:54 +00:00
aarne ccc18da2d4 added TranslateSwe to the Parse+Phrasebook translators 2013-10-27 15:17:10 +00:00
aarne df2e91154c news about Estonian 2013-10-18 12:02:00 +00:00
aarne 8e43ac968f completed PhrasebookChi with many expressions, using Google translate as main source 2013-10-12 20:32:05 +00:00
aarne e50594a83c added TranslateChi and TranslateFin 2013-10-12 18:54:47 +00:00
aarne 8fe119b4cc added links to main index.html 2013-10-11 12:58:53 +00:00
aarne 7f74cdcb76 Chi phrasebook bootstrapped from Tha; far from finished 2013-10-11 12:16:03 +00:00
aarne 75380bc0e4 harmonized the paths of Translate*.gf to guarantee the usage of the same DictEngAbs 2013-10-11 11:24:58 +00:00
aarne 3ca480f57d added TranslateBul and translator/Makefile 2013-10-11 08:36:09 +00:00
aarne 824cf32226 integration of Parse with Phrasebook, to get idiomatic translations whenever possible 2013-10-11 08:19:04 +00:00
aarne a0e6576e45 added 'make ParseFre' and 'make ParseEngFre' to lib/src/Makefile; added the script french/MkWikt.hs 2013-10-10 23:32:05 +00:00
aarne cbe2cb9908 new Foods for Chi, Gla, Ori 2013-08-20 13:27:16 +00:00
aarne a05856ec93 finished the refactoring of Fin with unstemmed (for library use) and stemmed (for large-scale parsing use). All differences are located in the file StemFin. 2013-08-07 09:52:40 +00:00
aarne 03db087e38 pointer to RGL publications as main index news item 2013-07-26 08:45:53 +00:00
aarne 0087456c7a updated the number of PhD thesis and publications in index.html; started an RGL publications page 2013-07-25 15:24:22 +00:00
aarne 850e02cb6e hs datatype generation for empty abstract types added 2013-07-24 08:11:16 +00:00