Commit Graph

140 Commits

Author SHA1 Message Date
aarneranta
651fd743c7 added MorphoDictAra to support WordNetAra 2024-02-08 11:48:52 +01:00
Hans Leiss
c659270fcc Synchronized remote master; then pulled and resolved conflicts 2023-08-05 15:46:12 +02:00
Krasimir Angelov
b066fb4d35 extended Numerals API. moved from the WordNet grammar 2022-10-21 20:50:49 +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
70d9c74279 started Croatian, some noun declensions in place 2022-09-20 11:07:30 +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
Inari Listenmaa
34300d68bb (Rus) Exclude mkAdN, avoid clash with ParadigmsRus 2022-08-15 15:05:27 +02: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)
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
Inari Listenmaa
c1e12b60ab (May) Add API funs + MissingMay 2021-08-19 10:17:24 +02:00
Inari Listenmaa
1853365942 (Eng) Add mkVoc in Paradigms, exclude from TryEng 2021-08-02 03:49:46 +02:00
aarneranta
2f379bf9c6 added symb : Int -> Card instance in Symbolic 2021-07-21 16:19:01 +02:00
Aarne Ranta
349e537104 forcing compilation of MakeStructuralFin in TryFin 2021-01-17 07:59:15 +01:00
Roman Suzi
662b731dd0 Some tweaks 2020-07-24 13:45:01 +03:00
Aarne Ranta
1eabf5c863 initialized Slovak (Slo) by cloning from Czech 2020-04-18 09:07:51 +02:00
Inari Listenmaa
0fe259af38 (Hun) Add Hungarian to the API 2020-04-17 19:36:08 +02:00
Inari Listenmaa
870f181efb Merge pull request #308 from inariksit/korean
Korean
2020-04-03 20:16:18 +02:00
Inari Listenmaa
a4ad8964bc Add paths 2020-04-03 18:02:38 +02:00
Aarne Ranta
0f763b7960 api for Czech with backup for missing 2020-04-01 11:42:42 +02:00
Inari Listenmaa
b94c917d1d Merge pull request #306 from inariksit/korean
Korean
2020-03-27 15:32:18 +01:00
Inari Listenmaa
be10915fcb (Kor) Add api + languages.csv + minor fixes 2020-03-27 14:18:03 +01:00
krangelov
da377fa4e7 added an API for Turkish 2020-03-25 15:51:05 +01:00
Aarne Ranta
0e2fdd3a73 added a missing case to mkQCl in the API 2020-01-16 17:39:45 +01:00
Herbert Lange
08ed0d8561 fix minor issues in SymbolicLat 2019-06-26 15:04:09 +02:00
Herbert Lange
841d121193 add semicolon at end of the file 2019-06-26 14:32:26 +02:00
Herbert Lange
3b9ee8db99 fix and enable building of try for latin 2019-03-04 22:16:11 +01:00
Inari Listenmaa
592a93005a (Som) Add the structure and placeholders for Somali RG 2018-11-01 10:00:05 +01:00
odanoburu
5185034a69 rm duplicate lines 2018-04-09 12:09:45 -03:00
odanoburu
30dd37e135 - add Por to complete languages (although it's not quite there yet)
- update headers
- add Por modules to lib/src/api/
2018-03-29 20:17:39 -03:00
John J. Camilleri
13330bd983 Add LibraryBrowserIta. Add mkQuant, mkDet to MakeStructuralIta. 2017-12-08 14:09:47 +01:00
Inari Listenmaa
6ae3c0fb08 Add Basque to the RGL 2017-08-24 18:30:24 +03:00
Aarne Ranta
a73a067d7a instructions for LibraryBrowser usage 2017-08-22 16:30:50 +03:00
Aarne Ranta
c982c1fc83 large version of LibraryBrowser using the translator Dictionary 2017-08-22 16:15:26 +03:00
Aarne Ranta
41ab809c88 added full Lexicon and some new languages to the LibraryBrowser grammar 2017-08-21 21:36:03 +03:00
Aarne Ranta
15cbf9970c added ConstructionUrd and DocumentationUrd copied from Hin 2017-08-21 14:51:10 +03:00
Inari Listenmaa
8f2020517f add SymbolicJpn 2017-07-04 16:26:31 +02:00
Inari Listenmaa
bf4313f38e add more time expressions to ConstructionJpn, and fill SymbolJpn (might be wrong though) functions. 2017-07-04 16:22:37 +02:00
aarne
b204fc4cd0 RGL API files for Latin added 2017-03-28 07:40:37 +00:00
aarne
d76f8b383e using MissingAra in ConstructorsAra so that we can now compile the RGL API for Arabic. When a function with not yet defined constants is used in an application, a compile time error reveals this. 2017-03-28 07:11:30 +00:00
aarne
fea7023cc5 added Ice and Nno to synopsis and ResourceDemo, and updated documentation 2017-01-19 19:58:48 +00:00
bjatra5
50d5d62c2a Icelandic added to RGL by Bjarki Traustason 2017-01-16 16:30:50 +00:00
stian
2e51cd2034 a fairly complete Nynorsk implementation added 2016-06-16 08:15:06 +00:00
aarne
cf3995d302 added a project for Portuguese as a copy of Spanish 2016-04-25 19:58:18 +00:00
aarne
3150f1085c API examples as linearizable trees; duplicates for ambiguous examples 2016-03-01 14:29:22 +00:00
aarne
59e15466ba fixed path in TryNep 2015-03-13 15:11:18 +00:00
aarne
3a94a733a4 fixed path in TryAfr 2015-03-13 15:07:48 +00:00
hallgren
134aa8cb85 Fix -path directives for Mongolian
+ Remove references to alltenses.
+ Remove references to ../../prelude
+ Add missing reference to ../common in mongolian/SymbolMon.gf
2015-03-13 14:41:30 +00:00
aarne
5d64e4f19f added a dummy SymbolMon to enable compilation of RGL 2015-03-13 14:11:01 +00:00
nyamaakaa
7bc6f82c57 complete RGL implementation for Mongolian by Nyamsuren Erdenebadrakh 2015-03-13 13:40:22 +00:00