Commit Graph
100 Commits
Author SHA1 Message Date
aarne 4ef0a64fba DictionaryIta checked for unsound verb entries 2014-12-07 13:35:03 +00:00
aarne a080258582 soundness checks in Romance smart V paradigms to eliminate non-verbs 2014-12-07 13:07:07 +00:00
aarne 122230cdc0 corrected or commented out clearly non-verb Spanish V entries with the new CheckInflection script 2014-12-07 13:06:13 +00:00
aarne e67a7dcdba applied prep verb generation to DictionarySwe. New entries commented with guess-p-verb 2014-12-07 11:55:51 +00:00
aarne d42f12bd09 script PrepVerb.hs to create rules for prepositional and particle verbs ; modified MergeDict.hs to add them only in cases where the old dict does not have them 2014-12-07 11:53:58 +00:00
aarne 0e0221d2d0 restored Dictionary.get_V2 which had been omitted. It is a very common verb, although sense splits will certainly be needed. 2014-12-06 11:36:54 +00:00
aarne c3c1334bc3 alternative placement of adverb in TranslateEng.AdvVP: before object. Should increase coverage. After object still the first variant. 2014-12-06 11:35:33 +00:00
aarne 87c62e0d70 MissApp.hs: a function for preparing a list of lin rules for missing words 2014-12-06 08:39:25 +00:00
aarne 50dd1eb0e9 DictionaryFin: added 58 missing Prep and other structural words 2014-12-06 08:38:25 +00:00
aarne 68ea3fd4df quite a few prepositions in DictionarySwe, in particular multiwords 2014-12-05 18:36:42 +00:00
aarne d3c26a077d missing structural words in DictionarySwe 2014-12-05 18:12:40 +00:00
aarne e795632ee5 commented out whichever_A from Dictionary 2014-12-05 18:12:18 +00:00
aarne 145fca17fd mkQuant added to ParadigmsFin ; added missing Quants to DictionaryFin 2014-12-05 17:02:56 +00:00
aarne 655c3d8c53 a script for analysing missing functions, e.g. "which functions of type Quant are missing in each language" 2014-12-05 17:01:58 +00:00
aarne 01b03f56e2 removed morePl_Det and moreSg_Det from Dictionary, because more_Quant covers them 2014-12-05 16:49:47 +00:00
aarne 6553bee08c optional pro drop in DictionaryCat ; some missing Prons in Cat,Hin,Ita,Spa 2014-12-05 15:55:21 +00:00
aarne dbdcff1fac fixes in app help file ; commented out fake TTS for Bul and Cat ; remove []_ from output with unlinearized functions, so that speech doesn't get garbled. 2014-12-05 09:23:44 +00:00
aarne c6f96d15e4 quick reference text prepended to app help file 2014-12-04 20:30:50 +00:00
aarne ef51ebaa18 resolved conflicts in Catalan 2014-12-04 06:53:13 +00:00
aarne 95d8171046 enabled DocumentationCat in translator and app 2014-12-03 14:40:32 +00:00
aarne c15060d783 Catalan in android app builder ; updated app document with Cat ; substitute voice output for Bulgarian and Catalan ; replaced brackets in unknown words by capitalization (for better speech output ; this is experimental) 2014-12-03 14:38:17 +00:00
aarne 8663795c85 app Makefile default now App12 with Cat 2014-12-03 13:18:48 +00:00
aarne e461296274 added Predef.BIND to elision words in Catalan. 2014-12-03 13:18:23 +00:00
aarne 04a80d40d9 indefinite article in Catalan: use uns/unes only in substantival case (like in Spanish) 2014-12-03 12:47:06 +00:00
aarne 9d084f0aa5 Catalan added to App, do 'make App12.pgf' 2014-12-03 09:00:59 +00:00
aarne 5c22e490b5 ChunkCat. Needs revision of syncategorematic words, now copied from Spanish. 2014-12-03 08:48:11 +00:00
aarne 508ed8d11c Catalan added to wide coverage translator. TerminologyCat, ExtensionsCat, ConstructionsCat, and DocumentationCatFunctor need changes of Spanish words to Catalan ones, and also some general checks. 2014-12-03 08:46:21 +00:00
aarne d81b05df04 some fixes in DictionaryFin,Fre,Swe 2014-12-02 13:17:12 +00:00
aarne a1d06bab3a some verbs fixed in Ita and Fre Dictionary 2014-11-30 22:22:46 +00:00
aarne 0ea47b76c4 another optimization of Romance VP. Effect on Fre over 50% in compilation and parse speed. Somewhat smaller on Spa,Ita,Cat. 2014-11-30 15:05:00 +00:00
aarne 76abd1e66f eliminated one parameter from Fre, resulting in twice as fast compilation 2014-11-30 12:53:50 +00:00
aarne 12cd4ea245 experiment in discontinuous Cl type in Romance, tried in French. The current result is that compilation is twice as fast as before, but parsing becomes slower. Hence not in the main RGL yet. 2014-11-29 11:05:51 +00:00
aarne 71e573931a switch PhrasebookBul back to present to avoid cabal build failure. More to investigate here. 2014-11-27 17:08:35 +00:00
aarne a55bd1e5e0 make PhrasebookBul use alltenses to prevent misbehaviour in App 2014-11-27 16:36:51 +00:00
aarne ef59dee4d5 Constructions: languageNP and languageCN ; languagePN removed. Requires the change of lincat from PN to N. Done for 10 languages, not yet Bul and Hin. Enables "my English is bad", "this is bad English" 2014-11-20 22:10:24 +00:00
aarne 5b785bfebd PossNP in Dut 2014-11-20 21:37:11 +00:00
aarne 02daef144c a compilable stub of PhrasebookJpn. Sent to a native speaker expert for completions. 2014-11-15 09:43:15 +00:00
aarne 6bb2e2c1d0 added some default paradigms to ParadigmsJpn to enable Phrasebook implementation. These are one-string mkN, mkV, mkV2, as well as mkAdv and mkPrep. A Japanese expert should check them. 2014-11-15 09:40:08 +00:00
aarne 151566034b fixes in DictionaryChi 2014-11-07 14:30:05 +00:00
aarne 805f3a640b fixes in PhrasebookChi 2014-11-07 14:29:03 +00:00
aarne 4a10557b4e DictionaryChi completed with 10k lemmas from wordnet by Prasanth 2014-10-22 16:12:42 +00:00
aarne 6814f33381 updated RGL synopsis 2014-10-22 14:37:55 +00:00
aarne 3431b83670 a few fixes in French and Romance to help with homotopy type theory 2014-10-22 14:13:41 +00:00
aarne 2ae43ed0eb variants for language and wife in Chi dictionary 2014-10-20 22:24:22 +00:00
aarne 2bd37da274 some adjustments for 0,1,2's in NumeralChi. Remaining problem: 225,250 gets "liang" as a variant for its second digit, should be only "er". 2014-10-20 22:07:32 +00:00
aarne fe6d2738a0 use of 'head' in TypeCheck/RConcrete created an uncomprehensible error message. Now checking for the emptiness of the list concerned, so that the error can be found. 2014-10-20 20:06:46 +00:00
aarne 0025e078ea (un)lexmixed: added the other math environments than $ used in latex 2014-10-19 17:43:39 +00:00
aarne 2cda0ea770 ps -lines preserves line-by-line structure when preprocessing files for parsing line by line 2014-10-17 15:50:03 +00:00
aarne 1550300c80 one general case in dealing with backslash in latex lexing is enough 2014-10-17 15:49:23 +00:00
aarne d30aaa6547 unlexing latex code: no space between closing $ and punctuation 2014-10-17 07:04:50 +00:00
aarne 7ec778d747 lexer for latex code: don't separate backslash from the macro name that it marks 2014-10-17 06:40:06 +00:00
aarne 31f2e8cae0 fixed NounFin.DetCN treatment of NPSep in the case of numeral determiners: now it correctly gives partitive "kolme olutta" 2014-10-15 05:46:13 +00:00
aarne 8b7dcbff5c fixed problem with missing mkAdV in some dictionaries 2014-10-01 17:11:44 +00:00
aarne feff23951f bug fix in NounFin.DetCN: special case for NPSep with possessive determiners, to avoid things like "nimisi", which is a bug recently detected in PhrasebookFin 2014-10-01 16:44:50 +00:00
aarne 20d2d10866 84 more words from HSK in DictionaryChi. Now it covers almost all characters that appear in the HSK. The missing ones are used in words that are not in Dictionary abstract syntax. 2014-09-30 16:31:12 +00:00
aarne 7223f905f0 AppChi needs more stack space now 2014-09-30 09:35:51 +00:00
aarne b4a270bdf8 derived adverbs (over 400) in Dictionary except Bul,Hin 2014-09-30 09:29:22 +00:00
aarne e218c38bae some fixes in grammar merging script 2014-09-30 09:05:14 +00:00
aarne eece5aa9be a script for merging word lists: typically, and old trusted one with a new generated one 2014-09-29 19:49:29 +00:00
aarne 0867669605 new DictionaryChi words from HSK word list 2014-09-29 19:48:52 +00:00
aarne cb79e8667e 6000 new words in DictionaryChi from Wiktionary 2014-09-29 12:35:10 +00:00
aarne a757798656 checked that course of value tables (table P [...]) have the correct number of values w.r.t the type P. This was previously not checked, and caused hard-to-find run-time errors. 2014-09-27 17:14:35 +00:00
aarne 790e1f9ef2 fixed a bug causing too much gluing of Ita,Spa nominal forms with their complements; should only apply to clitic pronouns. And an even worse bug in Fre, due to the use of course-of-value tables in DiffFre (instead of full explicit tables). After the present participle was added to Romance verbs, these tables lacked one form, but this was not reported by the type checker. The result was garbled linearizations and, in some cases, run-time errors in the PGF interpreter. Something to fix in the concrete syntax type checker of course. 2014-09-27 11:17:52 +00:00
aarne 704eac5309 gerunds and participles in TranslateDut, a first version 2014-09-26 15:15:21 +00:00
aarne 5f4f1b30a3 Dictionary fixes for Swe nd Fin 2014-09-26 14:48:28 +00:00
aarne 216281cd06 command for AppEngFin 2014-09-26 14:48:09 +00:00
aarne 38ae2430b5 gerund and participle translations for Fre,Ita,Spa and Ger. Some a bit questionable. 2014-09-26 13:26:01 +00:00
aarne 56c50bfb39 more verb constructions in Translate (Eng,Swe,Fin): without moving, by moving, in order to move 2014-09-26 06:44:03 +00:00
aarne e1538f762f participles and gerunds in TranslateFin. "vaimoni ostama olut on hyvää", "työn löytäminen on vaikeaa" etc 2014-09-25 21:01:17 +00:00
aarne b4104b90e1 enabled some gerunds and participles in Translate, implemented for Eng and Swe. Commented out which_N, a source of errors. 2014-09-25 17:56:22 +00:00
aarne 591b56a7e2 added participles to Scandinavian VP 2014-09-25 17:00:59 +00:00
aarne f6a9a88cef Fin: replaced a few selections of NPCase Nom by NPSep to work properly with prodrop: pronouns should not be dropped in those cases. This moreover gave rise to lots of spurious ambiguities. 2014-09-25 07:02:15 +00:00
aarne a2936678e7 fixed anschauen in LexiconGer, pointed out by DV 2014-09-17 05:30:52 +00:00
aarne 240287b6f6 enabled VP-valued rules for V2V, V3, etc in App. Improve quality with less loss of speed than VPSlash-valued original rules. 2014-09-15 16:10:18 +00:00
aarne 55621783cb fixes in DictionarySwe - mainly missing words 2014-09-15 15:16:31 +00:00
aarne b492666c0e Finnish NPSep form, to avoid empty Nominative forms in wrong places in case of pro drop. 2014-09-15 07:17:11 +00:00
aarne 8b95b86b0a Romance particle verbs: show the p field also in infinitives 2014-09-15 06:33:08 +00:00
aarne dcc3d70ac5 added field p for particle in romance Verb. This was already assumed in Dictionary, and created many spurious ambiguities when parsing Romance languages in the wide-coverage translation, because p was simply ignored. 2014-09-14 14:30:08 +00:00
aarne 6d15353a84 enabled many more functions, in particular verb patterns, in App, to increase translation quality. This comes with 30% longer translation time with my benchmark but should still be OK. 2014-09-14 08:43:21 +00:00
aarne e8cc5856f4 reverted the pre-variant of vocatives in TranslateEng, because the definition of Voc messes it up. Will have to return to this. 2014-09-14 08:20:09 +00:00
aarne 372e216389 in TranslateEng, made vocative possible both before and after the phrase. Should be so in other languages as well. There should also be an optional comma, but this is not right if the vocative is empty - which means that empty vocatives are probably not the right thing to have 2014-09-12 12:37:53 +00:00
aarne 19965c0b60 fixes in DictionarySwe 2014-09-12 12:25:37 +00:00
aarne 7ddf965061 separate independent (NP without CN) forms of IndefArt and DefArt in Romance languages. The choice of words was unsure in some cases, but at least this eliminates the problem of empty NP's translating to "ones". 2014-09-12 11:59:50 +00:00
aarne 6b47126c8c GF index: shortcut links to Android app, Best practices, REMU, and new Android development instructions 2014-09-12 09:01:43 +00:00
aarne aff3405b8d fixes in LexiconGer and DictGer proposed by Denny Vrandecic 2014-09-11 19:36:53 +00:00
aarne 8f273837c9 by_Prep causing conflict in AppChi, therefore excluded from the import of PhrasebookChi 2014-08-30 23:13:39 +00:00
aarne a6c3ebcd1a removed the temporary SaldoWN.gf file 2014-08-26 09:14:56 +00:00
aarne fecda3e64b implemented some_Quant in Dictionary for many languages where it was missing. Also added some_Det, which has a different meaning: compare "some man" (existential, Quant) to "some tea" (mass term similar to "a little tea", Det) 2014-08-25 19:02:01 +00:00
aarne 51e53559b8 in TranslateEng, variant "third-largest" to "third largest" in OrdNumeralSuperl 2014-08-25 19:01:06 +00:00
aarne c93e2780d3 type error in ExtensionsChi fixed 2014-08-25 19:00:45 +00:00
aarne 59e71e5cfd corrected own_V2 in DictionarySpa 2014-08-24 20:30:24 +00:00
aarne e9d83e1f9d added the constructor Noun.NumeralSuperlOrd for phrases like "third largest", which have special linearizations in many languages e.g. German (drittgrösste) and Finnish (kolmanneksi suurin). Implemented for Chi (to check), Dut, Eng, Fin, Ger, Romance, Scand so far 2014-08-24 14:32:44 +00:00
aarne 67fefa20a5 made the "how old" construction in Chinese more efficient by moving variants to the top level; the resulting rule is the same. This kind of inefficiencies are best found if you compile with the -v option and check for constructors creating unexpectedly many PGF rules. 2014-08-24 14:28:48 +00:00
aarne b51e88810e DictionaryEng: removed some uses of the token "IRREG" but then stopped and added a comment; don't know what it is supposed to mean. Also changed who_N from "who" to "WHO" but again, don't know what who_N is supposed to mean. But it now creates hilarious translations of "who's who", treated as a statement about WHO... 2014-07-20 08:26:33 +00:00
aarne c6ca698101 contracted questions in TranslateEng: who's as a variant of who is etc. 2014-07-20 08:25:54 +00:00
aarne 78bd8f98a8 fixed a bug in PhonoIta.elision, which caused gluing of articles with nouns beginning with a vowel also when there was no apostrophe 2014-07-20 08:06:45 +00:00
aarne 423fa50994 Qiao's corrections in PhrasebookChi. This replaces the old, partial and low-quality version and is hence the first Chinese phrasebook version that can claim high quality. 2014-07-16 21:07:34 +00:00
aarne fb9508b38e modified some explanations in app.html 2014-07-15 09:55:45 +00:00
aarne 17a9accf97 using reduplication in Chi indirect questions, as suggested by Qiao 2014-07-15 09:41:26 +00:00
aarne 205f4567fb making hard-wired questiong in PhrasebookChi type correct after addition of indirect questions 2014-07-05 08:34:22 +00:00