7268 Commits

Author SHA1 Message Date
Krasimir Angelov
7d9d2a2b5c support plural PNs 2022-10-21 21:48:51 +02:00
Krasimir Angelov
a718a92485 Merge branch 'master' of github.com:GrammaticalFramework/gf-rgl 2022-10-21 20:51:58 +02:00
Krasimir Angelov
b066fb4d35 extended Numerals API. moved from the WordNet grammar 2022-10-21 20:50:49 +02:00
Inari Listenmaa
30d90909d5 Merge pull request #413 from inariksit/finnish-paradigm-small-fixes
Small fixes in Finnish noun paradigms
2022-10-21 11:21:44 +02:00
Inari Listenmaa
7cc24e3d88 (Fin) More patterns in alternative 2-arg paradigms 2022-10-21 10:44:23 +02:00
Inari Listenmaa
54d4a762d6 (Fin) Allow punctuation after abbreviations 2022-10-21 10:43:42 +02:00
aarneranta
96f4543c4c some fixes in wikt-gf extraction 2022-10-12 15:46:47 +02:00
aarneranta
dc19b6a88a testing Hrv smart paradigms against Wiktionary 2022-10-12 12:30:24 +02:00
Aarne Ranta
43a742c91e Hrv: fixes in MorphoDict generation 2022-10-12 10:50:52 +02:00
Aarne Ranta
c20e9b6383 first version of MorphoDictHrv extracted from wiktionary; TODO better use of PN and V forms 2022-10-12 10:11:12 +02:00
Aarne Ranta
8755f9da65 Hrv: generating morpholex from wiktionary, in progress 2022-10-11 17:43:36 +02:00
Aarne Ranta
14351f2767 improved generation of Hrv lexicon from Wiktionary; still work in progress 2022-10-11 13:39:49 +02:00
Aarne Ranta
c656f91f93 version of ResHrv heavily using table extension ; requires GF from 4 Oct therefore not standard 2022-10-05 11:41:19 +02:00
Aarne Ranta
8811da5e51 Hrv: some fixes in Adj 2022-10-01 19:07:39 +02:00
Aarne Ranta
8fc2460af6 Hrv comparison forms 2022-09-30 18:12:48 +02:00
Inari Listenmaa
60c733bd35 restore languages that went missing in a27e5022 2022-09-30 13:36:33 +02:00
Aarne Ranta
47eca9545b Hrv: enough to implement NLG experiment, but bogus in some places 2022-09-30 13:31:06 +02:00
Aarne Ranta
a27e502233 Hrv compiles with make install (but with lots of functions from MissingHrv) 2022-09-30 11:50:15 +02:00
Aarne Ranta
0b7ad68400 Hrv: make API compilable 2022-09-30 11:34:11 +02:00
Inari Listenmaa
ac3b8bba6b Merge pull request #411 from GrammaticalFramework/eleven-norwegian
Change elve to elleve in both Norwegians
2022-09-29 16:17:27 +02:00
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
Krasimir Angelov
c5606ff55d revert the change. GF_LIB_PATH needs to be checked 2022-08-24 14:32:47 +02:00
Krasimir Angelov
fc1ca4b8f1 no neet to check GF_LIB_PATH. GF will do it anyway 2022-08-24 14:29:27 +02:00
Krasimir Angelov
d953c0f503 fix: drop the leading space 2022-08-24 13:52:43 +02:00
Krasimir Angelov
5645134aa3 find the RGL folder by using gf --version 2022-08-24 13:29:44 +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