1
0
forked from GitHub/gf-rgl
Commit Graph

123 Commits

Author SHA1 Message Date
aarne
572145e430 soundness checks in Romance smart V paradigms to eliminate non-verbs 2014-12-07 13:07:07 +00:00
aarne
5c1a78e846 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
051817dfb5 eliminated one parameter from Fre, resulting in twice as fast compilation 2014-11-30 12:53:50 +00:00
aarne
7805f0f339 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
41f7a0d9b0 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
cec28ebec0 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
1c0fd52c27 a few fixes in French and Romance to help with homotopy type theory 2014-10-22 14:13:41 +00:00
aarne
524d8bb787 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
38d02ecf9a gerund and participle translations for Fre,Ita,Spa and Ger. Some a bit questionable. 2014-09-26 13:26:01 +00:00
aarne
6e2e123ff1 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
1cd137661d 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
5c5bbc559b 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
4c38803eea 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
75278a5828 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
73ad5059c7 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
6ffdf419e7 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
86c9ff1b4c coercions from special categories in Construction to N and PN 2014-06-18 06:29:34 +00:00
aarne
444606c246 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
c6423935f5 restored BIND in Fre and Ita now that they work in C runtime 2014-04-22 15:41:12 +00:00
aarne
b6248e462d ExtraFre.ce_Pron added 2014-04-21 07:26:12 +00:00
aarne
155ccb1019 disabled binding of elision in Ita and Fre, temporarily, to make more inputs parsable 2014-04-15 21:26:58 +00:00
aarne
9e15882c1b more words checked in DictionaryFre 2014-04-10 17:11:50 +00:00
aarne
ce2f85c72a restored passives in Extensions for Bul,Fre,Ita,Spa ; PassAgentVPSlash in ExtraBul to be verified 2014-04-09 16:16:32 +00:00
aarne
ec56be22fe some new ParadigmsFre and DictionarySwe 2014-04-07 20:23:11 +00:00
aarne
ec14092552 added Spa and Ita to translator/ ; omitted some Extensions functions to double the parsing speed 2014-04-04 14:13:11 +00:00
inari
2ae5bdf406 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
3fe7b3ec32 Add containers to Construction*.gf + missing saturday_Weekday in the abstract 2014-03-26 16:06:30 +00:00
aarne
69c70606ed worked around a problem of evaluating BIND in pre in DiffFre.relPron 2014-03-17 18:09:23 +00:00
aarne
27a4bab3fd Fre and Ita: elision with BIND 2014-03-17 16:29:11 +00:00
aarne
1b702098f2 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
b4f77edb2d 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
6739bf2da1 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
3cb55c2764 removed obsolete DictEng??? grammars and marked Parse as obsolete in Makefile 2014-01-22 15:00:16 +00:00
aarne
ee342e0837 Merry Christmas and other Dict updates 2014-01-17 14:42:22 +00:00
inari
4a9dcf8497 fixed good_A in DictEngFre 2013-12-19 10:47:39 +00:00
kr.angelov
c43a672b70 fixes in the dictionaries inspired by a paper phrasebook 2013-12-18 09:18:55 +00:00
aarne
fed8d38361 ParseFin ProDrop variants ; ParseFre question word order and pronoun gender variants 2013-12-17 09:54:11 +00:00
aarne
df9b2c5a2e 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
118be922fb added abstract to paths in Parse* to make them find Constructions and Documentation 2013-12-15 22:06:13 +00:00
aarne
935a30db90 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
3818b64e99 added more temporal Constructions in Eng,Fin,Fre,Ger,Swe 2013-12-15 11:38:43 +00:00
aarne
87ade93590 functorized Documentation for Fin, Fre, Ger 2013-12-14 15:13:14 +00:00
aarne
7faac1e299 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
78f9f49551 added examples to the documentation of verbs and prepositions 2013-12-13 17:39:51 +00:00
aarne
c531aee5a4 completed DocumentationFre, also added Cl examples to V's 2013-12-13 12:50:09 +00:00
aarne
423c68e0ac 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
f594bca361 started DocumentationFre 2013-12-13 08:56:24 +00:00
aarne
8d0262ef8f 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
1cd4424f17 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
d3f21cce99 added constructions to Parse grammars 2013-12-06 17:13:53 +00:00