Commit Graph

4983 Commits

Author SHA1 Message Date
John J. Camilleri 5dde3189e3 Change elve to elleve in both Norwegians 2022-09-15 15:54:47 +02:00
Inari Listenmaa 2340a98507 (Fin) Add linearisation to AdjAsCN, AdjAsNP 2022-09-12 13:25:34 +02:00
Krasimir Angelov 67d5bb9714 fix compilation with the majestic compiler 2022-09-10 16:48:33 +02:00
Krasimir Angelov 96717e5785 remove duplicated definition 2022-08-24 19:56:14 +02:00
Hans Leiss 1cad178ec8 The glueing of preposition with definite article is now implemented using
NP.s : Bool => Case => Str  and   NP.w = WDefArt

np.s ! False : Case => Str is the ordinary paradigm; if the np has a
definite article, np.w = WDefArt, and np.s ! True : Case => Str is the
paradigm with definite article omitted, if np.a = Ag g Sg p.

Prepositions now have type

  Prep = {s : GenNum => Str ; s2 :Str ; c : Case ; isPrep : PrepType},

and |Prep| = |Case|*|isPrep| = 4 * 3 = 12, independent of |PCase| >= 18.

A preposition p with p.isPrep = isPrepDefArt has in p.s ! (GSg g) : Str
the preposition glued with definite article of a following np in singular.

The modified linearization categories for Prep, NP, Det, DAP, Quant,
Predet are no longer Prep', NP' etc., but Prep, NP etc. in CatGer.
They are now also used in gf-rgl/tests/german/TestLangGer.gf.
The previous auxiliary files abstract/Adjective'.gf etc. are removed.

BUT: for complexitiy reasons,
- the glueing is omitted in SlashV2VNP : V2V -> NP -> VPSlash -> VPSlash,
- SlashVP : NP -> SlashVP -> ClSlash (in SentenceGer and TestLanGer)
  are commented out.
SlashVP causes grammar compilation to crash due to memory limits, probably
because mkClause and its modification mkClSlash are too detailed.
2022-08-23 15:32:17 +02:00
Laurette Marais fe2c221e7b (zul) misc changes 2022-08-23 09:58:08 +02:00
Laurette Marais 8eea5d481f some new words 2022-08-23 09:55:06 +02:00
Inari Listenmaa 34300d68bb (Rus) Exclude mkAdN, avoid clash with ParadigmsRus 2022-08-15 15:05:27 +02:00
Krasimir Angelov d49405b405 Merge branch 'master' of github.com:GrammaticalFramework/gf-rgl 2022-08-15 06:57:06 +02:00
Krasimir Angelov c86481df61 added compoundN 2022-08-15 06:56:46 +02:00
Inari Listenmaa ff54d2e7ad Merge pull request #410 from nemoyjh/master
Added very minimally functional Tamil
2022-08-14 10:23:08 +02:00
Yap Jun Hong (Nemo) 018fe16e2b Made a round of changes as shown on https://github.com/GrammaticalFramework/gf-rgl/pull/410 2022-08-14 16:18:39 +08:00
Yap Jun Hong (Nemo) 14d090b15f Fixed Readme error with screenshot 2022-08-14 14:39:34 +08:00
Yap Jun Hong (Nemo) 04fb507c9a Edited Readme file hierarchy so that it's a screenshot. Added FileHierarchy.png also 2022-08-14 14:37:09 +08:00
Yap Jun Hong (Nemo) 1e73c0b2c7 Changed Tamil api file links from 'malay' to 'tamil', removed MissingTam, Edited Languages.csv to be in alphabetical order 2022-08-14 14:30:57 +08:00
Yap Jun Hong (Nemo) 40b28cf858 Wrote a readme guide for folder 'src' and a separate readme for tamil 2022-08-14 14:20:03 +08:00
Krasimir Angelov 9cdb7ec37b a couple of functions necessary for the Russian WordNet 2022-08-13 22:40:13 +02:00
Yap Jun Hong (Nemo) a6cfe58398 Added minimally functional Tamil 2022-08-13 23:09:59 +08:00
Hans Leiss 787f9d10e8 The files for GrammarGer and AllGer (but not Construction, Documentation, Markup)
are edited to allow for glued Prep+DefArt, using new categories NP',Det',Quant',
Predet',DAP'.

The previous NP.s : Case => Str*Str allows parsing

   "in dem Meer" = in_Prep ++ (np.s ! Case).p1
   "im Meer"     = in_Prep ++ (np.s ! Case).p2,

but since only one of the strings of (np.s!Case) is used, the tree
contains a metavariable like ?2 (the grammar is "erasing"). (Similarly, if we used
NP.s : Case => Str and NP.s2 : Case => Str.)

To get rid of the metavariables, we have to choose BY A PARAMETER, say

    NP.s : droppedDefArt? => Case => Str

Using np.a = Ag g n p, the preposition can select between preposition
alone or preposition with definite article (glued or not), via

    Prep = {s : GenNum => Str ; s2 :Str ; c : Case ; isPrep : PrepType }

