Commit Graph
100 Commits
Author SHA1 Message Date
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
aarne f33059ae39 Prasad's sanskrit transliteration ; MiniresourceSan now compiles but is mostly incorrect due to missing paradigms 2013-05-31 16:25:42 +00:00
aarne 0ede1365dc started MiniresourceSan ; doesn't compile yet 2013-05-31 08:00:09 +00:00
aarne a5a269ac35 phrasebook Nor compiles again; added make ParseChi and ParseEngChi 2013-05-30 15:08:45 +00:00
aarne 1507881cb4 added VW foundation as sponsor and made the title conformant to funding decision on summer school web page 2013-05-28 14:59:15 +00:00
aarne 3e30dd78ec annotated Adv's in SentencesI to Syntax.Adv to avoid some clashes 2013-05-20 06:40:40 +00:00
aarne 4f831291b1 miniresource functor 2013-04-28 09:42:56 +00:00
aarne 6d6c565f98 Greek by Ioanna Papodopoulou - complete, 27th RGL language 2013-04-25 13:22:28 +00:00
aarne 67f33e5f24 new-gf-bib fixes 2013-04-22 20:48:50 +00:00
aarne e56bfe8811 option pt -funs to show all fun's in a tree 2013-03-29 11:45:42 +00:00
aarne 7d1040ffb9 pt -nub to remove duplicate trees from a list returned e.g. by a parser 2013-03-13 13:43:30 +00:00
aarne 78b3487cb7 command pt -subtrees that analyses a tree into the set of subtrees. Using pt -subtrees <bigtree> | l -treebank for debugging the lin of a big tree 2013-03-12 14:58:06 +00:00
aarne 88d7adfa85 fixed details of Romance clitics for reflexives, imperatives, infinitives. A change in the type of VP.clit3 was needed. 2013-02-20 19:34:20 +00:00
aarne f9a32dca3b pg -lexc now writes a list of multichar symbols and a title ("Root") for the lexicon, as required by Xerox lexc 2013-02-03 10:03:15 +00:00
aarne 374441ad8c updated resource synopsis and the scripts creating it; added Swahili to main index list 2013-01-30 17:01:22 +00:00
aarne e20a62366f commented out some old history from index.html, and completed the list of languages 2013-01-30 16:54:51 +00:00
aarne c3430f3e24 more on RGL languages in release notes 2013-01-29 17:50:27 +00:00
aarne f2650007c7 updated the lists of notPresent languages 2013-01-29 16:53:15 +00:00
aarne e1a92efd76 added Heb = Hebrew to the incomplete languages that can be compiled 2013-01-28 18:03:35 +00:00
aarne 1eb45d955b improved error message for overloading in case the given signature looks the same as one of the expected ones: it shows full records rather than just lock fields. 2013-01-28 14:00:23 +00:00
aarne 899d03d05b some additions to new-gf-bib.bib 2013-01-28 08:42:00 +00:00
aarne e7db50b9bd fixed the construction for English indirect questions of name in Phrasebook 2013-01-23 09:29:39 +00:00
aarne 4eef06e38e started GF FAQ; not yet publishable 2012-12-28 10:57:46 +00:00
aarne 5ff33f47be added alltenses to the default search path (just like prelude) 2012-12-20 16:05:34 +00:00
aarne 45a2629ee5 added functions to Ron and Chi needed for YAQL 2012-12-09 19:01:19 +00:00
aarne 768bec4073 superlative agreement and position in PhrasebookFre 2012-12-07 15:37:37 +00:00
aarne c4931fccaf fixed external case for countries in PhrasebookFin 2012-12-07 15:25:27 +00:00
aarne f5e4385fdd MiniresourceChi added as a cloud demo grammars 2012-11-27 13:27:07 +00:00
aarne 03c3c57290 produce error message instead of failure of irrefutable pattern Ok ty_C in GrammarToPGF, to help find compilation errors; the ones I've found are because an inherited abstract excludes something that the inherited concrete does not exclude. 2012-12-02 19:40:45 +00:00
aarne 4432d7c36c miniresource with one module per language for a web IDE demo 2012-11-23 15:57:00 +00:00
aarne 61276878f6 index: news on summer school and Chinese 2012-11-19 09:58:26 +00:00
aarne e2817244a2 some fixes to make Phrasebook compilable more easily 2012-10-15 09:02:39 +00:00
aarne 0345bb5d7a refactoring German VP 2012-09-23 07:46:43 +00:00
aarne c71c5b2140 link to ICFP slides, part 1 2012-09-18 13:44:36 +00:00
aarne ab173e4adc negative patterns in gfmorpho 2012-09-14 08:56:09 +00:00
aarne e4948050f5 make Lang for languages that have complete morphology when running make in lib/src 2012-09-13 07:20:57 +00:00
aarne 560bc7d38e example with computer terminology from the Wikipedia 2012-09-12 14:04:39 +00:00
aarne acb3fa961e First version of a web server for morphological paradigms. 2012-09-12 12:52:03 +00:00
aarne 27196778ac added Lav in compilation; commented out extensions of Words that are only available for a fraction of languages; fixed a couple of type errors in WordsLav, to be checked 2012-08-28 11:29:54 +00:00
aarne a15e907e80 typo in extmini 2012-08-24 12:31:32 +00:00
aarne 2b77d3e0b0 extended mini resource grammar in examples, with Eng, Ita, Cmn (Mandarin Chinese by Jolene) 2012-08-24 06:30:10 +00:00
aarne a99eaa74ec github news, new languages in the list on index 2012-06-29 09:57:36 +00:00
aarne bc8ce3f7ca removed spurious empty warnings 2012-06-25 14:47:09 +00:00