Commit Graph
7464 Commits
Author SHA1 Message Date
Hans Leiß 997a9adae3 Reorganizing Ger by smaller prepositions and separating object cases from all (N, NP, etc.) cases (#474)
* (Ger) prepositions of contracting type, to base S,VV,QS-correlates and split adverbs on

* api/TryGer: omit mkAdv,mkIAdv,mkConj from ParadigmsGer, mkStructuralGer

* (Ger) sync with 'master' (undo changes unrelated to Preposition) up to few corrections

* (Ger) correct GPl to CPl in ExtraGer

* Returning to f4aae6a61a by ignoring prep-contraction

* (Ger) Prep contracting with DefArtSg, IP, RP

* (Ger) Corrected GPl to CPl in ExtraGer, ExtendGer

* (Ger) Simplified many lincats (Prep,V2,N2,A2,.. VPSlash,ClSlash) by reducing
      Preposition from 4*3 = 12 parameters to 3*2 = 6 via
         Prepositon : Type = {s : PrepForm => Str; s2:Str ; c : ObjCase ; t : PrepType} ;
         param PrepType = isCase | isPrep ; -- isPrepDefArt
               ObjCase = Acc | Dat | Gen ;   Case = Nom | Obj ObjCase ;
2026-09-07 16:33:05 +02:00
Krasimir Angelov dcc0f3f56c added type signature for GF3 2026-09-07 16:14:16 +02:00
Krasimir Angelov 0a197ec126 skip the compilation of InflectionCl for Present 2026-09-07 16:10:44 +02:00
Krasimir Angelov c97cbb530c fix typo 2026-09-04 14:16:25 +02:00
Krasimir Angelov 1ec6a98640 import ParamX 2026-09-04 14:14:35 +02:00
Krasimir Angelov 3d6fa9e55d Merge branch 'master' of github.com:GrammaticalFramework/gf-rgl 2026-09-04 14:02:09 +02:00
Krasimir Angelov ffc9231e95 added as_CAdv 2026-09-04 14:01:27 +02:00
Krasimir Angelov aeebeb9a69 add Extend to AllTel 2026-09-03 10:52:21 +02:00
Krasimir Angelov f3a5a70221 import NamesTel from GrammarTel 2026-09-03 10:49:59 +02:00
Krasimir Angelov 100ca57b71 add telugu in the list of compilable languages 2026-09-03 10:47:17 +02:00
Krasimir Angelov 684d468db7 forgot these files 2026-09-03 10:45:24 +02:00
Krasimir Angelov 924c5b3b7a Merge branch 'master' of github.com:GrammaticalFramework/gf-rgl 2026-09-03 10:41:27 +02:00
Krasimir Angelov 5dce027e68 revitalize the Telugu grammar 2026-09-03 10:40:54 +02:00
Krasimir Angelov eccb04b1b9 added Passe 2026-09-01 11:20:12 +02:00
Krasimir Angelov a412e8d85e better inflection table for clauses 2026-09-01 11:09:19 +02:00
Krasimir Angelov fda7e1595d added InflectionCl in more languages 2026-08-29 20:46:38 +02:00
Krasimir Angelov e67f079167 forgot to add type signature for InflectionCl 2026-08-29 20:46:18 +02:00
Krasimir Angelov 5587c14083 added InflectionCl in some languages 2026-08-29 18:25:38 +02:00
Krasimir Angelov c7ddbd2fc6 fix compilation in Present 2026-08-29 18:24:16 +02:00
Krasimir Angelov cdee869595 added all tenses + renarrative forms 2026-08-29 18:04:10 +02:00
Krasimir Angelov ae3dd0dcee Merge branch 'master' of github.com:GrammaticalFramework/gf-rgl 2026-08-28 21:58:14 +02:00
Krasimir Angelov 664363c1c1 fix typo AgP2Pl -> AgP3Pl 2026-08-27 09:00:17 +02:00
Krasimir Angelov ef4f72a731 fix typos 2026-08-27 08:58:54 +02:00
Krasimir Angelov 0c9e995cb2 UseDAP* moved from ParseExtendMlt to ExtendMlt 2026-08-26 09:33:46 +02:00
Krasimir Angelov 34576e5ec5 forgot to include the documentation 2026-08-26 07:12:23 +02:00
Krasimir Angelov ab9dfc6f1c fix conflicts by excluding some of the Paradigms functions 2026-08-26 07:08:24 +02:00
Krasimir Angelov aa89efcbf8 added more of the Extend API 2026-08-26 07:07:51 +02:00
Krasimir Angelov a97733d5dc added missing functionality 2026-08-26 06:29:57 +02:00
Krasimir Angelov 5995be8940 fix number agreement with decimals 2026-08-24 14:03:38 +02:00
Krasimir Angelov 4c23ca2116 add a type signature to satisfy the old type checker 2026-08-24 13:23:30 +02:00
Krasimir Angelov a223b3803c add UttAdV in more languages 2026-08-24 09:59:08 +02:00
Krasimir Angelov 66da1a49da implement UttAdV 2026-08-24 08:37:06 +02:00
Krasimir Angelov d2b7bf2fb6 fix the polarity in ExistNP and ExistNPAdv 2026-08-23 20:03:33 +02:00
Krasimir Angelov 10d45593e4 fixed InLN, ExistNP, ExistNPAdv 2026-08-23 19:20:14 +02:00
Krasimir Angelov 621dc23f60 added conjunction of complements 2026-08-15 18:07:05 +02:00
Krasimir Angelov dcd262df05 fix in PassVPSlash 2026-08-15 13:20:24 +02:00
Krasimir Angelov c3f937c667 implement the VPS API 2026-08-13 15:56:41 +02:00
Krasimir Angelov 20cb49cd57 change the default case to accusative 2026-08-13 14:49:49 +02:00
Krasimir Angelov bd0506760e Merge branch 'master' of github.com:GrammaticalFramework/gf-rgl 2026-08-03 16:11:39 +02:00
Krasimir Angelov eae650960b implement OrdNumeralSuperl 2026-08-03 16:11:23 +02:00
Inari Listenmaa 34062e2ed2 Merge pull request #473 from adelon/master
Small fixes for English and Finnish
2026-07-29 18:43:48 +03:00
adelon 827a0296c9 Fin: fix vowel harmony of millionth and billionth 2026-07-24 16:54:00 +02:00
adelon 110266306d Fin: fix singular essive of tuhatN 2026-07-24 16:54:00 +02:00
adelon 498acd0b86 Fin: fix probable_AS inflection
Model `todennäköinen` as a compound so its final component controls vowel harmony. Keep `compoundA.p` empty unless the wrapped adjective has prefix-only modifying use.
2026-07-24 16:54:00 +02:00
adelon d947e7e2e2 Fin: fix comparative and superlative adverbs 2026-07-21 20:57:12 +02:00
adelon 00790d98fa Eng: fix simple past of stride and bestride 2026-07-21 19:50:29 +02:00
adelon 83cfc496a4 Fin: fix elative of ne 2026-07-21 19:50:29 +02:00
aarnerantaandClaude Opus 4.8 363219730e polish: put the AdvVP adverbial after the verb
AdvVP built its result with setPrefix, so the adverbial landed before the
verb. Polish is neutrally SVO, and this matters beyond adverbs proper: an
object reached through PrepNP arrives at AdvVP as an Adv, so a two-place
verb came out as *"π zbiór pusty przecina" rather than "π przecina zbiór
pusty". Both orders are grammatical, but the preverbal one topicalizes.

"śpi tutaj" is as good as "tutaj śpi", so the RGL's own example is
unaffected.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-16 19:50:20 +02:00
aarnerantaandClaude Opus 4.8 8c4cd58bd1 polish: complete the RGL enough to build an application grammar
Adding Polish to informath (grammars/next) exposed a set of gaps. Unlike
Czech, StructuralPol was already complete; what was missing was a handful
of lins, a way to govern the nominative, and some outright mistakes.

Missing lins, all reached as qualified Grammar.X by the application's
functors and so not shimmable from the application side:

  AdjectivePol  AdvAP
  SentencePol   SSubjS
  IdiomPol      ImpP3
  StructuralPol that_Subj
  MarkupPol     new module (Markup is not part of the RGL build script,
                so it is compiled on demand, as MarkupCze is)
  ParadigmsPol  mkAdv (every other ParadigmsX has it; the application
                interfaces reach it as Paradigms.mkAdv)

ImpP3 has no third-person imperative to use, so it takes the standard
"niech" periphrasis. The copula takes the future ("niech x będzie grupą")
and every other verb the present ("niech x należy do A"): być is the only
Polish verb with a synthetic future, and imienne marks exactly the copular
VPs.

NomPrep: ComplCase had no nominative at all, so "jako", "niż" and
"zdefiniowany jako" -- all of which govern the nominative -- came out
locative ("mniejszy niż liczbie"). mkCompl now maps Nom to a new NomPrep,
and the dep tables of the pronouns, nounPN, mkPN and the structural NPs
cover it. LexiconNounPol is marked DO NOT EDIT, but paris_PN and john_PN
inline their own dep tables and so had to be extended too.

Two corrections:

  VerbPol.CompCN used the nominative for a predicative noun, giving
  "x jest grupa"; Polish uses the instrumental, as CompNP right below it
  already does.

  ExtendPol.ExistsNP inherited ExistNP from ExtendFunctor, giving
  "jest macierz". Polish distinguishes the two: "there exists" is istnieć,
  which is what mathematical prose uses.

ParadigmsPol.guess_paradigm_basic never matched -ość, the productive
feminine abstract suffix, so sprzeczność took a masculine declension
(*sprzeczności/a, *sprzecznościowi) despite being tagged feminine. It now
routes to the kość paradigm.

Also documents, without changing, why the 2-string mkN throws its genitive
away: guess_paradigm's 2-string table is unsound (its first branch matches
every noun in -a, and its branches disagree about whether mkNTable* takes
the nominative or the bare stem), so passing sggen to it turns
"liczba"/"liczby" into *liczbaa. The 1-string guesser is the sound path
until that table is repaired.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-16 19:22:24 +02:00
aarnerantaandClaude Opus 4.8 11f73acc28 czech: implement three-place verbs (V3)
Add a proper V3 category to the Czech RGL, previously absent (V3 fell
through to the {s:Str} default and Slash2V3/Slash3V3 were notYet stubs).

- CatCze: lincat V3 = VerbForms ** {c, c2 : ComplementCase}; extend
  VPSlash with a trailing `ind` field for the incorporated indirect
  object (mirrors the English VPSlash c2 field).
- VerbCze: implement Slash2V3 and Slash3V3; ComplSlash now renders the
  `ind` string after the object slot, and SlashV2a sets ind = []. This
  keeps the object before the indirect object under the shared
  ComplV3 v o d = ComplSlash (Slash3V3 v d) o.
- ParadigmsCze: add the mkV3 paradigm (default acc/dat, plus an
  explicit two-complement-case form).
- MissingCze: drop the now-implemented Slash2V3/Slash3V3 stubs.

V2 predication is unchanged (ind is empty for V2-derived VPSlash).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-16 17:51:41 +02:00