Commit Graph

150 Commits

Author SHA1 Message Date
Aarne Ranta
f4aae6a61a Merge pull request #466 from hleiss/corrections
(Ger) Corrections in Cat, Irreg, Lexicon ; added QVP in Question and GenIP, GenModIP in Extend
2025-10-31 17:18:05 +01:00
Krasimir Angelov
8e63f9b32d fix conflicts 2025-10-25 08:21:28 +02:00
Hans Leiss
7e52a4759c (Ger) Corrections in Cat, Res, Lexicon, Structural, Morpho, Paradigms and Questions 2025-09-21 21:05:43 +02:00
Krasimir Angelov
35a6456524 getting started on Scots 2025-09-07 08:19:10 +02:00
Krasimir Angelov
145e1affe9 added missing bits and pieces 2025-08-12 11:13:29 +02:00
Krasimir Angelov
4add2fb2de more lexicon building functions 2024-11-03 19:06:18 +01:00
Krasimir Angelov
26e89421d3 Documentation and Names in Danish 2024-10-15 15:42:33 +02:00
Krasimir Angelov
e7a4b71160 Documentation in Bokmål 2024-10-15 15:14:18 +02:00
Krasimir Angelov
81c71043ca Documentation for Nynorsk 2024-10-15 14:36:03 +02:00
Krasimir Angelov
62b5df23d1 some missing bits in Greek 2024-10-10 13:44:54 +02:00
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