1
0
forked from GitHub/gf-rgl
Commit Graph

5004 Commits

Author SHA1 Message Date
Inari Listenmaa 83d1ef4fa0 Merge pull request #412 from inariksit/finnish-paradigms
(Fin) New forms to 2-argument mkN opers in ParadigmsFin
2022-09-29 16:16:15 +02:00
Inari Listenmaa e80c399b0f (Fin) Allow Sg Gen and Pl Nom as 2nd arg to mkN 2022-09-29 16:14:17 +02:00
Inari Listenmaa 2ef266052f (Fin) add 2 new mk2NnumCase funs outside API
now supports sg gen, sg par and sg ill as 2nd argument to mk2N<numCase>
2022-09-29 16:07:56 +02:00
Aarne Ranta 5a6701cda8 Hrv: marked missing functions needed for AW experiment 2022-09-29 10:42:36 +02:00
Aarne Ranta 235fd0570f Hrv: first words in Lexicon to test Lang 2022-09-29 10:06:03 +02:00
Aarne Ranta 54713a2987 Hrv: extended smart paradigms 2022-09-29 09:49:29 +02:00
Aarne Ranta d8e313c75c Hrv: dumping essential Wiktionary information to smaller json files 2022-09-28 19:09:04 +02:00
Aarne Ranta b1a1961454 using extract.py for altertively getting translations from Wiktionary 2022-09-28 12:51:34 +02:00
Aarne Ranta 13fac41ce6 LangHrv compiles now, but with a partial Slovak lexicon 2022-09-28 11:29:03 +02:00
Aarne Ranta 7c2c519e50 NumeralHrv: thousands (some morpho questions to check) 2022-09-27 11:49:07 +02:00
Aarne Ranta 44fdb933aa NumeralHrv up to thousands 2022-09-27 11:29:28 +02:00
Aarne Ranta b5ea76dd79 Hrv: copulas and personal pronouns 2022-09-27 09:58:03 +02:00
Aarne Ranta 7a0b1eed34 started Hrv verbs and their Wiktionary extraction 2022-09-25 10:06:36 +02:00
aarneranta 3eac1b9d0c adjective sound changes and extraction from wiktionary 2022-09-23 15:54:43 +02:00
Aarne Ranta ae2b3bec29 started extracting inflections from Hrv Wiktionary 2022-09-23 09:30:57 +02:00
Aarne Ranta e7a5daa17f Hrv: started adjectives 2022-09-22 11:31:58 +02:00
Aarne Ranta 0500091297 Hrv: some Neutr and Fem paradigms 2022-09-21 17:54:16 +02:00
Aarne Ranta bca75fae7b Hrv masc noun declensions done 2022-09-21 17:17:49 +02:00
Aarne Ranta 912de3f664 added tests for Croatian noun paradigms 2022-09-21 08:44:11 +02:00
Aarne Ranta 70d9c74279 started Croatian, some noun declensions in place 2022-09-20 11:07:30 +02:00
Inari Listenmaa 0c57e45540 (Fin) Add paradigm outside API with args SgNom,Gen 2022-09-15 20:06:51 +02:00
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