The combination is done in appPrepNP' and appPrep'. This is
independent of the number of glued Prep+DefArt. But LangGer compiles
now in 200s using 30% memory (without SlashV2VNP). Can AppPrepNP' (and
insertObjNP') be simplified?
2022-08-11 21:07:03 +02:00
Krasimir Angelov 81218506d9 Merge branch 'master' of github.com:GrammaticalFramework/gf-rgl 2022-08-09 11:24:09 +02:00
Krasimir Angelov 3bcb34559e added DocumentationPol.gf 2022-08-09 11:23:36 +02:00
Krasimir Angelov 4beacc0f64 added linref PN 2022-08-09 11:22:57 +02:00
Laurette Marais e9940f32c5 (zul) changes to improve coverage (VulaBula) 2022-08-03 08:39:08 +02:00
Inari Listenmaa 444bf51e09 (Fin) Add linearisation for UttAccNP 2022-08-03 08:01:32 +02:00
Krasimir Angelov 9cfc36fc73 Merge branch 'master' of github.com:GrammaticalFramework/gf-rgl 2022-08-02 16:08:01 +02:00
Krasimir Angelov 607f4d68ae make mkPN more portable across languages 2022-08-02 16:07:27 +02:00
Inari Listenmaa 7fc42192d7 (Fin) call mkPrefixA if mkA's argument ends in - 2022-07-28 15:32:09 +02:00
Inari Listenmaa afe76e1fe0 (Est) get rid of most lock field warnings 2022-07-25 17:38:35 +02:00
Inari Listenmaa 728bb1faf9 (Est) Remove param SType from Cl
unnecessary apram, can form question by adding string "kas" when needed
2022-07-25 16:03:36 +02:00
Hans Leiss ec41af609d 1. updated types in ../abstract/*'.gf to replace NP,Det,Quant,Predep,Prep,DAP by
their primed versions
2. implemented all linearizations to use the primed categories

This allows linearization with prep+defart's, but parsing gives metavariables
in parses (DetQuant ? NumSg) and (DetQuantOrd ? NumSg ord) for prep+defart.

Todo: make Quant.s and NP. depend on PronType = isCat | isPron | isPronDefArt.

Without SlashV2VNP', compiles in 84 sec and gives 3,6M VerbGer.gfo, 2,3M SentenceGer.gfo.

Uses |Prep'|=12 instead of |Prep|=18, |NP'|=72 instead of |NP|=54
2022-07-22 11:49:19 +02:00
Laurette Marais f634af931e (zul) miscellaneous fixes 2022-07-20 12:10:54 +02:00
Hans Leiss 8eee3df739 Modifications of Prep\', Predet\', Quant\', Det\', NP\' to remove PCase and use NP.s : Agr => Str * Str instead 2022-07-19 18:27:56 +02:00
Aarne Ranta df93a21d79 Merge pull request #407 from rnd0101/fix-stroika-pl-gen
Fix plgen of 3*a nouns, eg stroika
2022-07-18 08:24:39 +02:00
Hans Leiss 529f315c7a Merge branch 'master' into reflexiveNPs 2022-07-16 13:20:31 +02:00
Hans Leiss 1379ba6c77 (Ger) reflexive RNP in ExtraGer completed ;
improved Slash-rules in tests/german/TestLangGer
2022-07-16 12:18:13 +02:00
Inari Listenmaa d3de861e86 (Est) Add a variant of VPS constructor in ExtraEst
produces more telegraphic language+different word order from PastPartAP
2022-07-08 16:40:46 +02:00
Inari Listenmaa 1b5840c89d (Est) Minor renaming/restructuring/cleanup 2022-07-01 08:35:37 +02:00
Inari Listenmaa e4a195a777 (Est) more API-friendly overloads for mkPrep 2022-06-29 14:35:23 +02:00
Roman Suzi 865dadbc64 Fix plgen of 3*a nouns, eg stroika 2022-06-24 07:24:13 +03:00
Laurette Marais 1b9c4613bf Merge branch 'master' of github.com:LauretteM/gf-rgl 2022-06-14 21:01:29 +02:00
Laurette Marais 2092bb64d8 (zul) fixed adjectives in relative clauses 2022-06-14 20:56:32 +02:00
LauretteM ad34d3f209 Merge branch 'GrammaticalFramework:master' into master 2022-06-14 15:09:31 +02:00
Laurette Marais 41de2cc021 (zul) fix for relative agreement morpheme 2022-06-14 15:08:56 +02:00
Laurette Marais f2c1fede4f (zul) new clause type 2022-06-10 09:24:19 +02:00
Laurette Marais ef771d62fa (zul) fixes to lexicon 2022-06-10 09:22:35 +02:00
Roman Suzi 33ce949606 Fix most_Predet in Finnish 2022-06-09 19:53:47 +03:00
Laurette Marais 0502797cb0 (zul) paradigms for vowel-init nouns 2022-06-07 08:42:20 +02:00
Inari Listenmaa 9fe3ffce2b Merge pull request #397 from inariksit/estonian-interrogative-agreement
Estonian interrogative agreement
2022-06-03 14:49:28 +02:00
Inari Listenmaa 4a2a556162 (Est) Add all case forms to result of GerundCN/NP 2022-06-03 15:45:27 +03:00
Inari Listenmaa 8a87dc210c (Est) Add linref for VPS 2022-06-03 15:26:05 +03:00