Commit Graph

4355 Commits

Author SHA1 Message Date
krangelov
4e39ada69b fix word order in AdvAP 2021-03-13 20:13:21 +01:00
krangelov
88b3974bee extend the documentation API 2021-03-12 22:24:40 +01:00
krangelov
9d75eebcc0 move the exension to the RNP API from WordNet to the RGL 2021-03-12 20:42:09 +01:00
krangelov
9d0555f8b8 move verb specific extensions from WordNet to the RGL 2021-03-12 18:52:47 +01:00
Inari Listenmaa
fe45b7ed5c (Eng) Add lin for QuestVPS and SQuestVPS + new lincats for VPS*
Now VPS and VPS2 need to potentially become QS, so we keep them
discontinuous. Works great with lists too, e.g.

  {fin="wouldn't" ; inf="have seen and waited for (obj)"}

NB. copula disappears, if it's a part of a diverse list of questions:

  Statements:
    you sleep or are small -- ok
    you are small or sleep -- ok

  Questions:
    ?are you small or sleep -- for "are you small or do you sleep", need to implement [QS]
    *do you sleep or small -- infinitive "be small" not retrievable from VPS currently

In a list of only predicates, this addition is rather redundant.
You can already say "are you big or small" with AP coordination.
But no other RGL construction allows "do you sleep or drink beer".
2021-03-04 15:53:22 +08:00
Inari Listenmaa
f55f5b2d3c (Eng) Reorder, remove dupls and exclude new funs from ExtendFunctor 2021-03-04 15:44:22 +08:00
Inari Listenmaa
891bd2f3b1 (Extend) Add ReflVPS2 function 2021-03-03 15:05:57 +08:00
Inari Listenmaa
8696b27bee Add constructions for N2 and A2 to VPSlash
To generalise transitive predicates, along with V2 -> VPSlash.
2021-03-03 14:16:38 +08:00
krangelov
4b171129a1 fix paradigm mkV188 2021-03-01 13:04:28 +01:00
krangelov
2bb3630f00 allow plural PN 2021-02-17 09:42:40 +01:00
aarneranta
24bc84627b mkDet(Str) in MakeStructuralEng 2021-01-27 14:26:45 +01:00
aarneranta
da1767b18a including Markup in LangGer,Ita which was missing 2021-01-20 08:32:59 +01:00
aarneranta
94341f57f9 removed the rest of variants from german/ except from LexiconGer 2021-01-19 17:48:14 +01:00
aarneranta
f59a706d45 commented out variants in StructuralGer: they do not belong to the RGL but to extensions 2021-01-18 14:16:38 +01:00
Aarne Ranta
349e537104 forcing compilation of MakeStructuralFin in TryFin 2021-01-17 07:59:15 +01:00
Inari Listenmaa
2b46848d3f Update path to where the Predef opers are defined
../src/GF/Grammar/AppPredefined.hs no longer exists, change to gf-core/src/compiler/GF/Compile/Compute/Predef.hs.
2021-01-16 01:41:47 +01:00
Aarne Ranta
3836bc2df5 fix in MorphoDictGer ; many more expected, so this is not final 2021-01-13 20:35:01 +01:00
Aarne Ranta
c55592cea6 Added ExtendGer as almost dummy to start with 2021-01-13 16:01:50 +01:00
Aarne Ranta
ec159d05d4 started MorphoDictGer by copying german/DictGer and fixing some inflections 2021-01-13 14:43:51 +01:00
aarneranta
8768dd92f1 MorphoDicsSwe added 2021-01-10 19:54:25 +01:00
krangelov
14338be99a spelling variants in mkN055 and mkN056 2020-12-18 08:16:41 +01:00
krangelov
f6b44aa57e move VPI from ExtraBul to ExtendBul 2020-12-14 18:50:32 +01:00
Paula
e7fcae8680 Pl reflpron (#363)
* Pol: Add it_ReflPron.

* Pol: Correct pronRefl.

* Pol: Remove pronoun without abstract.

* Pol: Add back reflexive poss. pronoun.

* Revert "Pol: Add back reflexive poss. pronoun."

This reverts commit d24a648405.
2020-12-03 13:59:00 +01:00
aarneranta
eb6a4da33c restructuring and commenting get_dict.py 2020-11-30 17:28:55 +01:00
aarneranta
0b1149d509 some fixes in ParadigmsIta to help extract from FreeLing 2020-11-30 13:16:14 +01:00
aarneranta
24b94cdeac a Python script for extracting FreeLing data, tested with Italian 2020-11-30 13:15:40 +01:00
Inari Listenmaa
df4ba9eb96 (Hun) optimise Quant 2020-11-28 19:35:00 +01:00
aarneranta
feac50919b it_Pron in Cze and Slo: the neuter 3rd Sg personal pronoun 2020-11-27 10:58:07 +01:00
aarneranta
6fee9d712a Extend.ReflPossPron added and implemented for Swe, Cze, Slo 2020-11-27 10:02:31 +01:00
Inari Listenmaa
9594ee9cf2 (Eng) Fix verbalN so that it includes particle (switching *on*) 2020-11-26 19:45:00 +01:00
Inari Listenmaa
ad76508743 Merge branch 'master' into master 2020-10-27 10:32:25 +01:00
Inari Listenmaa
43e39af33a (Cgg) Remove the extra -path line
Removed --# -path=.:../abstract:../../prelude:../common
2020-10-27 10:24:12 +01:00
Inari Listenmaa
0875fde0e7 Add comments to Coordination.gf 2020-10-27 10:18:49 +01:00
David Bamutura
fc7bede563 modified the fun UttVP in PhraseCgg.gf to allow formation of Verb Phrase Utterances with various complements e.g to sleep == kugwenjegyera 2020-10-27 01:35:41 +03:00
David Bamutura
e14cdf99e3 modifeid mkThis in ResCgg to remove unnecessary bind 2020-10-27 01:17:53 +03:00
David Bamutura
2ef7fed0d2 =there is a bug with CompNP because we cannot fix Number agreement for the Noun. A hack can be to include the Noun info into the nounphrase 2020-10-27 00:20:51 +03:00
David Bamutura
02d92f6cc9 =Modified UseComp to correctly apply Adverbs, Adjectives and Nouns as proper complements when forming a VP based on the verb to be. However in Rukiga, sometimes the verb ba or ri are used. I have left the application of the right form to post-processing 2020-10-26 23:34:59 +03:00
David Bamutura
24d3d2abaa =Implemented the abstract function VocNP and PConjConj in PhraseCgg.gf 2020-10-26 16:41:58 +03:00
David Bamutura
9ba407f051 =Implemented the abstract function fun 2020-10-26 16:21:20 +03:00
David Bamutura
aad7b002aa =made changes to Verb Phrase and VPSlash that check if the complements actually exists 2020-10-26 16:00:34 +03:00
David Bamutura
b2e2631269 All structural words and most of the linearization functions for LexiconCgg have been provided 2020-10-24 03:05:05 +03:00
David Bamutura
6ca4907c11 =Added linearisations for several lexical items. The linearization type for adjectives was modified to cater for certain adjectives that are negatives of others. An example is certain and uncertain 2020-10-22 00:02:51 +03:00
David Bamutura
d4aba3bded made sure error is reproducable by uncommenting
answer_V2S and ask_V2Q.
However, there are other errors due to N2 types in lexicon
2020-10-12 23:23:54 +03:00
David Bamutura
5dc5433068 Made sutitable changes that were wanrranted due to
changes in linearization types for Verbs to include information
about particles and checks on source of complements i.e.
Verb : Type = {
                      s : Str;
                      pres:Str;
                      perf:Str;
                      --morphs: VFormMini => VerbMorphPos=> Str;
                      isPresBlank : Bool;
                      isPerfBlank : Bool;
                      isRegular: Bool
                    };
changed to:
Verb : Type = {
                      s : Str;
                      pres:Str;
                      perf:Str;
                      --morphs: VFormMini => VerbMorphPos=> Str;
                      isPresBlank : Bool;
                      isPerfBlank : Bool;
                      isRegular: Bool;
                      p : Str;  -- some verbs have particles such as prepositions and adverbial that give the verb a meaning different from what would be automatically deduced
                      isRefl : Bool
                    };
2020-10-12 23:18:27 +03:00
David Bamutura
7c997ea280 1. Created Linearization types for V2V as Res.Verb ** {comp,c3 : Str ; typ : Res.VVType} ; but however I have eerors with mkV2 overload methods and lock_C fields. I cannot seem to find out the reason for the error. 2020-10-12 17:31:40 +03:00
aarneranta
5c9885d0a2 Slovak possessives (some forms to be checked) 2020-10-12 13:24:20 +02:00
Inari Listenmaa
e48097f8a5 Merge pull request #305 from inariksit/polish
(Pol) Start implementing smart paradigms for nouns
2020-10-12 12:24:12 +02:00
aarneranta
7368d1a80c added PossPron and completed pronouns for Czech 2020-10-12 12:08:21 +02:00
Inari Listenmaa
2f83cadc2e Merge branch 'polish' into polish-inari-update 2020-10-12 08:07:38 +02:00
Paula Pawlowski
2406c9bfd9 (Pol) Add 2-argument smart paradigm to Inari's work. Add more cases to GuessGender. 2020-10-11 23:41:50 +02:00