Commit Graph

122 Commits

Author SHA1 Message Date
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
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
hallgren
ef9f16b63a Lang???.gf: exclude Documentation from present mode
The Documentation module is excluded from present mode in abstract/Lang.gf,
so it needs to be excluded in the corresponding concrete syntaxes too
to avoid problems.
2014-10-23 16:32: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
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
38ae2430b5 gerund and participle translations for Fre,Ita,Spa and Ger. Some a bit questionable. 2014-09-26 13:26:01 +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
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
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
hallgren
be301d8a5e Convert many RGL modules from Latin-1 to UTF-8 to speed up compilation
Also add flags coding=utf8 to silence warnings.
2014-08-19 19:42:05 +00:00
hallgren
7dee933802 Adjust the -path flags in 112 RGL modules
The -path flags in the RGL modules compiled during 'cabal build' now refer 
directly to the needed source directories. References 'alltenses' and 'present'
(and the nonexistent directory 'mathematical') have been removed.

This allows the files to be compiled in any order (e.g. in parallel). In
addition, you can do things like

	gf -retain lib/src/api/TrySwe.gf

without compiling/installing any other RGL modules first, and without 
setting any other path flags or environment variables.
2014-08-18 22:26:29 +00:00
aarne
a7b9e9f225 nationality nouns and adjectives in Dictionary: triples like french_A, frenchMasc_N, frenchFem_N. frenchman_N etc should be under frenchMasc_N maybe as the first variant, so that uniform structure is preserved. Fully implemented for Eng Fin Fre Swe, partially for other languages. 2014-06-19 16:35:40 +00:00
aarne
08e27cd56e moved Names to Construction, to make the structure simpler ; use months and weeks as PN's as well 2014-06-18 09:27:57 +00:00
aarne
ad519cd44a coercions from special categories in Construction to N and PN 2014-06-18 06:29:34 +00:00
aarne
613594d732 moved lexical parts of Construction to Names, and added Language names there ; implemented for the six old Construction languages 2014-06-17 19:12:18 +00:00
aarne
96c91999c8 restored BIND in Fre and Ita now that they work in C runtime 2014-04-22 15:41:12 +00:00
aarne
4ee1c27747 ExtraFre.ce_Pron added 2014-04-21 07:26:12 +00:00
aarne
7527edf2d5 disabled binding of elision in Ita and Fre, temporarily, to make more inputs parsable 2014-04-15 21:26:58 +00:00
aarne
e7452a19b4 more words checked in DictionaryFre 2014-04-10 17:11:50 +00:00
aarne
1397bb4528 restored passives in Extensions for Bul,Fre,Ita,Spa ; PassAgentVPSlash in ExtraBul to be verified 2014-04-09 16:16:32 +00:00
aarne
04f9a50da0 some new ParadigmsFre and DictionarySwe 2014-04-07 20:23:11 +00:00
aarne
316e473a1e added Spa and Ita to translator/ ; omitted some Extensions functions to double the parsing speed 2014-04-04 14:13:11 +00:00
inari
5b730e090f Add constructions with motion verbs and direction adverbs for Eng,Fin,Fre,Ger,Swe in Construction 2014-03-28 12:34:07 +00:00
inari
4f4905b353 Add containers to Construction*.gf + missing saturday_Weekday in the abstract 2014-03-26 16:06:30 +00:00
aarne
5bf298386b worked around a problem of evaluating BIND in pre in DiffFre.relPron 2014-03-17 18:09:23 +00:00
aarne
b7f1975be2 Fre and Ita: elision with BIND 2014-03-17 16:29:11 +00:00
aarne
95a2ebe569 commented out Documentation definitions in notpresent mode. It was not enough to do this in the import list in Lang, since the import list parsing seems to be done without preprocessing. 2014-02-25 07:37:03 +00:00
kr.angelov
dc19edc05d completed Documentation modules for English, Swedish, Bulgarian, German, Finnish, French. The examples for Finnish, German and French could still be improved. The old parsing grammars are now restored. The new Translation grammar still don't have statistical model. 2014-02-21 16:31:50 +00:00
kr.angelov
a6747eac6b a new abstract syntax in Documentation.gf which allows a more compact definition of the corresponding concrete syntax. The new strategy is so far used only in DocumentationEng and the new DocumentationBul. 2014-02-17 08:45:57 +00:00
aarne
7111684795 removed obsolete DictEng??? grammars and marked Parse as obsolete in Makefile 2014-01-22 15:00:16 +00:00
aarne
681020b371 Merry Christmas and other Dict updates 2014-01-17 14:42:22 +00:00
inari
83191372cb fixed good_A in DictEngFre 2013-12-19 10:47:39 +00:00
kr.angelov
f534cc8dcb fixes in the dictionaries inspired by a paper phrasebook 2013-12-18 09:18:55 +00:00
aarne
599027ff18 ParseFin ProDrop variants ; ParseFre question word order and pronoun gender variants 2013-12-17 09:54:11 +00:00
aarne
990edc31cd Documentation and Construction back in Lang, via the inclusion of ../api in the paths of Lang and All files 2013-12-16 11:51:15 +00:00
aarne
45732fa9da added abstract to paths in Parse* to make them find Constructions and Documentation 2013-12-15 22:06:13 +00:00
aarne
85d4212a91 added noun compound form to Swe; commented out Constructions and Documentation in Lang concretes, because their presence makes it impossible to bootstrap the compilation of the library, causing new makes of the library to fail (to be fixed) 2013-12-15 20:11:19 +00:00
aarne
3c935f12ba added more temporal Constructions in Eng,Fin,Fre,Ger,Swe 2013-12-15 11:38:43 +00:00
aarne
8fcd920054 functorized Documentation for Fin, Fre, Ger 2013-12-14 15:13:14 +00:00
aarne
ced38d5f9f refactored Documentation to Terminology and Documentation proper. This makes it possible to functorize the display of tables, for instance show Swedish inflection tables with headings in English terminology. Carried out the functorization in Eng and Swe, other languages coming soon. 2013-12-14 09:21:15 +00:00
aarne
dba791cc83 added examples to the documentation of verbs and prepositions 2013-12-13 17:39:51 +00:00
aarne
a1d641ea4a completed DocumentationFre, also added Cl examples to V's 2013-12-13 12:50:09 +00:00
aarne
1554d160c2 DocumentationFre completed with finite verb forms; missing notpresent tags added to DocumentationFin to make it compile with present 2013-12-13 10:01:12 +00:00
aarne
fa1d995d08 started DocumentationFre 2013-12-13 08:56:24 +00:00
aarne
c2f1c599d1 split may_VV into may_1_VV (be possible) and may_2_VV (be allowed); not yet in Bul, Hin 2013-12-12 12:35:44 +00:00
aarne
e5caac511f little fixes to make lib/src 'make Parse8' work again and produce a better than ever 'open text' translator 2013-12-08 20:36:14 +00:00
aarne
4f877ef885 added constructions to Parse grammars 2013-12-06 17:13:53 +00:00
aarne
5c22d9ac1b fixed latin1 character errors in DictEngFre, and converted the file to utf8 2013-12-06 17:12:55 +00:00