1903 Commits

Author SHA1 Message Date
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
Inari Listenmaa
34300d68bb (Rus) Exclude mkAdN, avoid clash with ParadigmsRus 2022-08-15 15:05:27 +02:00
Krasimir Angelov
d49405b405 Merge branch 'master' of github.com:GrammaticalFramework/gf-rgl 2022-08-15 06:57:06 +02:00
Krasimir Angelov
c86481df61 added compoundN 2022-08-15 06:56:46 +02:00
Inari Listenmaa
ff54d2e7ad Merge pull request #410 from nemoyjh/master
Added very minimally functional Tamil
2022-08-14 10:23:08 +02:00
Yap Jun Hong (Nemo)
018fe16e2b Made a round of changes as shown on https://github.com/GrammaticalFramework/gf-rgl/pull/410 2022-08-14 16:18:39 +08:00
Yap Jun Hong (Nemo)
14d090b15f Fixed Readme error with screenshot 2022-08-14 14:39:34 +08:00
Yap Jun Hong (Nemo)
04fb507c9a Edited Readme file hierarchy so that it's a screenshot. Added FileHierarchy.png also 2022-08-14 14:37:09 +08: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)
40b28cf858 Wrote a readme guide for folder 'src' and a separate readme for tamil 2022-08-14 14:20:03 +08:00
Krasimir Angelov
9cdb7ec37b a couple of functions necessary for the Russian WordNet 2022-08-13 22:40:13 +02:00
Yap Jun Hong (Nemo)
a6cfe58398 Added minimally functional Tamil 2022-08-13 23:09:59 +08:00
Krasimir Angelov
81218506d9 Merge branch 'master' of github.com:GrammaticalFramework/gf-rgl 2022-08-09 11:24:09 +02:00
Krasimir Angelov
3bcb34559e added DocumentationPol.gf 2022-08-09 11:23:36 +02:00
Krasimir Angelov
4beacc0f64 added linref PN 2022-08-09 11:22:57 +02:00
Inari Listenmaa
444bf51e09 (Fin) Add linearisation for UttAccNP 2022-08-03 08:01:32 +02:00
Krasimir Angelov
9cfc36fc73 Merge branch 'master' of github.com:GrammaticalFramework/gf-rgl 2022-08-02 16:08:01 +02:00
Krasimir Angelov
607f4d68ae make mkPN more portable across languages 2022-08-02 16:07:27 +02:00
Inari Listenmaa
7fc42192d7 (Fin) call mkPrefixA if mkA's argument ends in - 2022-07-28 15:32:09 +02:00
Inari Listenmaa
43fbf928fd Merge pull request #409 from inariksit/misc-estonian
Minor fixes/cleanup in Estonian
2022-07-26 09:28:27 +02:00
Inari Listenmaa
afe76e1fe0 (Est) get rid of most lock field warnings 2022-07-25 17:38:35 +02:00
Inari Listenmaa
728bb1faf9 (Est) Remove param SType from Cl
unnecessary apram, can form question by adding string "kas" when needed
2022-07-25 16:03:36 +02:00
Aarne Ranta
df93a21d79 Merge pull request #407 from rnd0101/fix-stroika-pl-gen
Fix plgen of 3*a nouns, eg stroika
2022-07-18 08:24:39 +02:00
Aarne Ranta
de2989d7c6 Merge pull request #408 from hleiss/reflexiveNPs
Reflexive NPs
2022-07-18 08:23:59 +02:00
Hans Leiss
529f315c7a Merge branch 'master' into reflexiveNPs 2022-07-16 13:20:31 +02:00
Hans Leiss
1379ba6c77 (Ger) reflexive RNP in ExtraGer completed ;
improved Slash-rules in tests/german/TestLangGer
2022-07-16 12:18:13 +02:00
Inari Listenmaa
d3de861e86 (Est) Add a variant of VPS constructor in ExtraEst
produces more telegraphic language+different word order from PastPartAP
2022-07-08 16:40:46 +02:00
Inari Listenmaa
1b5840c89d (Est) Minor renaming/restructuring/cleanup 2022-07-01 08:35:37 +02:00
Inari Listenmaa
e4a195a777 (Est) more API-friendly overloads for mkPrep 2022-06-29 14:35:23 +02:00
Roman Suzi
865dadbc64 Fix plgen of 3*a nouns, eg stroika 2022-06-24 07:24:13 +03:00
Inari Listenmaa
4fec15272c Merge pull request #406 from LauretteM/master
More Zulu fixes
2022-06-14 15:13:42 +02:00
LauretteM
ad34d3f209 Merge branch 'GrammaticalFramework:master' into master 2022-06-14 15:09:31 +02:00
Laurette Marais
41de2cc021 (zul) fix for relative agreement morpheme 2022-06-14 15:08:56 +02:00
Inari Listenmaa
d43be53e18 Merge pull request #405 from rnd0101/fix-useimmat
Fix most_Predet in Finnish
2022-06-13 11:23:57 +02:00
Laurette Marais
f2c1fede4f (zul) new clause type 2022-06-10 09:24:19 +02:00
Laurette Marais
ef771d62fa (zul) fixes to lexicon 2022-06-10 09:22:35 +02:00
Roman Suzi
33ce949606 Fix most_Predet in Finnish 2022-06-09 19:53:47 +03:00
Laurette Marais
0502797cb0 (zul) paradigms for vowel-init nouns 2022-06-07 08:42:20 +02:00
Inari Listenmaa
9fe3ffce2b Merge pull request #397 from inariksit/estonian-interrogative-agreement
Estonian interrogative agreement
2022-06-03 14:49:28 +02:00
Inari Listenmaa
08dfe78f2f Merge pull request #402 from inariksit/estonian-misc-fixes
Minor fixes in Estonian
2022-06-03 14:46:55 +02:00
Inari Listenmaa
4a2a556162 (Est) Add all case forms to result of GerundCN/NP 2022-06-03 15:45:27 +03:00
Inari Listenmaa
8a87dc210c (Est) Add linref for VPS 2022-06-03 15:26:05 +03:00
Inari Listenmaa
d48cf92359 Merge pull request #401 from inariksit/estonian-PastPartAP-fix
Minor fixes + new lins in Estonian
2022-06-02 07:54:21 +02:00
Inari Listenmaa
d5e5edb02f (Est) Use correct verb form in PastPart(Agent)AP 2022-06-02 08:52:42 +03:00
Inari Listenmaa
3026b8b59a (Est) Add AdvVPSlash and VPSlashPrep 2022-06-02 08:51:44 +03:00
Inari Listenmaa
c4f39c0a74 (Est) Use Extend in AllEstAbs instead of Extra 2022-06-02 08:51:28 +03:00
Laurette Marais
ddf6d0d30d (zul) improvements to paradigms 2022-06-01 15:10:49 +02:00
Laurette Marais
4c03a40aef (zul) fixed demonstratives 2022-06-01 13:23:51 +02:00
Laurette Marais
8073d2a91b (zul) change to Quant lincat 2022-05-27 09:33:05 +02:00
Laurette Marais
6421fb7ee9 (zul) dem na in postdet 2022-05-19 14:40:41 +02:00
Laurette Marais
149407d19b (zul) MultiLex fixes 2022-05-19 12:27:48 +02:00
Laurette Marais
20275832ad (zul) NguniGrammar new imports 2022-05-19 12:21:27 +02:00
Laurette Marais
02d3752a26 (zul) NP conjunction 2022-05-19 12:19:49 +02:00
Inari Listenmaa
bec96b267d Merge pull request #400 from Meowyam/master
Malay RGL: many changes
2022-05-19 10:46:55 +02:00
Inari Listenmaa
6f3a72aa1d Merge branch 'master' into master 2022-05-19 10:46:17 +02:00
Inari Listenmaa
b7363f9219 Merge pull request #399 from LauretteM/master
(zul) changes to MultiLex adjectives
2022-05-18 10:22:31 +02:00
Meowyam
5c84ce9623 remove space for passive 2022-05-18 16:08:35 +08:00
Meowyam
edcef16eb1 fix passive for token ungluing 2022-05-18 15:59:55 +08:00
LauretteM
08ac422d9a Merge branch 'GrammaticalFramework:master' into master 2022-05-17 16:45:48 +02:00
Laurette Marais
a6e0875878 (zul) changes to MultiLex adjectives 2022-05-17 16:40:26 +02:00
Meowyam
a9c18fc48c add John and other lexicon to Malay 2022-05-13 15:46:08 +08:00
Meowyam
85960e0416 add changes for Adv functions to Malay rgl 2022-05-13 14:46:42 +08:00
Meowyam
cff79f72c5 add Malay to languages.csv 2022-05-13 14:46:42 +08:00
Meowyam
c712efc8eb add functions from BareRGMay to ExtendMay 2022-05-13 14:46:42 +08:00
Meowyam
3e79ab25e1 add VPS and VPI to ExtendMay 2022-05-13 14:46:42 +08:00
Meowyam
a1c85431be add john_PN to Malay lexicon 2022-05-13 14:46:42 +08:00
Meowyam
967a8fb8a1 add extra functions to get VPS to work 2022-05-13 14:46:42 +08:00
Inari Listenmaa
2418e8cfcf (Est) fix wrong forms given to mkN in full_A 2022-05-13 14:42:56 +08:00
Inari Listenmaa
5a8eda803d (Est) Test cases for comitative 2022-05-13 14:42:56 +08:00
Inari Listenmaa
bcd7a09864 (Est) Make N2, CN, NP & IP discontinuous
Needed for attaching case suffix in right place
2022-05-13 14:42:56 +08:00
Inari Listenmaa
7dd63173f2 (Est) Fix plural genitive forms for mis 2022-05-13 14:42:56 +08:00
Inari Listenmaa
a59ed0e0e2 (Est) Workaround for short forms of Sg pers. prons
Always use long Gen, because other cases are formed from long Gen stem
2022-05-13 14:42:56 +08:00
Inari Listenmaa
e80cd82870 (Est) misc small cleanup + better comments 2022-05-13 14:42:56 +08:00
Inari Listenmaa
ee5c842972 (Est) Replace all {lock_C = <>} with lin C {...} 2022-05-13 14:42:56 +08:00
Inari Listenmaa
4e204d66a8 (Est) Use genitive stem+suffix for 4 other cases 2022-05-13 14:42:56 +08:00
Inari Listenmaa
0bae53b0b9 (Est) 7 InfForms -> 2 stems + gluing suffixes 2022-05-13 14:42:56 +08:00
Inari Listenmaa
b2cc67aef5 (Est) Fix negative passive
TODO: more stable solution? conneg in Imper Sg is a bit of a hack
2022-05-13 14:42:56 +08:00
Inari Listenmaa
21259015e0 (Est) Reduce inflection table in VP
Include VForms in VP, only construct VPForms when making Cl
2022-05-13 14:42:56 +08:00
Inari Listenmaa
e06c3433b9 (Est) Automatic whitespace removal
in its own commit,rather than have whitespace changes in content commits
2022-05-13 14:42:56 +08:00
Inari Listenmaa
5eb333ce6a (Est) New linearisations in ExtendEst 2022-05-13 14:42:56 +08:00
Inari Listenmaa
41d4b7fabd (Est) Add DAP + funs that use/produce it 2022-05-13 14:42:56 +08:00
Inari Listenmaa
46509b93a3 (Est) Keep non-finite forms non-finite in PassV2
TODO: restructure VP so we retain non-finite passive forms
2022-05-13 14:42:56 +08:00
Inari Listenmaa
cb016ea750 Merge pull request #398 from LauretteM/master
Updates to Zulu
2022-05-12 06:22:37 +02:00
Laurette Marais
58255b27bf Merge branch 'v_longform' 2022-05-12 06:14:24 +02:00
Laurette Marais
ccdc04992e added lapho 2022-05-12 05:21:33 +02:00
Laurette Marais
06593c5fb9 fixed relative longform 2022-05-12 05:21:11 +02:00
Laurette Marais
c9ee6f3d82 added adjectives to MultiLex 2022-05-10 11:16:53 +02:00
Laurette Marais
9f3b45bf48 added additional long forms 2022-05-10 11:16:26 +02:00
Laurette Marais
86fca40ac2 fixed imperative prefix (2) 2022-05-10 08:56:22 +02:00
Laurette Marais
f58d0358cc fixed imperative prefix 2022-05-10 08:21:22 +02:00
Inari Listenmaa
c80899e07e Merge pull request #393 from hleiss/infinitives-new
(Ger) reimplementation of infinitives to improve compilation
2022-05-05 13:48:04 +02:00
Inari Listenmaa
f67c3ec838 (Est) New test cases 2022-05-02 21:02:57 +08:00
Inari Listenmaa
f1e14bbd5f (Est) Improve interrogative agreement 2022-05-02 21:01:29 +08:00
Inari Listenmaa
263ee4319d (Est) Fix object case for see_V2 2022-05-02 16:53:01 +08:00
Inari Listenmaa
783e2f3831 Merge pull request #396 from LauretteM/master
zulu inclusion
2022-04-28 14:13:17 +02:00
Inari Listenmaa
91b0578221 Merge pull request #394 from inariksit/estonian-extend
Improvements in Estonian
2022-04-28 10:13:12 +02:00
Laurette Marais
8b05843585 zulu inclusion 2022-04-28 08:53:37 +02:00
Meowyam
d14de723d0 imppol for malay 2022-04-27 11:40:04 +08:00
Inari Listenmaa
bc206fcbfe (Est) Use the correct mkN paradigm for dog_N 2022-04-25 16:13:31 +08:00
Inari Listenmaa
d35a709eb7 (Eng) Move VP's inflection table into Cl
* Replaces 1300 fields with 50 fields + one new 2-valued parameter
* Only construct the full table with Tense,Ant,Pol… in Cl
2022-04-22 12:24:03 +08:00
Inari Listenmaa
0245dc2d59 (Eng) minor cleanup,change date format in comments 2022-04-22 12:24:03 +08:00
bc²
7fe4fd01f5 (gf2ud) label updates (#97)
* (gf2ud) add ConsNP "," rule
- use CCONJ instead of CONJ

* (gf2ud) dobj -> obj (ud 2 -> ud 1)
- clean up whitespace

* (gf2ud) fix eng labels
- comma exists in SSubjS, not SubjS
- add local rule for comma in VocNP
- auxpass (UD1) -> aux:pass (UD2)
2022-04-22 12:24:03 +08:00
1Regina
184497284d adverbials todo: add semantic context constructors 2022-04-22 12:24:03 +08:00
1Regina
9400e0ed21 move transitive and complements from affixes to tenses 2022-04-22 12:24:03 +08:00
1Regina
bf213bf77e add test for quantifier 2022-04-22 12:24:03 +08:00
1Regina
828ea2545c remove collectives in collective nouns for xie for quantifier 2022-04-22 12:24:03 +08:00
1Regina
4db945a500 remove collectives in collective nouns for xie for quantifier 2022-04-22 12:24:03 +08:00
1Regina
83fed4e812 unit test for tenses 2022-04-22 12:24:03 +08:00
1Regina
65ddced771 unit tests for relative 2022-04-22 12:24:03 +08:00
1Regina
c0daf6d0ba remove predicative form in CompareA UseComparA 2022-04-22 12:24:03 +08:00
1Regina
f9a633ea52 adjustment for "mustn't"
not idiomatic but compositionally correct now for mustn't
2022-04-22 12:24:03 +08:00
1Regina
5aff25b37f make all the questions by extending a "吗" at end 2022-04-22 12:24:03 +08:00
1Regina
95bc972f44 changes in conjunction and sentences
to accomodate if _ then conjuction with jiu "就"
2022-04-22 12:24:03 +08:00
1Regina
bd060578d6 replace future with "就会" instead of old "在" 2022-04-22 12:24:03 +08:00
1Regina
e853942d43 if then conjunctions 2022-04-22 12:24:03 +08:00
1Regina
cc4aef88f9 add 25 tests for chinese pronouns -- passed 2022-04-22 12:24:03 +08:00
1Regina
27073a6c0c fix DetNP for positive case for ge 2022-04-22 12:24:03 +08:00
1Regina
8495ed2f06 add test for chinese passive tests -- passed 2022-04-22 12:24:03 +08:00
1Regina
e1130eb279 add test for chinese numerals -- passed 2022-04-22 12:24:03 +08:00
1Regina
40caeea67f add AST to test for complements 2022-04-22 12:24:03 +08:00
1Regina
dd5b34492a add distinction between Attributive vs Predicative (esp for colours) 2022-04-22 12:24:03 +08:00
1Regina
cf9e2cdd7f attempt to edit complexAP for table selection 2022-04-22 12:24:03 +08:00
1Regina
42a6de9803 fixed SentAP and AdvAP for AdjPlace in ResChi 2022-04-22 12:24:03 +08:00
1Regina
5679eeb1fb adjectives colour 2022-04-22 12:24:03 +08:00
1Regina
dd05feeac0 WIP negation for chinese 2022-04-22 12:24:03 +08:00
1Regina
916cca5d22 fix malay for these cats arent' green for negation in unittest 2022-04-22 12:24:03 +08:00
Inari Listenmaa
613a159591 (Est) fix wrong forms given to mkN in full_A 2022-04-19 15:02:34 +08:00
Inari Listenmaa
79ea965fc4 (Est) Test cases for comitative 2022-04-18 19:43:57 +08:00
Inari Listenmaa
facd4727cf (Est) Make N2, CN, NP & IP discontinuous
Needed for attaching case suffix in right place
2022-04-18 19:43:38 +08:00
Inari Listenmaa
0d4b92a006 (Est) Fix plural genitive forms for mis 2022-04-15 19:12:02 +08:00
Inari Listenmaa
8b876cf74c (Est) Workaround for short forms of Sg pers. prons
Always use long Gen, because other cases are formed from long Gen stem
2022-04-15 10:37:21 +08:00
Inari Listenmaa
8b14dcf6ba (Est) misc small cleanup + better comments 2022-04-15 10:33:41 +08:00
Inari Listenmaa
4e8ff8e7fd (Est) Replace all {lock_C = <>} with lin C {...} 2022-04-15 10:09:58 +08:00
Inari Listenmaa
76f23214c1 (Est) Use genitive stem+suffix for 4 other cases 2022-04-14 19:07:03 +08:00
Inari Listenmaa
e8503511ca (Est) 7 InfForms -> 2 stems + gluing suffixes 2022-04-13 17:38:17 +08:00
Inari Listenmaa
b1b752673d (Est) Fix negative passive
TODO: more stable solution? conneg in Imper Sg is a bit of a hack
2022-04-13 17:27:14 +08:00
Inari Listenmaa
219de4ca9a (Est) Reduce inflection table in VP
Include VForms in VP, only construct VPForms when making Cl
2022-04-13 11:46:56 +08:00
Inari Listenmaa
31c31b3e69 (Est) Automatic whitespace removal
in its own commit,rather than have whitespace changes in content commits
2022-04-13 10:42:34 +08:00
Inari Listenmaa
983274d239 (Est) New linearisations in ExtendEst 2022-04-12 19:03:22 +08:00
Inari Listenmaa
0aaa38e051 (Est) Add DAP + funs that use/produce it 2022-04-12 19:03:01 +08:00
Inari Listenmaa
1f7e16642b (Est) Keep non-finite forms non-finite in PassV2
TODO: restructure VP so we retain non-finite passive forms
2022-04-12 19:01:08 +08:00
Hans Leiss
0e8ac21976 (Ger) small fix to make reimplementation of infinitives compile for 'present'
new SlashVP, RelSlash in tests/german/TestLangGer to control reflexives in relative clauses
2022-04-11 15:33:36 +02:00
Hans Leiss
b8ddf4304b (Ger) Small fix to get 'present' installed
new SlashVP, RelSlash in tests/german/TestLangGer.gf to control reflexives in relative clauses
2022-04-11 12:27:39 +02:00
Inari Listenmaa
a72600b27c Merge pull request #392 from inariksit/fewer-fields-in-VP
(Eng) Fewer fields in VP
2022-04-11 04:14:31 +02:00
bc²
b3d1ccbc40 (gf2ud) label updates (#97)
* (gf2ud) add ConsNP "," rule
- use CCONJ instead of CONJ

* (gf2ud) dobj -> obj (ud 2 -> ud 1)
- clean up whitespace

* (gf2ud) fix eng labels
- comma exists in SSubjS, not SubjS
- add local rule for comma in VocNP
- auxpass (UD1) -> aux:pass (UD2)
2022-04-07 10:37:04 +02:00
Inari Listenmaa
5eafffb8fe (Eng) Move VP's inflection table into Cl
* Replaces 1300 fields with 50 fields + one new 2-valued parameter
* Only construct the full table with Tense,Ant,Pol… in Cl
2022-04-07 10:20:26 +08:00
Inari Listenmaa
61cb94443a (Eng) minor cleanup,change date format in comments 2022-04-07 10:03:14 +08:00
Hans Leiss
7778e6138c (Ger) reimplementation of infinitives to improve compilation
- removed Control and treat control verbs with VPSlash.objCtrl:Bool

- combined VP.inf and VP.infExt to VP.inf with inplace/extracted parts
  depending on Agr, to subj/obj-control reflexives in infinitival complements

- AllGer compiles from src in 250s (SlashV2VNP!), .gfo loads in 15s on x86_64
2022-04-06 12:55:48 +02:00
Meowyam
ffd1f28b42 negative imperative 2022-03-30 23:32:08 +08:00
Meowyam
1d033679f2 basic imperatif 2022-03-30 22:44:53 +08:00
Meowyam
bf33191c88 add kedua-dua (the two, etc.) to Det 2022-03-30 17:13:03 +08:00
Meowyam
9fa07fb22d working tests for verbal affixes and tenses, add kepada (to a person), initial groundwork for animacy, numerals 2022-03-21 17:28:45 +08:00
1Regina
4df65b593e adverbials todo: add semantic context constructors 2022-03-07 04:30:39 +01:00
1Regina
0c659deae3 move transitive and complements from affixes to tenses 2022-03-07 04:30:39 +01:00
1Regina
5e308e7aa7 add test for quantifier 2022-03-07 04:30:39 +01:00
1Regina
e0b4d6940a remove collectives in collective nouns for xie for quantifier 2022-03-07 04:30:39 +01:00
1Regina
57e6f8f244 remove collectives in collective nouns for xie for quantifier 2022-03-07 04:30:39 +01:00
1Regina
5c415fc913 unit test for tenses 2022-03-07 04:30:39 +01:00
1Regina
57490c18d2 unit tests for relative 2022-03-07 04:30:39 +01:00
1Regina
fe5c124602 remove predicative form in CompareA UseComparA 2022-03-07 04:30:39 +01:00
1Regina
7f58e8ec8b adjustment for "mustn't"
not idiomatic but compositionally correct now for mustn't
2022-03-07 04:30:39 +01:00
1Regina
460ec475bd make all the questions by extending a "吗" at end 2022-03-07 04:30:39 +01:00
1Regina
4e947e4ce8 changes in conjunction and sentences
to accomodate if _ then conjuction with jiu "就"
2022-03-07 04:30:39 +01:00
1Regina
0dbb5e4ee8 replace future with "就会" instead of old "在" 2022-03-07 04:30:39 +01:00
1Regina
734d000b4d if then conjunctions 2022-03-07 04:30:39 +01:00
1Regina
bbf109a473 add 25 tests for chinese pronouns -- passed 2022-03-07 04:30:39 +01:00
1Regina
3aefd51280 fix DetNP for positive case for ge 2022-03-07 04:30:39 +01:00
1Regina
5f8a21dc08 add test for chinese passive tests -- passed 2022-03-07 04:30:39 +01:00
1Regina
b7b4c08e8a add test for chinese numerals -- passed 2022-03-07 04:30:39 +01:00
1Regina
92bfa85a49 add AST to test for complements 2022-03-07 04:30:39 +01:00
1Regina
9a6301691d add distinction between Attributive vs Predicative (esp for colours) 2022-03-07 04:30:39 +01:00
1Regina
1b02447b44 attempt to edit complexAP for table selection 2022-03-07 04:30:39 +01:00
1Regina
565cd8fa61 fixed SentAP and AdvAP for AdjPlace in ResChi 2022-03-07 04:30:39 +01:00
1Regina
b26e6e1c9f adjectives colour 2022-03-07 04:30:39 +01:00
1Regina
e4e304d551 WIP negation for chinese 2022-03-07 04:30:39 +01:00
1Regina
33ffc1db48 fix malay for these cats arent' green for negation in unittest 2022-03-07 04:30:39 +01:00
Meowyam
88ae0d5093 add mkV4 to add suffix to some verbs; passive unit tests 2022-02-23 15:09:03 +08:00
Meowyam
066a9f6170 fix active verb form for love 2022-02-21 16:15:33 +08:00
Meowyam
ce9618b945 add linrefs for ClSlash and RCl 2022-02-21 16:15:33 +08:00
Meowyam
336c297dc1 add relative functions, addition to lexicon, change of words for you and I 2022-02-21 16:15:33 +08:00
Yousef Almesbahi
45d47afc36 Update unittest.py 2022-02-21 16:15:33 +08:00
Inari Listenmaa
d021ebd527 (Ara) Add GerundNP in ExtendAra 2022-02-21 16:15:33 +08:00
Inari Listenmaa
a435b6b8dc (Ara) Add extend to AllAra 2022-02-21 16:15:33 +08:00
Inari Listenmaa
4720114c84 (Eng) Update unit tests after reverting FunRP 2022-02-21 16:15:33 +08:00
Inari Listenmaa
475d0fb860 (Eng) Undo the change in FunRP from #381 2022-02-21 16:15:33 +08:00
Inari Listenmaa
c2551f5766 (Eng) Use AllEng in the English unit tests 2022-02-21 16:15:32 +08:00
Inari Listenmaa
0c52f9cbed Recognise AllXxxAbs as abstract in unittest 2022-02-21 16:15:32 +08:00
aarneranta
83a59f2757 fixed ParadigmsFre.mkA with 2 and 3 arguments, and commented out some uncompilable entries from DictFre 2022-02-21 16:15:32 +08:00
Krasimir Angelov
c8862b8ed8 an optimization which would be relevant with the new compiler 2022-02-21 16:15:32 +08:00
Krasimir Angelov
0ee84ddb7d Add ExtendTur to the list of modules 2022-02-21 16:15:32 +08:00
Krasimir Angelov
7da1cc310b simplify the pattern in ia2e 2022-02-21 16:15:32 +08:00
Krasimir Angelov
c81edf3fbb remove dead code 2022-02-21 16:15:32 +08:00
Meowyam
4c1ff7b3a2 added sing_V2 to AllMayAbs 2022-01-28 07:04:17 +01:00
Meowyam
8a95b3ffa9 switched kami to kita for inclusiveness 2022-01-28 07:04:17 +01:00
Meowyam
021e6e6509 fix minor fixes for Malay RGL 2022-01-28 07:04:17 +01:00
Meowyam
bf0e3a58dd add slash3v3 and SlashV2A 2022-01-28 07:04:17 +01:00
Meowyam
1a3b3ef796 monosyllable prefix 2022-01-28 07:04:17 +01:00
Meowyam
0c55010376 add QuestIComp 2022-01-28 07:04:17 +01:00
Meowyam
a1a5f84708 add whoSg_IP 2022-01-28 07:04:17 +01:00
Meowyam
a310e38904 changed which from apa to yang mana, which is more correct 2022-01-28 07:04:17 +01:00
Meowyam
4212850c9e add see_V2 to malay lexicon 2022-01-28 07:04:17 +01:00
Meowyam
a71333fc0e changed wanita to perempuan for woman 2022-01-28 07:04:17 +01:00
Meowyam
bcd46433d1 why did you go 2022-01-28 07:04:17 +01:00
Meowyam
0190fe2943 fixed QuestIAdv 2022-01-28 07:04:17 +01:00
Meowyam
43a02443bb QuestIAdv 2022-01-28 07:04:17 +01:00
Meowyam
90a44af861 do you not teach the cat in malay 2022-01-28 07:04:17 +01:00
Meowyam
93c78de1f1 add test for questions in malay 2022-01-28 07:04:17 +01:00
Meowyam
c4f7875d6a add do you teach the cat in Malay 2022-01-28 07:04:17 +01:00
Meowyam
ba694f03e8 correct verb form for like 2022-01-28 07:04:17 +01:00
Meowyam
a0d397bed4 'how many' has correct standalone form and plural noun 2022-01-28 07:04:17 +01:00
Meowyam
b8a1a72cca fix word order of question 2022-01-28 07:04:17 +01:00
Meowyam
23493335bb add idetQuant and pronouns to Malay RGL 2022-01-28 07:04:17 +01:00
Meowyam
be36e65343 added sing_V2 to AllMayAbs 2022-01-26 19:22:42 +08:00
Yousef Almesbahi
97553b080b Update unittest.py 2022-01-23 12:15:03 +01:00
Inari Listenmaa
6131fdb41f (Ara) Add GerundNP in ExtendAra 2022-01-23 18:28:58 +08:00
Inari Listenmaa
1e761ede38 (Ara) Add extend to AllAra 2022-01-23 18:26:35 +08:00
Meowyam
7f9a4dce2b switched kami to kita for inclusiveness 2022-01-21 15:16:50 +08:00
Meowyam
049bd8943e fix minor fixes for Malay RGL 2022-01-20 13:16:11 +08:00
Inari Listenmaa
f09de4661e (Eng) Update unit tests after reverting FunRP 2022-01-19 09:35:58 +01:00
Inari Listenmaa
5a5adef0db (Eng) Undo the change in FunRP from #381 2022-01-19 09:35:58 +01:00
Inari Listenmaa
eb7b74578f (Eng) Use AllEng in the English unit tests 2022-01-19 09:35:58 +01:00
Inari Listenmaa
4af32f3570 Recognise AllXxxAbs as abstract in unittest 2022-01-19 09:35:58 +01:00
Meowyam
f0b5a89fd4 add slash3v3 and SlashV2A 2022-01-12 17:17:10 +08:00
Meowyam
9d56ac6fee monosyllable prefix 2022-01-12 15:20:26 +08:00
Krasimir Angelov
a181ab36a4 Merge branch 'master' of github.com:GrammaticalFramework/gf-rgl 2022-01-11 15:16:55 +01:00
Krasimir Angelov
2f10c2d769 an optimization which would be relevant with the new compiler 2022-01-11 15:16:26 +01:00
Meowyam
664164e8c1 add QuestIComp 2022-01-05 13:26:10 +08:00
Meowyam
83a16737dc add whoSg_IP 2022-01-04 13:16:26 +08:00
Meowyam
7704f6a18c changed which from apa to yang mana, which is more correct 2022-01-03 21:39:01 +08:00
Meowyam
4a892e646c add see_V2 to malay lexicon 2022-01-03 14:08:32 +08:00
Meowyam
0abf88324e changed wanita to perempuan for woman 2022-01-03 14:07:09 +08:00
Meowyam
6459c07548 why did you go 2022-01-03 14:00:43 +08:00
Meowyam
c61fe0c314 fixed QuestIAdv 2021-12-30 23:19:38 +08:00
aarneranta
93999cd21e fixed ParadigmsFre.mkA with 2 and 3 arguments, and commented out some uncompilable entries from DictFre 2021-12-28 11:20:08 +01:00
Meowyam
984c8deb34 QuestIAdv 2021-12-21 18:11:20 +08:00
Krasimir Angelov
1d32508312 Add ExtendTur to the list of modules 2021-12-20 16:27:21 +01:00
Krasimir Angelov
447926a2ec simplify the pattern in ia2e 2021-12-14 09:20:06 +01:00
Krasimir Angelov
2dd8faaea7 remove dead code 2021-12-13 14:06:29 +01:00
Meowyam
7c1de7ba23 do you not teach the cat in malay 2021-11-25 18:00:46 +08:00
Meowyam
4054fec0d0 Merge branch 'GrammaticalFramework:master' into master 2021-11-25 13:02:47 +08:00
aarneranta
e552ceb71d corrected number of whatPl_IP 2021-11-19 14:59:18 +01:00
Meowyam
82a74d84be add test for questions in malay 2021-11-17 14:45:25 +08:00
Meowyam
3770caad33 add do you teach the cat in Malay 2021-11-17 11:58:42 +08:00
Inari Listenmaa
f9dc1695ca (Eng) open Prelude so True/False are no longer treated as variable names 2021-11-17 11:41:27 +08:00
Meowyam
b086b774bf correct verb form for like 2021-11-15 14:01:16 +08:00
Meowyam
4394c8f979 'how many' has correct standalone form and plural noun 2021-11-15 13:49:39 +08:00
Meowyam
7daf14378d fix word order of question 2021-11-15 12:19:31 +08:00
Meowyam
27925cd4ce add idetQuant and pronouns to Malay RGL 2021-11-15 10:52:02 +08:00
Inari Listenmaa
7dd56dbb53 (Eng) Add unit tests about relative constructions 2021-10-25 11:06:09 +02:00
Inari Listenmaa
0eb77f5291 (Eng) Use "whose" in FunRP instead of "of which" 2021-10-25 11:06:09 +02:00
Inari Listenmaa
32ac7b5fe3 (Eng) Propagate CN's gender to NP also in MassNP 2021-10-25 11:06:09 +02:00
aarneranta
373079cf4c fixed warnings in ParadigmsEng 2021-10-25 11:01:15 +02:00
Jordi Saludes
d97b1ebbce Include 'tossir' verb (to cough) into CA Bescherelle (#380)
Fixed cough_V 'tossir', paradigm implemented as version of cosir/31.
2021-10-20 11:00:33 +02:00
Inari Listenmaa
a33768ad1a (Romance) genNum2Aform instead of explicit param 2021-10-20 10:57:40 +02:00
Inari Listenmaa
b352dcb1a0 (Por) Fix bug in good_A 2021-10-20 10:57:40 +02:00
Inari Listenmaa
8a66158961 (Ita) Fix bug in good_A 2021-10-20 10:57:40 +02:00
Inari Listenmaa
da7309e6b5 (Cat) Fix bug in good_A 2021-10-20 10:57:40 +02:00
Inari Listenmaa
38cdfc8efe (Cat) new instance of prefA 2021-10-20 10:57:40 +02:00
Inari Listenmaa
99469eeb54 (Por) Implement AForm+related opers in DiffPor 2021-10-20 10:57:40 +02:00
Inari Listenmaa
258cd95cca (Ita) Implement AForm+related opers in DiffIta 2021-10-20 10:57:40 +02:00
Inari Listenmaa
445c4f5187 (Cat) Implement AForm+related opers in DiffCat 2021-10-20 10:57:40 +02:00
Inari Listenmaa
b8acdddabd (Fre) Implement AForm+related opers in DiffFre 2021-10-20 10:57:40 +02:00
Inari Listenmaa
3c27bbd125 (Spa) Implement AForm+related opers in DiffSpa 2021-10-20 10:57:40 +02:00
Inari Listenmaa
354990319d (Romance) Move AForm from Common to Diff
Por,Ita: no attributive. Fre,Cat: only Sg M, Spa: Sg M+F
2021-10-20 10:57:40 +02:00
Inari Listenmaa
ef3270ae29 (Romance) Remove traces of Degree in Extend 2021-10-20 10:57:40 +02:00
Inari Listenmaa
88d0217d10 (Fre) Fix bug in predicative adj + add unit test 2021-10-20 10:57:40 +02:00
Inari Listenmaa
5281c3ba71 (Fre) Update A,A2 to not have Degree 2021-10-20 10:57:40 +02:00
Inari Listenmaa
b696b9e932 (Romance) different ComparAgr for French 2021-10-20 10:57:40 +02:00
Inari Listenmaa
9620c738c5 (Cat) Update A,A2 to not have Degree 2021-10-20 10:57:40 +02:00
Inari Listenmaa
e421518a36 (Por) Update A,A2 to not have Degree 2021-10-20 10:57:40 +02:00
Inari Listenmaa
47ea6a6830 (Ita) Update A,A2 to not have Degree 2021-10-20 10:57:40 +02:00
Inari Listenmaa
57390d366c (Spa) Update A,A2 to not have Degree 2021-10-20 10:57:40 +02:00
Inari Listenmaa
862c50e936 (Romance) Remove Degree from A, new field for comp 2021-10-20 10:57:40 +02:00
Inari Listenmaa
3d703856a6 (Romance) WIP: remove comparative más,più from A 2021-10-20 10:57:40 +02:00
aarneranta
93945265b8 ExtendSwe.CardCNCard added 2021-09-14 10:59:55 +02:00
Inari Listenmaa
1cc58f5048 (Eng) More instances of mkV2Q 2021-08-31 19:26:16 +08:00
John J. Camilleri
e85efec7a5 Do not copy when dest==dist in Setup.sh 2021-08-20 14:04:29 +02:00
Inari Listenmaa
62488a2980 (May) Comments and TODOs on unit tests 2021-08-19 10:17:24 +02:00
Inari Listenmaa
74b7171842 (May) Add some lexicon 2021-08-19 10:17:24 +02:00
Inari Listenmaa
6e6b7b09ad (May) AdjCN + change lincat of A* 2021-08-19 10:17:24 +02:00
Inari Listenmaa
c1e12b60ab (May) Add API funs + MissingMay 2021-08-19 10:17:24 +02:00
Inari Listenmaa
fdc28dfd8a (May) Unit tests about numerals 2021-08-19 10:17:24 +02:00
Inari Listenmaa
e122aea3ad (May) Form Det with numerals (NumCard, NumDigits etc.) 2021-08-19 10:17:24 +02:00
Inari Listenmaa
c79c113e01 (May) Add numerals and digits 2021-08-19 10:17:24 +02:00
Inari Listenmaa
d3dd3d668c (May) Cleanup in quant+det types 2021-08-19 10:17:24 +02:00
Inari Listenmaa
d1322ea14d (May) Add prefixV: keeps its prefix in all contexts 2021-08-19 10:17:24 +02:00
Inari Listenmaa
1c98bc22f6 (May) WIP: trying out new rules for indirect objects, TODO check 2021-08-19 10:17:24 +02:00
Inari Listenmaa
2205d5c91c (May) Define three different preposition types 2021-08-19 10:17:24 +02:00
Inari Listenmaa
ec9dcb92bf (May) ImpersCl, AdvVP + tests about verbal prefixes 2021-08-19 10:17:24 +02:00
Inari Listenmaa
7f032c511f (May) Conditional + new tests 2021-08-19 10:17:24 +02:00
Inari Listenmaa
00a72f907b (May) Word order with determiners and relative clauses 2021-08-19 10:17:24 +02:00
Inari Listenmaa
afc299308c (May) Tweaks in relative clauses 2021-08-19 10:17:24 +02:00
Inari Listenmaa
5b28e621b3 (May) Add dative "prep", direct object "prep" +truly empty emptyPrep 2021-08-19 10:17:24 +02:00
Inari Listenmaa
8208485f48 (May) More test, and comments on possession 2021-08-19 10:17:24 +02:00
Inari Listenmaa
014c3569eb (May) WIP: Possessive and object pronouns 2021-08-19 10:17:24 +02:00
Inari Listenmaa
20483a23b1 (May) Add future tense + tests for tenses 2021-08-19 10:17:24 +02:00
Inari Listenmaa
61ffe8e9a4 (May) Split VP negations into bukan and tidak 2021-08-19 10:17:24 +02:00
Inari Listenmaa
bc0fb02f20 (May) Add VV complements 2021-08-19 10:17:24 +02:00
Inari Listenmaa
0e065d8005 (May) Add PassV2 + new tests 2021-08-19 10:17:24 +02:00
Inari Listenmaa
7927fdae85 (May) New lexicon and V3s 2021-08-19 10:17:24 +02:00
Inari Listenmaa
eaf401eda7 (May) No verbal prefixes in relative clauses 2021-08-19 10:17:24 +02:00
Inari Listenmaa
6d781d3d02 (May) Add lexicon + some unit tests 2021-08-19 10:17:24 +02:00
Inari Listenmaa
f2cf027f55 Add ~ to gitignore 2021-08-19 10:17:24 +02:00
Inari Listenmaa
eafa5e8f7a (May) Minor cleanup 2021-08-19 10:17:24 +02:00
Inari Listenmaa
095f11abb7 (May) WIP relative clauses 2021-08-19 10:17:24 +02:00
Inari Listenmaa
53eb8ab9df (May) Add some determiners + fix word order in DetCN 2021-08-19 10:17:24 +02:00
Inari Listenmaa
c98f9a84d8 (May) ComplSlash, prepositions and some V2s 2021-08-19 10:17:24 +02:00
Inari Listenmaa
6693a27d6c WIP: Malay grammar
Copied and pasted from previous RGs, very minimal at the moment.
2021-08-19 10:17:24 +02:00
Inari Listenmaa
4f821ca621 (Chi) Add ExtendChi 2021-08-04 08:49:14 +02:00
Inari Listenmaa
1853365942 (Eng) Add mkVoc in Paradigms, exclude from TryEng 2021-08-02 03:49:46 +02:00
Inari Listenmaa
848e3e5ceb Add implementation of ProDrop 2021-08-02 03:49:46 +02:00
aarneranta
ee86e2390c ParadigmsFin.exceptPlGenN for special plural genitives 2021-08-01 12:38:24 +02:00
aarneranta
decdfac926 fix in Fin.CardCNCard 2021-07-30 11:27:19 +02:00
aarneranta
bd8550b652 Extend.CardCNCard for 5 million, 5 dozen, etc 2021-07-30 10:11:21 +02:00
aarneranta
cb502488d1 some ParadigmsEng,Fin,Ger additions 2021-07-30 09:29:19 +02:00
Aarne Ranta
da443a79af Merge pull request #372 from inariksit/morphodict-eng
Remove "more" + "most" from the inflection table of A*
2021-07-22 11:39:54 +02:00
aarneranta
7da28a09be ifPluralNP and forceNumberNP in ParadigmsFin 2021-07-22 10:33:44 +02:00
aarneranta
2f379bf9c6 added symb : Int -> Card instance in Symbolic 2021-07-21 16:19:01 +02:00
krangelov
45e99c5e40 Merge branch 'master' of https://github.com/GrammaticalFramework/gf-rgl 2021-07-02 21:29:12 +02:00
krangelov
c4d72d1bae added DocumentationAfr 2021-07-02 21:28:51 +02:00
Inari Listenmaa
969559b45b (morphodict) Remove more+most from args to mkA 2021-06-17 20:31:10 +08:00
Inari Listenmaa
70eee40ae8 (Eng) Remove more+most from inflection table of A*
A* has a parameter and the string more/most is added later if needed.
2021-06-17 20:26:55 +08:00
Inari Listenmaa
60533ef002 (Eng) Automatic whitespace removal 2021-06-17 20:14:07 +08:00
aarneranta
a3701d1a48 bug fix in VerbGer: added fields of CN to CompCN 2021-06-09 18:25:06 +02:00
aarneranta
b6f37abe91 ExistNPAdv in Fre and Ita 2021-06-09 18:19:24 +02:00
Aarne Ranta
0ee2377c99 Merge pull request #370 from inariksit/morphodict
Minor improvements in MkMorphodict.hs + Finnish lexicon in new format
2021-06-07 17:42:06 +02:00
aarneranta
ace36f7129 added ParadigmsFin.foreignN and ParadigmsSwe.geoPN 2021-06-04 16:28:19 +02:00
Inari Listenmaa
e3c6694019 (Morphodict) Update MorphoDictFin
* no duplicates
* new naming scheme (vuori_vuoren_N)
* uses 10-arg worst-case paradigms
Note: compilation time almost 1/3 of what it was with Kotus paradigms.
2021-06-04 14:17:15 +08:00
Inari Listenmaa
9275d5e720 (Morphodict) Replace space/- in identifiers with _ 2021-06-04 13:42:14 +08:00
Inari Listenmaa
d2d841e949 (Morphodict) change name + document script 2021-06-04 13:41:42 +08:00
Inari Listenmaa
ee34115ce4 (Fin) Fix inflection paradigm for two words 2021-06-04 13:02:38 +08:00
Inari Listenmaa
e7f620fc60 (Morphodict) Improvements in Fin config + header 2021-06-04 11:07:23 +08:00
Inari Listenmaa
7c79aae07f (Morphodict) use Safe's read for better error msg 2021-06-04 11:04:22 +08:00
Inari Listenmaa
0a84fbaf5d (Morphodict) Add stack and cabal files 2021-06-04 10:35:03 +08:00
Inari Listenmaa
f9ad041ac1 (Morphodict) Error handling, debug output 2021-06-04 10:33:30 +08:00
Inari Listenmaa
8af91c8836 (Morphodict) Automatic whitespace removal 2021-06-04 09:48:08 +08:00
Inari Listenmaa
27b39f3431 (Morphodict) WIP: remove sense distinctions 2021-06-04 08:53:05 +08:00
aarneranta
4f70384664 revised the description of extra categories in morphodict README 2021-05-31 09:52:12 +02:00
aarneranta
38d852a5bb updated morphodict/README.md with MkMorphodict help 2021-05-28 14:44:52 +02:00
aarneranta
7c4546f3c3 eliminated variants from IrregEng: irregular variants have each their own ident, regular variants are just left out. No ident was deprecated 2021-05-28 14:28:40 +02:00
aarneranta
a0ad410692 minimized the number of disambiguating forms of function names in MkMorphodict.hs even more 2021-05-28 12:35:20 +02:00
aarneranta
7fbcb60b87 minimized the number of disambiguating forms of function names in MkMorphodict.hs 2021-05-28 12:23:38 +02:00
aarneranta
73050c74a1 using form lists for disambiguating fun names in MkMorphoDict 2021-05-28 11:48:04 +02:00
aarneranta
71d7de2577 improved MkMorphoDict.hs, still experimental 2021-05-28 11:01:47 +02:00
aarneranta
2ade51ecff category Extend.X for unclassified words, as in UD 2021-05-27 11:19:54 +02:00
aarneranta
eb50c5a9e3 more in morphodict/README.md 2021-05-27 11:16:33 +02:00
aarneranta
29af125799 rewrote morphodict.README.md 2021-05-27 09:42:47 +02:00
Inari Listenmaa
cc75637704 (Extend) Add RelVPS : RP -> VPS -> RS
Implemented in Swe and Eng, empty variants in ExtendFunctor.
2021-05-04 07:02:24 +02:00
Inari Listenmaa
310e143bea (Eng) Add back the s fields of Temp and Pol in mkVPS 2021-05-04 07:02:24 +02:00
Inari Listenmaa
0b63fb7a69 Remove duplicated lins 2021-05-04 07:02:24 +02:00
krangelov
0e5450e792 added UttNP & UttCN 2021-04-30 07:13:07 +02:00
krangelov
5a2b25ff25 Enable some of the phrase building functions 2021-04-30 06:28:20 +02:00
krangelov
7396ed93f7 enable smart paradigms 2021-04-28 09:19:48 +02:00
krangelov
bfa64d477d added AllSwa and make the language compilable 2021-04-28 08:42:05 +02:00
krangelov
9d657a6f24 move UseDAP, UseDAPMasc, UseDAPFem to the RGL and implement it for several new languages 2021-04-27 18:00:54 +02:00
krangelov
156e193d47 generalize DAP 2021-04-27 13:23:27 +02:00
krangelov
adb1cffb75 generalize infVP to support negative VP in Romance 2021-04-27 13:18:27 +02:00
krangelov
617cb25f1e generalize infinitive_form 2021-04-27 10:06:12 +02:00
krangelov
85282418a7 added linrefs for A and A2 2021-04-27 10:03:42 +02:00
krangelov
632d4e2ff1 Merge branch 'master' of https://github.com/GrammaticalFramework/gf-rgl 2021-04-27 08:43:35 +02:00
krangelov
b3cc234c14 simplify the code and allow for non-standard pronouns 2021-04-27 08:42:57 +02:00
aarneranta
af36eaf077 Merge branch 'master' of https://github.com/GrammaticalFramework/gf-rgl 2021-04-26 09:46:09 +02:00
aarneranta
4d3f5be892 restored subject case of ExtendFin.VPS following ExtraFin 2021-04-26 09:45:53 +02:00
John J. Camilleri
431ff47824 Setup.sh: don't build Symbol if Try is false
This was uncovered by recent changes to Somali in 1131058b,
which built with Setup.hs but failed with Setup.sh
2021-04-26 08:54:58 +02:00
aarneranta
ce08eaf14b VPS,VPI in ExtendGer 2021-04-26 08:20:03 +02:00
aarneranta
1ddfe0ac26 restored dropped words in MorphoDictSwe ; quality control TODO 2021-04-25 18:26:35 +02:00
aarneranta
8bbdfecb26 reran MkMorphoDict on Swe to fix erroneous verb definitions 2021-04-23 16:06:27 +02:00
Aarne Ranta
069804581b Merge pull request #367 from inariksit/new-VPS2-extend
(Extend) New constructions: N2/A2 -> VPSlash, Eng linearisation of QuestVPS
2021-04-23 11:39:50 +02:00
krangelov
6bf2555a4a helper functions to make it possible to import Polish morphology 2021-04-23 11:19:54 +02:00
Inari Listenmaa
cb8cc63528 Add linref to VPS and VPS2 2021-04-23 14:54:53 +08:00
Inari Listenmaa
8acb3331d1 Merge remote-tracking branch 'origin/master' into new-VPS2-extend 2021-04-23 13:56:16 +08:00
Inari Listenmaa
868ea0fc0c Add constructions for N2 and A2 to VPSlash
To generalise transitive predicates, along with V2 -> VPSlash.
2021-04-23 13:50:11 +08:00
krangelov
1131058b68 make Somali installable 2021-04-22 07:31:18 +02:00
krangelov
6bbb0e2487 AdvAP in Dutch and Estonian 2021-04-07 00:35:05 +02:00
krangelov
ac8322f907 AdvS and ExtAdvS in Slovenian 2021-04-07 00:10:07 +02:00
krangelov
e2746d8b81 move the VPS rules from ExtraDut to ExtendDut 2021-04-06 23:55:29 +02:00
krangelov
0adc3845e3 make sure that ExtendEst is compiled as well 2021-04-06 23:52:25 +02:00
krangelov
6e95fbbbb9 add AdvNP in Slovenian 2021-04-06 21:22:56 +02:00
aarneranta
1dc1530b20 fixes in Fin: mkPrep with three arguments, pieni_A in MorphoDict 2021-03-29 13:05:05 +02:00
aarneranta
89b38c13d4 added keywords to MorphoDictGer(Abs) for uniformity 2021-03-25 09:36:10 +01:00
krangelov
6d1d9d17d1 Merge branch 'master' of https://github.com/GrammaticalFramework/gf-rgl 2021-03-19 20:41:32 +01:00
krangelov
de405c7929 fix ReflRNP for V2A verbs 2021-03-19 20:39:44 +01:00
aarneranta
fe28bea8ec added ParadigmsFin.invarA, not shown in the API 2021-03-19 17:34:27 +01:00
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
Meng Weng Wong
ee2bfe6014 mkdir -p $GF_LIB_PATH if it doesn't already exist (#366)
* mkdir -p $GF_LIB_PATH if it doesn't already exist

* enquote the install
2021-02-26 08:52:15 +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
John J. Camilleri
6740b37cfc Remove build status badge from README
The GitHub interface now provides much richer information about build status.
2020-11-30 22:03:56 +01:00
John J. Camilleri
4c330b7d62 Merge branch 'master' of github.com:GrammaticalFramework/gf-rgl 2020-11-30 20:58:05 +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
Inari Listenmaa
8dc5daf664 Comment out Windows build
Windows build hasn't work for some time now, and no test isn't worse than always failing test.
2020-11-27 16:35:39 +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
John J. Camilleri
2f3146441b Makefile now works with: global runghc, stack-only runghc, and falls back to shell script. 2020-11-27 00:47:09 +01:00
Inari Listenmaa
9594ee9cf2 (Eng) Fix verbalN so that it includes particle (switching *on*) 2020-11-26 19:45:00 +01:00
John J. Camilleri
eeec3d998e Merge branch 'build-action' 2020-11-14 17:20:44 +01:00
John J. Camilleri
519a31e88a Change build workflow to take care of creating entire release 2020-11-14 17:19:00 +01:00
John J. Camilleri
0c65539e0c Merge pull request #361 from GrammaticalFramework/build-action
Add workflow for building entire RGL
2020-11-12 08:08:16 +01:00
John J. Camilleri
aa3b6648f3 Get SHA from github context, not environment 2020-11-11 22:11:16 +01:00
John J. Camilleri
2d102d2549 Don't archive files first, give a name to artifact 2020-11-11 22:08:15 +01:00
John J. Camilleri
7505813fa5 Must make dest directory before copying to it 2020-11-11 21:58:45 +01:00
John J. Camilleri
6cedca7f4f dest cannot be same as dist 2020-11-11 21:50:16 +01:00
John J. Camilleri
dd102142f5 Specify --gf flag properly. Compress and upload artifact. 2020-11-11 21:43:46 +01:00
John J. Camilleri
aa8840b61b Add sudo to dpkg command 2020-11-11 21:38:27 +01:00
John J. Camilleri
33d7b7173e Add build workflow 2020-11-11 21:37:12 +01:00
Inari Listenmaa
ae7e895b14 Merge pull request #360 from bamutra/master
Request for Merge
2020-10-27 10:44:42 +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
Inari Listenmaa
c4bffc32f1 Merge languages.csv to the latest 2020-10-27 10:10:24 +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
0c5d685d8a =corrections to languages.csv made. However, my files do not have Korean 2020-10-26 23:37:18 +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
b776f47c6b =edited languages.csv 2020-10-26 10:11:41 +03:00
David Bamutura
c96156116e =added rukigaa to languages.csv 2020-10-26 09:23:35 +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
622f0da641 Merge pull request #4 from ppski/polish-inari-update
More smart paradigms
2020-10-12 08:09:24 +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
Inari Listenmaa
b3b1f4ebd8 Merge pull request #358 from ppski/pl-formal-pronoun
Pol pronoun: Change formal possessive pronoun.
2020-10-06 19:59:51 +02:00
Paula Pawlowski
479136bfc5 Pol pronoun: Change formal possessive pronoun. 2020-10-06 19:57:19 +02:00
krangelov
272484b1fd added link to the WordNet browser 2020-10-01 11:00:01 +02:00
Inari Listenmaa
895ee33a95 Merge pull request #353 from rnd0101/new-rus-rg
New Russian Resource Grammar
2020-09-29 09:39:40 +02:00
aarneranta
bf3609c083 ParadigmsEng.verbalN for default verbal nouns adding -ing to verbs 2020-09-25 15:00:53 +02:00
aarneranta
08896eb34b added ParadigmsFin.compoundA, totally different from prefixA (as now documented) 2020-09-24 09:04:24 +02:00
Roman Suzi
244b6c2447 More tests 2020-09-23 22:51:21 +03:00
Inari Listenmaa
42fb9fd465 Cleanup 2020-09-23 22:47:44 +03:00
Inari Listenmaa
6661bdff95 Guess that Nom+Acc become Gen in negative, remove neggen field
This removes around 70k concrete categories (in PGFs compiled with
--optimize-pgf.)
Unsure if that is actually useful -- the number of concrete functions
only went down by a couple hundred.
2020-09-23 22:47:40 +03:00
Inari Listenmaa
a793daaf11 Merge Reflexivity and Transitivity (untested) 2020-09-23 22:47:35 +03:00
Roman Suzi
58cfa9e8dc Merge branch 'master' into new-rus-rg 2020-09-23 22:31:22 +03:00
Inari Listenmaa
c759a3f5f4 Merge pull request #357 from inariksit/fin-CN
CN in Finnish
2020-09-18 16:25:41 +02:00
Inari Listenmaa
d4ee4addc5 (Fin) Update all functions that use CN to use postmod field 2020-09-17 21:04:36 +02:00
Inari Listenmaa
dd813bc7cc (Fin) Fix typo 2020-09-17 20:48:31 +02:00
aarneranta
39b9918060 added verbal nouns to MorphoDictFin 2020-09-17 08:13:55 +02:00
aarneranta
9d9349a17a ParadigmsFin.verbalN for building nouns of type 'tekeminen' 2020-09-17 06:51:44 +02:00
Roman Suzi
7f05718d5c Fixed full form of uvidennyi_A 2020-09-12 10:51:10 +03:00
Roman Suzi
cae8e43d21 Also test results 2020-09-12 10:49:13 +03:00
Roman Suzi
f072f56f3f Fixed past passive participles full forms by adding its own stem to the verb 2020-09-12 10:47:54 +03:00
Roman Suzi
eb08304c10 Merge branch 'master' into new-rus-rg 2020-09-12 09:59:49 +03:00
John J. Camilleri
b422417d4b Normalise some whitespace
Can you believe some joker actually mixed tabs and spaces?
2020-09-11 16:09:03 +02:00
Inari Listenmaa
2ef1e7d8b6 Merge pull request #355 from inariksit/rgl-publications
Update RGL status doc + publications
2020-09-08 11:04:55 +02:00
Inari Listenmaa
adcc4c4c81 Merge pull request #356 from bamutra/master
Request to merge
2020-09-08 09:18:56 +02:00
Inari Listenmaa
fe50ca3fa6 (doc) Somali + Latin pubs + formatting 2020-09-07 21:21:24 +02:00
Inari Listenmaa
0f4f1f78c1 (doc) Update RGL status document 2020-09-07 21:03:13 +02:00
Inari Listenmaa
6bd9193b7e (doc) Add Czech, Slovak and Slovenian 2020-09-07 20:22:26 +02:00
Inari Listenmaa
44e1f6fab0 (doc) Update RGL publications document 2020-09-07 19:15:29 +02:00
Roman Suzi
6ff11a2458 Fixed notpresent 2020-09-06 16:32:28 +03:00
Roman Suzi
db8f3ebf72 Test with refl suffix 2020-09-06 16:27:34 +03:00
Roman Suzi
1c92a0826b Some fixes and adjustments to the past pass participles 2020-09-06 16:18:01 +03:00
Roman Suzi
454164a521 Fixed reflexive preffix at the end of participles 2020-09-06 09:42:08 +03:00
Roman Suzi
e679629d70 Prints to facilitate all form checks; Participles - first draft 2020-09-06 09:31:44 +03:00
Roman Suzi
6b874440db Small lexicon fixes and additions, tests 2020-08-29 10:05:15 +03:00
Inari Listenmaa
a06732a064 Merge pull request #354 from inariksit/rusRG-intermediate
(Rus) Put old version in src/russian/v1
2020-08-28 12:55:11 +02:00
Inari Listenmaa
36dffcb152 (Rus) Remove old IrregRus, never had actual content 2020-08-28 12:50:01 +02:00
Inari Listenmaa
a233e33bf8 (Rus) Put old version in src/russian/v1 2020-08-28 12:44:47 +02:00
Roman Suzi
70540a7e19 Rechecked todo 2020-08-26 19:22:51 +03:00
Roman Suzi
f7f784aeb1 Many additions; more numerals; tests; 2020-08-26 18:10:35 +03:00
Roman Suzi
0e363f02dd Merge branch 'master' into mew-rus-rg 2020-08-23 21:24:17 +03:00
Inari Listenmaa
93876d6f1c Merge pull request #351 from inariksit/finnish-postmodifiers
Finnish postmodifiers
2020-08-23 16:24:41 +02:00
Inari Listenmaa
c34b05d9df (Fin) Update README about known issues 2020-08-23 16:13:17 +02:00
Inari Listenmaa
0ca88f2caf (Fin) Add postmodifier also to N2, needed due to ComplN3 2020-08-23 15:53:17 +02:00
Inari Listenmaa
32606cfa59 (Fin) Fix order of postmodifiers and possessive suffixes
"lasinsa viiniä", not "lasi viiniänsa"
2020-08-23 11:03:15 +02:00
Roman Suzi
5a3f5e430a more verbs; moved negation after adv because adv can have not_AdA 2020-08-21 23:43:09 +03:00
Roman Suzi
ecb032770e Lexicon extended 2020-08-19 23:22:11 +03:00
Roman Suzi
7a100120af Adverbs added 2020-08-16 19:34:50 +03:00
Roman Suzi
1665b277a0 Renamed to inflection module 2020-08-16 18:54:53 +03:00
Roman Suzi
e0380cfa62 One CAdv added 2020-08-16 18:00:25 +03:00
Roman Suzi
36b0fb1e69 Fixes and lexicon additions 2020-08-16 17:31:42 +03:00
Roman Suzi
5132f66809 One more mixed conjugation verb - last one 2020-08-16 09:44:33 +03:00
Roman Suzi
1d726ed956 compound 2020-08-16 09:34:36 +03:00
Roman Suzi
4abec966a9 Some additions to lexicon 2020-08-16 09:03:46 +03:00
Inari Listenmaa
eb6244bc85 Merge pull request #349 from inariksit/korean
(Kor) Fix typo in a conjunction
2020-08-15 11:01:55 +02:00
Inari Listenmaa
bfcae3bbbb (Kor) Fix typo in a conjunction 2020-08-15 08:09:10 +02:00
Roman Suzi
98f65975ae Some fixes/changes, new extend functions 2020-08-14 21:00:25 +03:00
Roman Suzi
bf4b4b2d22 Removed SlashV2VNP 2020-08-11 23:16:37 +03:00
Roman Suzi
bcadbaaf32 After checkign with tests, identified problems, fixed some - eg more fine-grained animNumSizeNum 2020-08-10 00:03:05 +03:00
Roman Suzi
84361d473d fix ComparAdvAdj 2020-08-09 17:50:29 +03:00
Roman Suzi
13ee63e25d Fixed direct object negation cases 2020-08-09 17:20:03 +03:00
Roman Suzi
f9467bffd3 Fixed DetCN 2020-08-08 21:12:50 +03:00
Roman Suzi
c0734bdfbb Oridnal numerals added ; many fixes 2020-08-08 20:30:28 +03:00
Inari Listenmaa
68290c590e Merge pull request #348 from inariksit/korean
(Kor) Remove null characters that were accidentally copypasted
2020-08-08 18:20:56 +02:00
Inari Listenmaa
a17f4fd401 (Kor) Remove null characters that were accidentally copypasted 2020-08-08 18:06:33 +02:00
David Bamutura
7a07513f8e =about 1261 nouns added in the extended lexicon 2020-08-07 19:43:45 +03:00
Roman Suzi
bbbe9bbb03 Introduced transgressive as an adverb... 2020-08-05 20:31:17 +03:00
Aarne Ranta
b07a19d8c1 started MorphoDictFin from Kotus dict 2020-08-05 12:15:53 +02:00
David Bamutura
1be01b549e =959 verbs added in the extended lexicon 2020-08-05 08:50:25 +03:00
Roman Suzi
d47d2ce52f Documentation 2020-08-05 07:09:34 +03:00
Roman Suzi
8e824083a2 Extend connected at last 2020-08-04 07:34:11 +03:00
Roman Suzi
8b5e28b948 Update to Readme 2020-08-02 22:31:07 +03:00
Roman Suzi
6ad61614b8 Some refactorings 2020-08-02 22:27:22 +03:00
Roman Suzi
e4f9b85f53 Improvements to Number; started doc 2020-08-02 19:24:28 +03:00
Roman Suzi
a6fc60e2d3 Fixed ear; fixed ComplSlash complement 2020-08-01 10:25:11 +03:00
Roman Suzi
49d97eeef9 fixed one have_name_Cl case 2020-08-01 09:12:15 +03:00
Roman Suzi
979808415b fix for article 2020-08-01 08:54:01 +03:00
Roman Suzi
71868cc361 Removed unused type 2020-07-31 23:30:42 +03:00
Roman Suzi
642beb9169 Added tests, fixes, etc 2020-07-31 22:58:24 +03:00
Roman Suzi
f9437f01a9 More to constructors, using maybe now; fixes to RCl 2020-07-31 18:44:25 +03:00
Roman Suzi
f22f5d4abf Fixing issues 2020-07-30 00:02:54 +03:00
Roman Suzi
14f183a577 Some fixes 2020-07-29 00:15:53 +03:00
Roman Suzi
a76a017064 fixed RelSlash; sta 2020-07-27 23:22:00 +03:00
Roman Suzi
9918e391b3 fix 400 2020-07-27 20:27:38 +03:00
Roman Suzi
1f1dec615b Solved some problems from todo 2020-07-27 18:58:09 +03:00
Roman Suzi
118240d38d dict changes; articles 2020-07-25 23:38:47 +03:00
Roman Suzi
3fc6efec77 Fixes to num size and other fixes 2020-07-25 19:32:57 +03:00
Roman Suzi
74485ab138 More backwards compatibility changes 2020-07-24 21:32:52 +03:00
Roman Suzi
f719268045 Some fixes and backwards compatibility 2020-07-24 19:41:11 +03:00
Roman Suzi
ea7f9aba0f Extras added to see if phrasebook will start to work 2020-07-24 16:09:49 +03:00
Roman Suzi
662b731dd0 Some tweaks 2020-07-24 13:45:01 +03:00
Roman Suzi
1f9e6aeaad REPLACED old Russian RG completely 2020-07-24 12:59:02 +03:00
David Bamutura
88b8e84cab =Final changes to mergerd branch. Lexicon files left to process 2020-06-29 16:29:02 +03:00
David Bamutura
e53684c2f2 Merge branch 'latest_July'
This adds implementation for Tenses.
2020-06-29 16:13:57 +03:00
David Bamutura
0fbe5a14cd =Changes to make additional Tenses work 2020-06-29 16:04:22 +03:00
David Bamutura
78146df910 =Made additions to the lexicon 2020-06-29 15:31:15 +03:00
Inari Listenmaa
4d3e106148 Merge pull request #346 from inariksit/hungarian
Hungarian: vowel harmony + handle multiwords
2020-06-28 14:14:43 +02:00
Inari Listenmaa
7f2a5bf18f (Hun) Handle dashes separately from multiwords 2020-06-28 14:10:37 +02:00
Inari Listenmaa
9922d750db (Hun) Handle back harmony words that end in i
Also use multiword split just in case some grammar uses these opers directly.
2020-06-28 12:36:11 +02:00
Inari Listenmaa
2cf9c2ff1e (Hun) Handle multiword splitting already in Paradigms. 2020-06-28 12:35:05 +02:00
Inari Listenmaa
267e457cc2 (Hun) Switch: only ik is unreliable, treat other pl suffixes as reliable 2020-06-28 10:35:44 +02:00
Inari Listenmaa
2aaccfface (Hun) Fix harmony of something_NP 2020-06-28 09:47:33 +02:00
Inari Listenmaa
d1f0e4ab0d Merge pull request #345 from inariksit/hungarian
(Hun) mkN with 3-9 args: use more reliable forms to infer vowel harmony
2020-06-27 20:27:58 +02:00
Inari Listenmaa
b33a65bbb5 (Hun) mkN with 3-9 args: use more reliable forms to infer vowel harmony 2020-06-27 19:51:26 +02:00
David Bamutura
7403f44eda =I have made changes to my structure for addition of the full Tense Structure for Rukiga 2020-06-26 17:34:33 +03:00
David Bamutura
203ea9c061 =made changes to UseCl by correcting tense linearization. Added some extras. Peparing to extend GF 2020-06-25 17:11:47 +03:00
Inari Listenmaa
d1d481b6e8 Merge pull request #344 from inariksit/hungarian-postmod
Hungarian postmod
2020-06-22 08:01:35 +02:00
Inari Listenmaa
7ba3842ced (Hun) For multiwords, get harmony of the last word. 2020-06-22 07:38:41 +02:00
Inari Listenmaa
49fbbffacc (Hun) Add postmod field to CN and NP, to better control word order. 2020-06-21 21:06:06 +02:00
Inari Listenmaa
270067291a (Hun) Expose ablative 2020-06-21 20:59:46 +02:00
John J. Camilleri
e199fbbb0c (Bul) Change encodings from CP1251 to UTF8 (#343) 2020-06-17 09:17:56 +02:00
Inari Listenmaa
71782b8e04 Merge pull request #342 from inariksit/japanese
Fixes in Jpn adjectives
2020-06-12 15:40:59 +02:00
Inari Listenmaa
27f7d5397a (Jpn) Make VerbalA work for other verbs than iru 2020-06-12 14:00:18 +02:00
Inari Listenmaa
c686004c4a Moved src/experimental and src/parametric to a branch 'experimental' 2020-06-05 22:02:44 +02:00
Inari Listenmaa
c493a476dc Merge pull request #341 from inariksit/swahili
Rename Kiswahili -> Swahili
2020-06-05 21:46:11 +02:00
Inari Listenmaa
cb401368b8 Merge pull request #340 from odanoburu/unittest-forgiving-parser
(unittest.py) more forgiving parser
2020-06-05 21:45:12 +02:00
Inari Listenmaa
4b19050149 (Swa) Add readme 2020-06-05 21:33:30 +02:00
Inari Listenmaa
03179d4ac3 (Swa) Update new Swahili in languages.csv 2020-06-05 21:26:43 +02:00
Inari Listenmaa
abf0ec17fb (Swa) Rename Kiswahili to Swahili 2020-06-05 21:22:24 +02:00
Inari Listenmaa
0f67332f31 (Bantu) Minor fixes to make Swahili compile 2020-06-05 21:19:14 +02:00
Inari Listenmaa
ee9b5354e7 (Swa) Move old Swahili files to src/swahili/old 2020-06-05 21:18:43 +02:00
odanoburu
2e14b90c57 Merge remote-tracking branch 'origin/master' into unittest-forgiving-parser 2020-06-04 21:35:57 -03:00
Inari Listenmaa
fd31f9f6e6 Merge pull request #339 from inariksit/hungarian
Hungarian: fixes in nouns, updated tests
2020-06-04 11:41:20 +02:00
Inari Listenmaa
be8f2a43d1 (Hun) Add mkN : Str -> N -> N for compound nouns 2020-06-04 08:28:18 +02:00
Inari Listenmaa
ab83883679 (Hun) Update worst-case mkN with P1Sg possessive form of the noun 2020-06-04 08:19:29 +02:00
Inari Listenmaa
1471ee563e (Hun) Add a stem for Sg1, Sg2 and Pl2 possessive form 2020-06-04 08:19:01 +02:00
Inari Listenmaa
e5985f390a (Hun) Update all remaining tests to use BIND 2020-06-04 07:39:54 +02:00
Inari Listenmaa
dd74c90d82 (Hun) DetNP inherits the definiteness of the determiner 2020-06-04 07:39:17 +02:00
odanoburu
9ca6dc8cb2 * unittest.py: more forgiving parser
- accepts whitespace before comment starts
- accepts blank lines after last test case, or more than one of them
  between test cases
2020-06-03 22:19:19 -03:00
Inari Listenmaa
eb722f8cfc Merge pull request #338 from rnd0101/some-small-fixes
Some small fixes in Russian RG
2020-05-31 16:49:09 +02:00
Roman Suzi
1b6e193565 Fixed tvoi/moi poss pronoun pl instr in Russian RG 2020-05-31 15:18:52 +03:00
Roman Suzi
a98820a292 removed extra yu in 200- instr 2020-05-31 15:15:51 +03:00
Inari Listenmaa
ca9d3df09e Merge pull request #337 from inariksit/hungarian
(Hun) Add possessive forms in MassNP
2020-05-29 17:30:05 +02:00
Inari Listenmaa
eefefbf792 (Hun) Add possessive forms in MassNP 2020-05-29 15:23:48 +02:00
John J. Camilleri
4fc26369b8 (Cgg) Remove executable file permissions 2020-05-27 16:38:21 +02:00
Inari Listenmaa
1586809a94 Merge pull request #336 from inariksit/russian-documentation
(Rus) Fix syntax in ParadigmsRus to show in synopsis
2020-05-24 09:58:35 +02:00
Inari Listenmaa
b8bb2f5037 Merge pull request #334 from rnd0101/remove-seconda-part1
Deprecate SecondA conjugation, fix many words
2020-05-24 09:57:17 +02:00
Inari Listenmaa
78ce94be88 (Rus) Fix syntax in ParadigmsRus to show in synopsis; whitespace removal 2020-05-24 09:35:22 +02:00
Roman Suzi
a042a8c63c Resolved conflict in a comment 2020-05-24 09:59:08 +03:00
Inari Listenmaa
a5d3edc06a Merge pull request #335 from rnd0101/there-is-no-foreign-conj-in-russian
Conjugation class Foreign is not needed, coincides with First
2020-05-24 07:46:57 +02:00
Roman Suzi
8290ace214 Conjugation class Foreign is not needed, coincides with First 2020-05-23 22:05:47 +03:00
Roman Suzi
8fbcd04421 redefined go, see, hate as they are not regular 2020-05-23 18:38:48 +03:00
Roman Suzi
d62a48a8e8 Redefined leave 2020-05-23 18:35:58 +03:00
Roman Suzi
20f703e09c Fix fly_V 2020-05-23 18:31:25 +03:00
Roman Suzi
69c1ff669c Removed special variant of Second conj, but left one in hasConj as it is used for a different purpose 2020-05-23 18:24:03 +03:00
Inari Listenmaa
189f27a07b Merge pull request #333 from inariksit/korean
Korean
2020-05-22 08:07:11 +02:00
Inari Listenmaa
db4f819113 (Kor) Change UttVP to base form 2020-05-22 07:58:27 +02:00
Inari Listenmaa
93f5395efc (Kor) Fix bug in ConjAP: now uses the neg stem 2020-05-22 07:56:41 +02:00
Inari Listenmaa
9f1fc65e7a (Kor) Fix attributive forms for copula 2020-05-21 21:31:33 +02:00
Inari Listenmaa
be3e20f1a5 Merge pull request #331 from inariksit/korean
Korean: Adv + politeness
2020-05-21 20:42:59 +02:00
Inari Listenmaa
8d8a089f53 (Kor) Add linref for AP 2020-05-21 19:51:15 +02:00
Inari Listenmaa
45badcbe75 Merge pull request #332 from rnd0101/fix-must-dolzhen
Fix must (dolzhen) in Rus RG
2020-05-21 18:24:37 +02:00
Inari Listenmaa
b1c578025d (Kor) Change default style to Formal 2020-05-21 17:43:26 +02:00
Inari Listenmaa
737df2e226 (Kor) Add allomorphs for conjunctions 2020-05-21 17:43:01 +02:00
Roman Suzi
1cde3460b8 Merge branch 'master' into fix-must-dolzhen 2020-05-21 17:28:04 +03:00
Roman Suzi
04bde8b4a0 Rus RG - dirty fix must_VV (dolzhen) 2020-05-21 17:26:16 +03:00
Inari Listenmaa
7785afd2c3 (Kor) Fix VStem Neg form in worstcase constructor 2020-05-21 15:09:53 +02:00
Inari Listenmaa
8acf0da717 (Kor) Add Style as a variable up to S. Utt chooses Polite.
If different politeness levels are wanted in applications, UttS can be overriden.
2020-05-21 14:52:54 +02:00
Inari Listenmaa
ef364c295f (Kor) Use all fields of VP in EmbedVP + tweak linref for VP 2020-05-21 14:17:52 +02:00
Inari Listenmaa
5153005d51 (Kor) Tweaks in Adv+AdV 2020-05-21 14:11:50 +02:00
Inari Listenmaa
1d621f5a7f Merge pull request #330 from inariksit/jpn-prepositive
Fix a bug in Jpn AdvCN
2020-05-20 16:25:34 +02:00
Inari Listenmaa
3dc17b2f4b (Jpn) Replace bar = {x = foo.x ; …} with extension: bar = foo ** {…}
Checked with gftest that the operation didn't change anything.
2020-05-20 16:08:04 +02:00
Inari Listenmaa
9d5555d393 (Jpn) Automatic whitespace removal 2020-05-20 16:04:21 +02:00
Inari Listenmaa
306aae28bd (Jpn) Keep the old prepositive in CN after AdvCN 2020-05-20 15:59:32 +02:00
John J. Camilleri
26373e16d8 (Cze): Remove "??" from Adjective paradigm 2020-05-20 10:24:24 +02:00
aarneranta
863aa1f8eb added ExtendSwe.UttAccNP 2020-05-18 16:17:44 +02:00
aarneranta
26507ce3c6 Merge branch 'master' of https://github.com/GrammaticalFramework/gf-rgl 2020-05-16 18:00:24 +02:00
aarneranta
fa70eccfd0 VPS2 and VPI2 in ExtendSwe 2020-05-16 18:00:09 +02:00
Inari Listenmaa
46772bc771 Merge pull request #329 from rnd0101/fix-rus-can
Fix can (moch) in Russian RG
2020-05-15 09:58:00 +02:00
Roman Suzi
c5b4f3e222 Rus RG - Also fix become_VA conjugation 2020-05-15 00:20:24 +03:00
Roman Suzi
c675de3457 Fix can (moch) 2020-05-14 21:54:28 +03:00
Inari Listenmaa
3633e3f6f5 Merge pull request #327 from rnd0101/master
Corrected mkVerbPerfective to not return nonExist
2020-05-11 11:07:54 +02:00
Roman Suzi
a91adff345 Corrected mkVerbPerfective to not return nonExist as it's used also in unrelated place 2020-05-09 19:59:44 +03:00
Inari Listenmaa
35c24c6371 Merge pull request #326 from rnd0101/master
Small fixes to Russian RG
2020-05-09 15:57:44 +02:00
Roman Suzi
ac39c90460 Fixes case for perfective/imperfective 2020-05-09 00:14:48 +03:00
Roman Suzi
61b74dc829 Fixes add_sya 2020-05-09 00:12:23 +03:00
aarneranta
e50cc6f6e4 invarA in Cze and Slo 2020-05-07 11:24:03 +02:00
John J. Camilleri
344b91c68f Reverse changes to Setup.bat from aa1b97a. Also add Cze, Hun, Slo. 2020-05-05 11:31:57 +02:00
Aarne Ranta
aa1b97a1b4 Merge pull request #325 from bulbulistan/master
Corrections to ResSlo.gf, mostly pronouns and numerals.
2020-05-05 10:19:32 +02:00
Inari Listenmaa
2cc2bc22c6 Merge pull request #324 from inariksit/finnish-smart-paradigm
(Fin) Create paradigm for lämmin-lämpimän, Sg Gen not covered by dSuurin
2020-05-05 09:02:03 +02:00
Inari Listenmaa
24073f3ba7 (Fin) Create paradigm for lämmin-lämpimän, Sg Gen not covered by dSuurin 2020-05-05 07:31:38 +02:00
bulbul
01efa368c3 Corrections to ResSlo.gf, mostly pronouns and numerals. 2020-05-04 18:17:20 +02:00
Inari Listenmaa
4a21ce680a Merge pull request #323 from inariksit/finnish-smart-paradigm
(Fin) Pattern match all 3 arguments in 3-arg mkN
2020-05-04 14:55:38 +02:00
Inari Listenmaa
1cdc6cf774 (Fin) Pattern match all 3 arguments in 3-arg mkN 2020-05-04 14:51:34 +02:00
Inari Listenmaa
899ab19e78 Merge pull request #322 from inariksit/finnish-smart-paradigm
Finnish smart paradigm fix
2020-05-04 14:28:06 +02:00
Inari Listenmaa
e5ff427826 (Fin) Use the given Sg Gen in nForms2N, don't force into weak grade 2020-05-04 14:18:45 +02:00
Inari Listenmaa
ed60539dd5 Automatic whitespace removal 2020-05-04 13:56:22 +02:00
Inari Listenmaa
5c48828e8e Automatic whitespace removal 2020-05-04 13:45:43 +02:00
Inari Listenmaa
b5902789a8 (Fin) Add "muki-mukin" case to 3-arg smart paradigm for mkN
Used to give "muki-muin".
2020-05-04 13:43:29 +02:00
Aarne Ranta
21f468a5f5 fixes in Slo demonstrative forms 2020-05-04 13:14:44 +02:00
Inari Listenmaa
e906743c6f Merge pull request #321 from inariksit/hungarian
Hungarian
2020-05-02 21:34:10 +02:00
Aarne Ranta
8878024901 some Slo fixes from Slavomír 2020-05-02 21:07:09 +02:00
John J. Camilleri
dbe7264371 Add Slovak to languages.csv 2020-04-30 22:13:44 +02:00
Julia Jansson
52d475e040 Update README.md 2020-04-30 17:31:52 +02:00
Julia Jansson
edf7f60a5f Update README.md 2020-04-30 17:31:35 +02:00
Julia Jansson
22de842e37 Documentation 2020-04-30 17:24:46 +02:00
aarneranta
7bedd69e88 Slavomír's corrections on palatalization and demonstratives 2020-04-30 16:44:19 +02:00
Aarne Ranta
f19fc9c3ed Slavomír Čéplö's fixes in Slovak 2020-04-30 12:07:21 +02:00
Aarne Ranta
8080b43965 Merge branch 'master' of https://github.com/GrammaticalFramework/gf-rgl 2020-04-30 11:50:27 +02:00
Aarne Ranta
115be8c68d temporarily (?) removed the ?? markings from Slo and Cze smart paradigms 2020-04-30 11:50:10 +02:00
John J. Camilleri
1585171fd2 Merge branch 'master' of github.com:GrammaticalFramework/gf-rgl
# Conflicts:
#	src/czech/NumeralCze.gf
2020-04-30 11:48:16 +02:00
John J. Camilleri
4f8922f030 (Cze) Only inherit relevant cats in NumeralCze 2020-04-30 11:46:47 +02:00
Aarne Ranta
9a45ab3889 restricted import of CatCze and Slo in Numeral 2020-04-30 11:45:46 +02:00
krangelov
16d89bef09 Merge branch 'master' of https://github.com/GrammaticalFramework/gf-rgl 2020-04-30 09:26:47 +02:00
krangelov
6d68a94c67 forgotten ExtendTur.gf 2020-04-30 09:26:19 +02:00
aarneranta
bdd8827423 Cze: prefix wildly guessed inflections with ?? 2020-04-30 07:58:23 +02:00
aarneranta
f9db17993a Slo: probe for long vs short endings ; default with prefix ?? instead of errorr in smart paradigms 2020-04-30 07:51:50 +02:00
Inari Listenmaa
badc7b8a51 Merge pull request #320 from inariksit/hungarian
Hungarian
2020-04-29 19:41:18 +02:00
Inari Listenmaa
db3c559fc8 (Hun) Remove calls to Predef.error 2020-04-29 19:20:34 +02:00
Inari Listenmaa
0e80e3b76d (Hun) Use 4-arg paradigm for some words in Lexicon 2020-04-29 19:15:59 +02:00
Inari Listenmaa
382279fb5b (Hun) Fixes in dMajom + pattern that recognises dMajom in smart paradigm 2020-04-29 19:15:12 +02:00
John J. Camilleri
219b3a2c01 (Cze) Remove calls to Predef.error and just do something stupid instead. 2020-04-29 15:05:24 +02:00
Aarne Ranta
715787894f some words in LexiconSlo, to be checked 2020-04-29 13:20:04 +02:00
aarneranta
c24bf30621 Slovak complete up to Czech, except content words, and needs checking 2020-04-29 12:16:41 +02:00
aarneranta
2304194b65 Slovak adj, det, numeral paradigms 2020-04-29 10:14:13 +02:00
aarneranta
600bc66c9f commented out contents of LexiconSlo 2020-04-28 17:51:13 +02:00
aarneranta
fc7d3b2218 fixed Slo noun declensions and smart paradigms ; LexiconSlo doesn't compile 2020-04-28 17:50:20 +02:00
Inari Listenmaa
5f03834b85 Merge pull request #319 from inariksit/fixes-tur-hun
(Hun) Add mkA paradigm for N -> A
2020-04-28 16:48:29 +02:00
Inari Listenmaa
6166b99237 (Hun) Add mkA paradigm for N -> A 2020-04-28 16:47:07 +02:00
Inari Listenmaa
e676561425 Merge pull request #318 from inariksit/fixes-tur-hun
Small fixes to Tur+Hun
2020-04-28 15:16:13 +02:00
Inari Listenmaa
8feabbfb41 Remove old unnecessary file 2020-04-28 15:10:52 +02:00
Inari Listenmaa
794d3ab4e0 Remove reference to ExtendTur which isn't present in the repo 2020-04-28 15:10:04 +02:00
Inari Listenmaa
c982219d16 Merge pull request #317 from inariksit/hungarian
Hungarian
2020-04-28 14:59:29 +02:00
Inari Listenmaa
0f19b70b86 (Hun) Remove PlAcc from stems, turns out it wasn't needed
According to https://www.researchgate.net/publication/268175865_Does_Hungarian_have_a_case_system p. 45, the allomorph for plural accusative is predictable.
2020-04-28 14:41:47 +02:00
John J. Camilleri
0d379dbf3a Update languages.csv to build Czech 2020-04-28 14:25:38 +02:00
Inari Listenmaa
84985b91c0 (Hun) Merge the param Number into NumType: NoNum {Sg|Pl} | IsNum 2020-04-28 12:57:24 +02:00
Inari Listenmaa
1d50cc8bca (Hun) Add special cases for derivative morphemes in regNoun (1-arg mkN) 2020-04-28 12:40:18 +02:00
Inari Listenmaa
4eb210da05 (Hun) Add 9-argument worst case noun constructor 2020-04-28 12:32:10 +02:00
Inari Listenmaa
851a0dedc8 (Hun) Add SgAll to the forms 2020-04-28 12:31:53 +02:00
Inari Listenmaa
0a31212a9e (Hun) Small tweaks and cleanup 2020-04-28 09:42:18 +02:00
Inari Listenmaa
1adffb2b9d (Hun) Tweak dHajó to work for words ending in i 2020-04-28 09:36:59 +02:00
Inari Listenmaa
f9e7b2ff5e (Hun) More words with 4-arg mkN 2020-04-28 09:24:48 +02:00
aarneranta
4d9f7e929d first version of Slovak noun paradigms 2020-04-28 08:46:42 +02:00
Inari Listenmaa
6cbcbd99fb (Hun) Add new paradigms and a 4-arg smart paradigm 2020-04-27 21:15:43 +02:00
Inari Listenmaa
95eb7104c8 (Hun) Better guesses for PossdSg_PossrP3 stem in dToll 2020-04-27 20:50:14 +02:00
Inari Listenmaa
b4fac5bd75 (Hun) Some fixes in lexicon 2020-04-27 20:48:26 +02:00
Inari Listenmaa
5f6db51183 (Hun) Rename some parameters + add show funs for param names 2020-04-27 17:19:18 +02:00
Inari Listenmaa
fd6541846f (Hun) Remove some stem changing paradigms from 1-argument regNoun 2020-04-27 17:18:48 +02:00
Inari Listenmaa
6f2cc8af96 (Hun) Small fixes in nMadár with possessive stems 2020-04-27 17:18:19 +02:00
aarneranta
8e0a3095c0 removed vocative case from Slovak 2020-04-27 14:19:07 +02:00
Inari Listenmaa
4c7b0cc8a3 Merge branch 'hungarian' of github.com:inariksit/gf-rgl into hungarian 2020-04-27 13:00:36 +02:00
Inari Listenmaa
9e57766263 (Hun) Use regNoun in mkAdj 2020-04-27 13:00:24 +02:00
Julia Jansson
c532ce21d5 Merge branch 'hungarian' of github.com:inariksit/gf-rgl into hungarian 2020-04-27 12:19:42 +02:00
Julia Jansson
52b99682e4 changed dToll paradigm to fit more possesive forms 2020-04-27 12:19:31 +02:00
krangelov
0f0bc4e346 PastPartAP/PastPartAgentAP must also include the n3 complement 2020-04-27 10:37:47 +02:00
krangelov
e4873bdcea fix paradigm 2020-04-26 23:33:22 +02:00
krangelov
ba896597db DetQuant should generate some instead of something/someone/somebody for plural. 2020-04-26 22:37:06 +02:00
krangelov
01ca4966dd fix: several rules were droping clitics 2020-04-26 22:36:29 +02:00
Inari Listenmaa
61a3fe78b4 (Hun) A2 can go before or after its complement 2020-04-26 21:17:14 +02:00
Inari Listenmaa
a9e02de33e (Hun) Make VP smaller by forcing object of have_V2 in s field.
Probably bad decision, makes word order fixed at VP already. But works for a particular application grammar.
2020-04-26 20:52:09 +02:00
Inari Listenmaa
c076409f6a (Hun) Fix some words 2020-04-26 20:32:01 +02:00
Inari Listenmaa
69c7396335 (Hun) Update unit tests to use stem-based morphology 2020-04-26 20:31:49 +02:00
krangelov
0afe1ba167 added import for ExtendTur 2020-04-26 20:29:32 +02:00
krangelov
474d40032d added imperfV2V 2020-04-26 20:29:00 +02:00
krangelov
8f12a9e68c in two paces latin 'a' was used instead of cyrillic 'a' 2020-04-26 20:28:22 +02:00
Inari Listenmaa
bbcde26d72 (Hun) Add 2-argument smart paradigm for A 2020-04-26 20:16:45 +02:00
krangelov
dd2a6ad0ca fix the linearization of prepositions in two places 2020-04-26 19:57:57 +02:00
krangelov
4aa647e306 Merge branch 'master' of https://github.com/GrammaticalFramework/gf-rgl 2020-04-26 17:49:50 +02:00
krangelov
df4bcd52b3 use SOFT_BIND before commas 2020-04-26 17:49:26 +02:00
Inari Listenmaa
22cadd2ac6 (Hun) Combine the parameters on definiteness and Quant/Det type 2020-04-26 15:51:34 +02:00
Inari Listenmaa
b6b462ca35 (Hun) Temporarily comment out cases+change order in funs that pat. match 2020-04-26 15:19:43 +02:00
Inari Listenmaa
797171fb31 (Hun) Remove unnecessary distinction between digits and numbers 2020-04-26 14:35:12 +02:00
Inari Listenmaa
ef3dc464cb (Hun) Update Symbol after changes in lincats 2020-04-26 14:15:53 +02:00
Inari Listenmaa
b723ae1a75 (Hun) Add number as a parameter to APs complement 2020-04-26 14:15:31 +02:00
Inari Listenmaa
d7e10e843b (Hun) Add case to A and AP 2020-04-26 13:30:00 +02:00
Julia Jansson
5b8e2eeb23 . 2020-04-25 16:03:06 +02:00
Inari Listenmaa
e2d79a72f6 (Hun) Remove unused parameters 2020-04-25 14:47:56 +02:00
Inari Listenmaa
44603f7db7 (Hun) Add proper inflection tables in NP, stems only up to CN 2020-04-25 14:03:10 +02:00
Inari Listenmaa
234f74b6b0 (Hun) Remove unused code 2020-04-25 14:02:35 +02:00
Inari Listenmaa
f24d9c2cad (Hun) Add possibility to prepose Advs 2020-04-24 17:00:44 +02:00
Inari Listenmaa
346360d54a (Hun) Pl nouns wit P3 Sg possessor: fix also in other cases than Nom 2020-04-24 16:51:27 +02:00
Julia Jansson
6ab883705b comment 2020-04-24 13:45:16 +02:00
Inari Listenmaa
8ea95d8624 (Hun) Fix bug in plural nouns possessed by P3 Sg possessor 2020-04-24 11:30:52 +02:00
Inari Listenmaa
14bed283f4 (Hun) WIP: have_V2 adds possessive suffixes to its object NP 2020-04-24 08:18:53 +02:00
Inari Listenmaa
efcfb3cefa (Hun) Use the separate pstems in caseFromPossStem 2020-04-24 07:39:21 +02:00
Inari Listenmaa
0442c0d7a7 (Hun) Add a separate table of possessive stems in CNs and NPs 2020-04-24 07:23:31 +02:00
Inari Listenmaa
b1e25c2167 (Hun) Fix allomorph of Pl P3 possessor with Pl noun 2020-04-24 07:02:23 +02:00
Inari Listenmaa
207787a76c (Hun) Fix case forms after P3 Sg possessive suffix 2020-04-24 06:48:28 +02:00
Inari Listenmaa
fc699d231f (Hun) Add possessive suffixes to nouns in DetCN 2020-04-23 21:12:37 +02:00
Inari Listenmaa
26253d5353 (Hun) Restructure caseFromStem and applyCase 2020-04-23 20:14:20 +02:00
Inari Listenmaa
4dc5b53c3c (Hun) Add new QuantType param to Quants 2020-04-23 19:56:10 +02:00
Inari Listenmaa
f3fd085318 (Hun) Add possessive suffixes to lincat of Pron 2020-04-23 19:34:26 +02:00
Inari Listenmaa
3b18fadfdf (Hun) Add possessive stems 2020-04-23 19:10:42 +02:00
Inari Listenmaa
bff100b75b (Hun) Replace SgAcc with SgAccStem; will be reused with poss. suffixes 2020-04-23 18:05:44 +02:00
Inari Listenmaa
a52300205d (Hun) Squeeze further down to 7 stems 2020-04-23 16:14:31 +02:00
Inari Listenmaa
3d25f3b48d (Hun) Fix bugs in Cons,ConjNP 2020-04-23 13:42:42 +02:00
Inari Listenmaa
d7d5f4aa59 (Hun) Stems in N+CN, full infl table in NP. 2020-04-23 13:36:57 +02:00
Inari Listenmaa
15040355e6 (Hun) WIP: first attempt at stem-based nominal morphology 2020-04-22 19:55:56 +02:00
Inari Listenmaa
3705c9229d (Hun) Restructure adpositions 2020-04-22 19:55:11 +02:00
Inari Listenmaa
e54fa4d4ad (Hun) Use different constructor for father,mother 2020-04-22 19:48:56 +02:00
Inari Listenmaa
04bdbfbcd6 (Hun) Add more paradigms for A 2020-04-22 19:48:30 +02:00
Aarne Ranta
7abd48ec90 Merge pull request #316 from michmech/master
some Czech APs are post-positioned
2020-04-22 08:59:31 +02:00
Michal Mechura
c1ba6d84c2 some Czech APs are post-positioned 2020-04-21 23:53:53 +02:00
Julia Jansson
3078661665 Added acc cases for nouns 2020-04-21 21:12:36 +02:00
Inari Listenmaa
40871688fb Merge branch 'hungarian' of github.com:inariksit/gf-rgl into hungarian 2020-04-21 20:52:16 +02:00
Inari Listenmaa
9c980f5fdf (Hun) Use 2-argument smart paradigm in LexiconHun 2020-04-21 20:51:48 +02:00
Julia Jansson
53516a689f dLó cases 2020-04-21 20:51:41 +02:00
Julia Jansson
2049d0379b test cases 2020-04-21 20:17:07 +02:00
Inari Listenmaa
9a47892835 (Hun) Clean up noun morphology 2020-04-21 14:45:18 +02:00
Inari Listenmaa
821b11b4e8 (Hun) Restructure inflectional tests, add more + script to generate 2020-04-21 14:44:34 +02:00
Inari Listenmaa
1dcb4720d1 (Hun) Add negation in verbs + change some parameter names 2020-04-21 10:44:32 +02:00
Inari Listenmaa
53bc773db6 (Hun) New prepositions 2020-04-21 10:21:23 +02:00
Inari Listenmaa
7b03a6dc3b (Hun) Add non-empty string to IndefArt.sp
Otherwise it's added to any possible tree, massive ambiguity problem.
2020-04-21 10:21:13 +02:00
Inari Listenmaa
a73f3b12d3 (Hun) New tests 2020-04-20 14:07:50 +02:00
Inari Listenmaa
5db5964e83 (Hun) A couple of new paradigms 2020-04-20 14:07:14 +02:00
Inari Listenmaa
23f09e5661 (Hun) New tests 2020-04-20 10:39:04 +02:00
Inari Listenmaa
5814f788bc (Hun) Add parameter in Det,Quant whether it agrees in case as attribute 2020-04-20 10:38:53 +02:00
Inari Listenmaa
252ecd0bb3 (Hun) Fix bug with indef. article and digits 2020-04-20 10:37:12 +02:00
Inari Listenmaa
572447a8b1 Merge pull request #315 from inariksit/hungarian
Hungarian
2020-04-19 21:35:21 +02:00
Inari Listenmaa
15a414707c (Hun) Fix an error in test file 2020-04-19 21:25:55 +02:00
Inari Listenmaa
80327bf42f (Hun) Add 2-argument smart paradigm for nouns 2020-04-19 21:18:30 +02:00
Julia Jansson
0fc75fee1a Merge branch 'hungarian' of github.com:inariksit/gf-rgl into hungarian 2020-04-19 18:54:55 +02:00
Julia Jansson
f8cbfcca96 Changes in regNoun 2020-04-19 18:52:25 +02:00
Inari Listenmaa
6d6cdbdf3a Merge branch 'hungarian' of github.com:inariksit/gf-rgl into hungarian 2020-04-19 18:27:27 +02:00
Inari Listenmaa
4d11e68e07 (Hun) Update word order in relative clauses in tests 2020-04-19 18:26:20 +02:00
Inari Listenmaa
6a77c4a5d4 (Hun) Fix some words 2020-04-19 18:26:06 +02:00
Inari Listenmaa
5c5a6d1f04 (Hun) Use Indef agreement in SlashVP 2020-04-19 18:24:13 +02:00
Inari Listenmaa
5661a7ba01 (Hun) Change word order in relVP 2020-04-19 18:23:54 +02:00
Inari Listenmaa
8ddc50897a (Hun) Fix number in ConjNP 2020-04-19 17:35:34 +02:00
Inari Listenmaa
0b133c7122 (Hun) Fix agreement in DetCN 2020-04-19 17:06:27 +02:00
Inari Listenmaa
73fb39164f (Hun) More constructors for mkA2 2020-04-19 17:06:09 +02:00
Inari Listenmaa
84ff6b4f46 (Hun) Generalise Postposition to Adposition, allow it to preposition 2020-04-19 17:05:51 +02:00
Julia Jansson
c47a6cd279 Progress on writing multi-argument paradigm 2020-04-19 17:01:57 +02:00
Julia Jansson
dfd370830f added special accusative case + lower stem plural allomorph 2020-04-19 15:00:42 +02:00
Inari Listenmaa
27d307c9db Merge branch 'hungarian' of github.com:inariksit/gf-rgl into hungarian 2020-04-19 14:02:43 +02:00
Inari Listenmaa
6b7ea90405 (Hun) Retain VPs subjectcase in relVP 2020-04-19 14:02:20 +02:00
Julia Jansson
296132e325 Fixed "rák" and "rét" cases 2020-04-19 11:40:47 +02:00
Julia Jansson
d3f4baa655 Added many more words to Lexicon 2020-04-18 21:59:52 +02:00
Julia Jansson
2cdc0830af Changed word order 2020-04-18 21:09:46 +02:00
Julia Jansson
cd5e8c4a48 Updated after possesive form and plural 2020-04-18 21:04:20 +02:00
Julia Jansson
ddd49c2f86 Corrected most test cases 2020-04-18 20:44:42 +02:00
Aarne Ranta
1eabf5c863 initialized Slovak (Slo) by cloning from Czech 2020-04-18 09:07:51 +02:00
Inari Listenmaa
f554187f77 (Hun) New tests 2020-04-18 08:59:12 +02:00
Inari Listenmaa
54a0863f48 Merge pull request #314 from inariksit/hungarian
Hungarian
2020-04-18 08:33:59 +02:00
Inari Listenmaa
18a763d764 (Hun) New paradigms for PN 2020-04-18 08:21:46 +02:00
Inari Listenmaa
f26b10a8b3 (Hun) Add UttIP 2020-04-18 08:15:20 +02:00
Inari Listenmaa
0a21ed5e5e (Hun) Change constructor of mkDet + new Dets 2020-04-18 08:15:10 +02:00
Inari Listenmaa
753c57296d (Hun) New lexicon 2020-04-18 08:14:44 +02:00
Inari Listenmaa
9680d0b151 (Hun) New unit tests 2020-04-17 19:36:18 +02:00
Inari Listenmaa
0fe259af38 (Hun) Add Hungarian to the API 2020-04-17 19:36:08 +02:00
Inari Listenmaa
70326b853a (Hun) Fix a few small bugs with discontinous APs 2020-04-17 19:35:06 +02:00
Inari Listenmaa
f3726e9c0e (Hun) Add various CN funs 2020-04-17 19:32:01 +02:00
Inari Listenmaa
de757a00e7 (Hun) Fixes in relatives 2020-04-17 18:58:11 +02:00
Inari Listenmaa
4bbb4d5808 (Hun) Add conjunction of RS 2020-04-17 18:34:28 +02:00
Inari Listenmaa
6de0fe95ec (Hun) Add relative clauses 2020-04-17 18:23:21 +02:00
Inari Listenmaa
8c9e8e35dd (Hun) Add some postpositions + comments 2020-04-17 15:30:52 +02:00
Inari Listenmaa
2cf99611bc (Hun) Update SymbOrd after changes in lincat of Ord 2020-04-17 15:30:09 +02:00
Inari Listenmaa
16caf7e041 (Hun) Add UttX : X -> Utt funs 2020-04-17 15:29:17 +02:00
Inari Listenmaa
469cdbf0d1 (Hun) New unit tests 2020-04-17 14:47:28 +02:00
Inari Listenmaa
7c0ea34127 (Hun) Add A2, ComplA2, CAdv 2020-04-17 14:47:10 +02:00
Inari Listenmaa
822cfc4bef (Hun) Change lincat of Ord + add OrdSuperl, DetQuantOrd 2020-04-17 14:46:44 +02:00
Inari Listenmaa
cc85e4aaeb (Hun) Make comparative discontinuous 2020-04-17 14:45:44 +02:00
Inari Listenmaa
738dd44ec8 (Hun) Add digits 2020-04-17 13:29:13 +02:00
Inari Listenmaa
5430d8b450 (Hun) Make numerals take singular noun 2020-04-17 13:28:58 +02:00
Inari Listenmaa
f5068a76de (Hun) Fix have_V2 2020-04-17 12:50:33 +02:00
Inari Listenmaa
ae2e3465fe Merge branch 'master' of https://github.com/GrammaticalFramework/gf-rgl into hungarian 2020-04-17 11:21:54 +02:00
Inari Listenmaa
a15e535042 Merge pull request #313 from michmech/master
improvements to czech, mostly morphological
2020-04-16 20:17:38 +02:00
Michal Mechura
d2ad4d6105 improvements to czech, mostly morphological 2020-04-16 20:01:38 +02:00
Julia Jansson
138b79fca3 Test 2020-04-16 11:25:46 +02:00
Julia Jansson
976098d673 Test 2020-04-16 11:22:42 +02:00
Inari Listenmaa
8f447a8bea Merge pull request #312 from inariksit/korean
Korean
2020-04-15 10:02:18 +02:00
Inari Listenmaa
1ffa53c3b2 (Kor) Add negative form in V where conjunction attaches 2020-04-14 20:58:17 +02:00
Inari Listenmaa
2c83fd8691 (Kor) Don't add 들 with numerals 2020-04-14 17:53:04 +02:00
aarneranta
1f030252a1 fixed genitive es/en in German adjectives and determiners 2020-04-14 16:32:17 +02:00
krangelov
08b6910eb8 Merge branch 'master' of https://github.com/GrammaticalFramework/gf-rgl 2020-04-14 11:10:03 +02:00
krangelov
b18723aa9b fix CompAP 2020-04-14 11:09:44 +02:00
krangelov
31a09ec2f3 Tentative version of ConjS 2020-04-14 11:08:40 +02:00
Inari Listenmaa
e71c959a09 (Hun) WIP: comparative and superlative forms 2020-04-13 20:57:56 +02:00
Inari Listenmaa
57ad749ecc (Hun) Add Conj{S,NP,AP} + some conjunctions 2020-04-13 19:58:26 +02:00
Inari Listenmaa
3c6f7a2267 (Hun) Add SymbolHun 2020-04-13 19:41:00 +02:00
Inari Listenmaa
abc3ce5939 (Hun) MassNP, PredetNP, DetNP 2020-04-13 19:40:25 +02:00
Inari Listenmaa
dc179f1e7c Merge branch 'hungarian' of github.com:inariksit/gf-rgl into hungarian 2020-04-13 17:54:26 +02:00
Inari Listenmaa
a7b2310734 (Hun) Add ObjDef into NP, Det and Quant 2020-04-13 17:54:06 +02:00
Inari Listenmaa
16c808c7b1 (Hun) Add a layer of inflection into V2,V3, VPSlash: is object definite? 2020-04-13 17:31:27 +02:00
Inari Listenmaa
9da533c809 (Hun) Add field for NPs whether it's definite 2020-04-13 17:30:07 +02:00
Inari Listenmaa
f6871ec3c6 (Kor) Cleanup in conjunctions 2020-04-12 22:07:53 +02:00
Julia Jansson
0f92204dfa Added dFarok + modified regNoun + comment on pluralAllomporph 2020-04-09 21:15:36 +02:00
Inari Listenmaa
8efb9d5621 (Hun) Add function to duplicate last sound 2020-04-09 20:15:53 +02:00
Inari Listenmaa
e8a8f4b0c6 (Hun) Put digraphs and trigraphs into a pattern, use them in dMajom 2020-04-09 20:15:02 +02:00
Inari Listenmaa
6d9fa59863 (Hun) Fix partially the case with takony in dMajom 2020-04-09 19:54:06 +02:00
Julia Jansson
4ed862617c Checked Sup case and started with sátor case 2020-04-09 19:31:07 +02:00
Julia Jansson
554945cc2e Some changes in accusative singular case and thoughts on superessive singular case 2020-04-09 15:37:40 +02:00
Julia Jansson
8ca515f2ce Merge conflict 2020-04-09 14:32:23 +02:00
Julia Jansson
6b0bd749c4 words 2020-04-09 14:29:58 +02:00
Inari Listenmaa
49ff81a3f4 (Hun) Updated paradigms 2020-04-09 14:26:45 +02:00
Inari Listenmaa
6fc9a68bda Merge pull request #311 from inariksit/korean
Korean
2020-04-09 12:35:30 +02:00
Inari Listenmaa
00c9782c9a (Kor) Add explicit plural for all nouns 2020-04-09 11:08:16 +02:00
Inari Listenmaa
3bda323675 (Kor) Add show function for param VForm (used in an application grammar) 2020-04-09 10:58:46 +02:00
Inari Listenmaa
ebbade4f0a (Kor) Add new constructor for N + new words 2020-04-08 21:04:57 +02:00
Inari Listenmaa
f39662af62 (Kor) Add a conjunction that repeats "고," after each word 2020-04-08 20:32:03 +02:00
aarneranta
0d6948f59b added more comments to Czech files 2020-04-08 11:07:12 +02:00
Inari Listenmaa
05be672d6a Merge pull request #310 from inariksit/korean
Korean
2020-04-07 21:42:23 +02:00
Inari Listenmaa
96a7f49132 Update languages.csv + MissingKor 2020-04-07 21:31:10 +02:00
Inari Listenmaa
addc3f74dd Merge branch 'korean' of github.com:inariksit/gf-rgl into korean 2020-04-07 21:30:46 +02:00
Inari Listenmaa
fc8987e557 (Kor) Small cleanup + new words 2020-04-07 21:30:43 +02:00
Inari Listenmaa
cc3a2646f8 (Kor) Small cleanup + new words 2020-04-07 21:09:19 +02:00
Inari Listenmaa
d9d2b907d1 (Kor) Small fixes in comma versions of Conj opers 2020-04-07 21:09:01 +02:00
Inari Listenmaa
291a3051ef (Kor) Add ApposNP in ExtendKor 2020-04-07 21:02:42 +02:00
Julia Jansson
0cba0fe07c Updated test file + lexicon words 2020-04-07 20:16:27 +02:00
Inari Listenmaa
80557e34b2 (Kor) Add NForm as a parameter to A2 2020-04-07 19:48:05 +02:00
Inari Listenmaa
dc948a1f9d (Kor) Fix Attr in do_V, add adjective variant for using in compound adjs 2020-04-07 19:17:55 +02:00
Inari Listenmaa
99de92594e (Kor) Add new constructor for making A out of Str+V 2020-04-07 19:13:28 +02:00
Inari Listenmaa
1928fcc1c3 (Kor) Add comma only as a conjunction. (Used in an application grammar) 2020-04-07 18:21:35 +02:00
Inari Listenmaa
e54743feaf (Kor) Remove neg form from A's and V's worst-case constructor 2020-04-07 16:54:11 +02:00
Inari Listenmaa
ef06c0d3c0 (Kor) Add worst case constructors for A and V 2020-04-07 13:50:48 +02:00
Inari Listenmaa
986592c3a2 Merge pull request #309 from inariksit/korean
Korean
2020-04-06 18:37:01 +02:00
Inari Listenmaa
3c50099303 (Kor) New + updated unit tests 2020-04-06 18:19:33 +02:00
Inari Listenmaa
ac1501c942 (Kor) Add inflection table to RCl and RS, change other funs accordingly 2020-04-06 18:19:20 +02:00
Inari Listenmaa
ee3adec428 (Kor) Small fixes + new words 2020-04-06 17:50:22 +02:00
Inari Listenmaa
8b6275af1c (Kor) Fixes in conjunctions for the verby cats (AP,S,RS) 2020-04-06 17:50:11 +02:00
Inari Listenmaa
aa3bc1d656 (Kor) New constructors for N and A2 2020-04-06 17:49:31 +02:00
Inari Listenmaa
cef3e428c2 (Kor) Make Prep's s field dependent on Phono parameter of NP 2020-04-06 17:41:48 +02:00
Inari Listenmaa
edc79e4717 (Kor) Add variants using commas instead of repeated conjunctions 2020-04-06 17:37:00 +02:00
Inari Listenmaa
0053d8223c (Kor) Bugfix in RelVP 2020-04-06 11:24:31 +02:00
Inari Listenmaa
5564ba42ee (Hun) New unit tests 2020-04-04 21:39:38 +02:00
Inari Listenmaa
a686746645 (Hun) More words 2020-04-04 21:37:29 +02:00
Inari Listenmaa
684cec4c34 (Hun) Add dLó to smart paradigm 2020-04-04 21:37:05 +02:00
Inari Listenmaa
1f9ac2c35d (Hun) Force -at for accusative if plural morpheme is -ak 2020-04-04 21:35:24 +02:00
Inari Listenmaa
c486fd8367 (Hun) in dLó: force E-harmony in plural, if stem has front vowels 2020-04-04 21:33:32 +02:00
Inari Listenmaa
2bb785a54f (Hun) Change word order to SVO 2020-04-04 21:19:23 +02:00
Julia Jansson
8648902d4e Majom case fixed with special case 2020-04-04 17:05:39 +02:00
Aarne Ranta
0da96d0fce more paradigms for Cze N and A 2020-04-04 12:56:49 +02:00
Aarne Ranta
e57e916349 added some words to StructuralCze, mostly very uncertain 2020-04-04 11:23:05 +02:00
Aarne Ranta
5f436574f9 more paradigms for Cze N and A 2020-04-04 10:29:57 +02:00
Aarne Ranta
f0685a3233 harmonized the lincats of Numeral and Det 2020-04-04 09:18:57 +02:00
Inari Listenmaa
870f181efb Merge pull request #308 from inariksit/korean
Korean
2020-04-03 20:16:18 +02:00
Inari Listenmaa
5a3a5597a8 (Kor) Update MissingKor 2020-04-03 20:03:35 +02:00
Inari Listenmaa
1c7bad313c (Kor) Misc. small additions 2020-04-03 20:03:23 +02:00
Inari Listenmaa
642b4b9f6b (Kor) Add {Appos,Rel,Adv,Sent}CN 2020-04-03 19:41:10 +02:00
Inari Listenmaa
90af822547 (Kor) Add Digits 2020-04-03 19:36:22 +02:00
Inari Listenmaa
844e606429 (Kor) Add A2, ComplA2, mkA2 2020-04-03 19:35:59 +02:00
Inari Listenmaa
44abd1a8da (Kor) Add Utt* linearisations 2020-04-03 19:35:32 +02:00
Inari Listenmaa
e586c478a3 (Kor) New words + new tests 2020-04-03 18:04:54 +02:00
Inari Listenmaa
8b62ad1fa7 (Kor) Add comparatives and superlatives 2020-04-03 18:04:34 +02:00
Inari Listenmaa
a4ad8964bc Add paths 2020-04-03 18:02:38 +02:00
Inari Listenmaa
85b905f0e0 (Kor) Add SymbolKor functions and MassNP 2020-04-03 16:04:52 +02:00
Inari Listenmaa
a9ec29a1e6 (Kor) Add some Dets 2020-04-03 15:43:16 +02:00
Inari Listenmaa
477a214cc0 (Kor) Add PNs 2020-04-03 15:42:23 +02:00
Inari Listenmaa
9bdf4eedf4 (Kor) Updates in tests 2020-04-03 11:57:57 +02:00
Inari Listenmaa
e689b1cc5a (Kor) Add new constructor for V2, export CaseParticle in Paradigms 2020-04-03 11:57:47 +02:00
Inari Listenmaa
a18ffbe232 (Kor) Add UsePron and PossPron, minor fix in i_Pron 2020-04-03 11:55:32 +02:00
Inari Listenmaa
4e701884db (Kor) Add pronouns 2020-04-03 11:13:26 +02:00
Inari Listenmaa
f75b9b1c31 (Kor) Add more conjunctions 2020-04-01 19:53:02 +02:00
Inari Listenmaa
cd9dd6bdc7 (Kor) SC, PredSCVP 2020-04-01 18:44:52 +02:00
Inari Listenmaa
c23016aaad (Kor) Relative clauses 2020-04-01 18:44:11 +02:00
Inari Listenmaa
7b09a6cf8b (Kor) Add new VForms, replace AForm with VForm (now identical) 2020-04-01 17:31:15 +02:00
Aarne Ranta
29a10589ae added Czech to languages.csv 2020-04-01 11:56:01 +02:00
Aarne Ranta
0f763b7960 api for Czech with backup for missing 2020-04-01 11:42:42 +02:00
Aarne Ranta
7c275c1c28 started Czech with a mini-like coverage 2020-04-01 11:07:09 +02:00
Julia Jansson
5255a773f0 Added majom (gyomor case, but realised problems in the <Pl,Acc> case 2020-03-31 21:14:50 +02:00
Julia Jansson
29e46f29cf Improvements in ló case, still problematic for kő though 2020-03-31 20:07:56 +02:00
Inari Listenmaa
8f46b09647 Merge pull request #307 from inariksit/japanese
Japanese
2020-03-31 15:24:57 +02:00
Inari Listenmaa
b215395044 (Jpn) Remove space between te-form and iru in verbal adj 2020-03-31 15:23:23 +02:00
Inari Listenmaa
79262fb73f (Jpn) Automatic whitespace adjustment 2020-03-31 15:22:19 +02:00
Julia Jansson
91f7e2e0e8 Added ló and kő cases (lovak, kövek) but not done yet 2020-03-31 12:26:33 +02:00
Inari Listenmaa
cdb7655741 small typofix 2020-03-30 21:55:45 +02:00
Inari Listenmaa
8377dfc212 (Hun) Move all noun morphology related opers and types to NounMorphoHun 2020-03-30 21:55:06 +02:00
Inari Listenmaa
d5127e735f Comment out posses_Prep from tests 2020-03-30 21:54:21 +02:00
Inari Listenmaa
60500231d8 (Hun) Adjust types for numerals 2020-03-30 21:51:42 +02:00
Inari Listenmaa
4a8668fce9 (Hun) Prevent redundant use of IndefArt in DetQuant with a Numeral 2020-03-30 16:01:12 +02:00
Inari Listenmaa
350960da1c (Hun) Add transitive verbs 2020-03-30 15:26:04 +02:00
Inari Listenmaa
fcd8732d9b (Hun) New words, small fixes 2020-03-30 15:19:37 +02:00
Inari Listenmaa
cd73fe958e (Hun) Add pronouns 2020-03-30 15:18:58 +02:00
Inari Listenmaa
ef0cca5463 (Hun) Restrict subject case to only Nom and Dat 2020-03-30 15:03:37 +02:00
Inari Listenmaa
268af14dd3 (Hun) Remove a few noun cases 2020-03-30 14:59:22 +02:00
krangelov
4a50152e17 drop the copular sufix for P3 Pl 2020-03-30 12:34:44 +02:00
krangelov
e685d5038e future copula 2020-03-29 23:01:28 +02:00
krangelov
a79cb0b655 a draft for Copula verbs 2020-03-29 21:39:17 +02:00
Julia Jansson
0e0ac8474b Update inflection.gftest
Corrected név
2020-03-29 15:48:36 +02:00
Julia Jansson
41824520b8 Corrected férfi 2020-03-29 15:43:50 +02:00
Julia Jansson
8d2657fd10 Corrected irregular madár noun 2020-03-29 14:57:22 +02:00
krangelov
1f316bf5c3 fix linearization of with_Prep in the BG documentation 2020-03-29 11:12:12 +02:00
Julia Jansson
30ef8b8255 Update README.md 2020-03-28 19:08:04 +01:00
Julia Jansson
5907b0ead7 Update inflection.gftest 2020-03-28 19:04:15 +01:00
Julia Jansson
ef37b87701 Update inflection.gftest
Fixed errors
2020-03-28 18:59:48 +01:00
Inari Listenmaa
f7c58d700e (Hun) Add plurals to unit tests 2020-03-28 16:54:14 +01:00
Inari Listenmaa
59e1a397a9 (Hun) Fix error in unit tests 2020-03-28 16:47:14 +01:00
Inari Listenmaa
8b35ea2762 (Hun) Add some tests for noun inflection + new words for them 2020-03-28 16:35:02 +01:00
Inari Listenmaa
e1a94a0741 (Hun) Fresh copypaste from generic dummy template. Compiles, isn't good. 2020-03-28 15:43:58 +01:00
krangelov
c36725aea7 first draft of coordination in Turkish 2020-03-28 11:14:15 +01:00
krangelov
98b7599c7b Merge branch 'master' of https://github.com/GrammaticalFramework/gf-rgl 2020-03-28 08:59:43 +01:00
krangelov
582730c498 Complete documentation for Turkish 2020-03-28 08:59:11 +01:00
Inari Listenmaa
7fee10e1e0 (Hun) Remove unnecessary files and code from copying English 2020-03-27 15:50:19 +01: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
Inari Listenmaa
8a151c684a (Kor) Add ConjS + new form in S and Cl inflection table 2020-03-27 11:42:05 +01:00
Inari Listenmaa
ec0173c587 (Kor) Add conjunctions for AP and CN 2020-03-27 11:25:48 +01:00
Inari Listenmaa
dbaa52be08 (Kor) Fixes in adverbs + related unit tests 2020-03-26 20:43:52 +01:00
Inari Listenmaa
1acaa57c49 (Kor) New verb forms 2020-03-26 17:16:41 +01:00
Inari Listenmaa
afdff2e374 (Kor) Remove unused VerbType parameter 2020-03-26 17:03:52 +01:00
Inari Listenmaa
85babd3730 (Kor) Minor fixes and cleanup 2020-03-26 16:06:03 +01:00
Inari Listenmaa
602da07d3d (Kor) Add numerals -- so far only up to 100 2020-03-26 12:40:29 +01:00
krangelov
3e51b78cb5 better compounding in Bulgarian 2020-03-26 11:58:51 +01:00
krangelov
8d5e8ce503 have_V2 in StructuralTur 2020-03-25 16:36:03 +01:00
krangelov
2c3b319d4a SymbPN in Turkish. Just a placeholder for now 2020-03-25 16:32:42 +01:00
Inari Listenmaa
115e2f1ffa (Kor) Add counters to N* + preliminary support for numerals 2020-03-25 16:00:48 +01:00
krangelov
01455977d2 Merge branch 'master' of https://github.com/GrammaticalFramework/gf-rgl 2020-03-25 15:51:42 +01:00
krangelov
da377fa4e7 added an API for Turkish 2020-03-25 15:51:05 +01:00
Inari Listenmaa
d83ded2624 (Kor) Det, Quant 2020-03-25 14:03:38 +01:00
Inari Listenmaa
cfdc4d9955 (Kor) Adv, AdA and AP related functions 2020-03-25 13:42:22 +01:00
Inari Listenmaa
c49bcb2f69 (Kor) Add SlashV2a and ComplSlash 2020-03-25 12:52:39 +01:00
Inari Listenmaa
64a66166eb (Kor) Add compound adjectives 2020-03-25 12:52:18 +01:00
Inari Listenmaa
f9d23d52ee (Kor) Add more documentation 2020-03-25 12:51:51 +01:00
Inari Listenmaa
adfa5ce4fd (Kor) Add space before negation in CompN* + fix copula forms after vowel 2020-03-25 11:41:57 +01:00
Inari Listenmaa
b95ed78982 (Kor) Small cleanup and new words 2020-03-25 11:40:46 +01:00
Inari Listenmaa
e93b9c6743 (Kor) Add negation with ~지 않다 2020-03-25 11:40:07 +01:00
Inari Listenmaa
3f8ccb559a (Kor) Add compound verbs 2020-03-25 11:37:35 +01:00
Inari Listenmaa
022afabf50 (Kor) Add functions for V -> V2 2020-03-25 10:30:49 +01:00
Inari Listenmaa
4730cae42b (Kor) Add unit tests about verb inflection 2020-03-24 20:51:30 +01:00
Inari Listenmaa
5344ca7cce (Kor) Add linrefs to V* cats 2020-03-24 20:50:54 +01:00
Inari Listenmaa
48fd16d5da (Kor) More transformations on hanguls 2020-03-24 19:42:06 +01:00
Inari Listenmaa
c6aea7d257 (Kor) WIP constructing verb inflection tables 2020-03-24 17:00:50 +01:00
Inari Listenmaa
50eeb8757b (Kor) WIP Transformation functions for polite verb forms 2020-03-24 17:00:08 +01:00
Inari Listenmaa
cad155b0bb (Kor) Small cleanup 2020-03-24 14:36:30 +01:00
Inari Listenmaa
5f04085084 (Kor) Add have_V2 2020-03-24 14:35:20 +01:00
Inari Listenmaa
0351d77357 (Kor) Update add_X functions to work for strings of any length 2020-03-24 14:24:14 +01:00
Inari Listenmaa
ebd250e063 (Kor) Add present tense in 3 politeness forms, subj+obj cases in V* 2020-03-24 13:40:21 +01:00
Inari Listenmaa
779c8d7609 (Kor) Add Predets and PredetNP 2020-03-23 14:24:09 +01:00
Inari Listenmaa
703695b2cb (Kor) Add param Phono for combining particles with nouns 2020-03-23 14:23:54 +01:00
Inari Listenmaa
5322b9d90a (Kor) Add a separate module for handling Hangul trarnsformations 2020-03-22 08:06:39 +01:00
Inari Listenmaa
c31c00dd83 (Kor) Add AForm, change VP and Comp. 2020-03-11 16:54:02 +01:00
Inari Listenmaa
30ce18e124 (Kor) Add NForm and some Preps. 2020-03-11 15:28:27 +01:00
Inari Listenmaa
1e1369c523 Merge branch 'master' of https://github.com/GrammaticalFramework/gf-rgl into korean 2020-03-11 14:47:24 +01:00
Inari Listenmaa
7528e87dcd (Pol) Add 1-argument smart paradigm for ambiguous cases 2020-03-06 17:32:44 +01:00
Inari Listenmaa
334038fee2 Merge branch 'master' of https://github.com/GrammaticalFramework/gf-rgl into polish 2020-03-06 17:14:54 +01:00
John J. Camilleri
2911abd137 Add README for Swedish with basic info about dictionaries 2020-03-04 13:46:06 +01:00
John J. Camilleri
3bd8923f3a Bump GHC version to 8.6 in Travis build for MacOS
GHC 8.2 has been removed from Homebrew, see:
https://github.com/Homebrew/homebrew-core/pull/50585
2020-03-04 13:28:13 +01:00
John J. Camilleri
94d9c77947 Update link to synopsis page 2020-03-04 13:17:23 +01:00
aarneranta
9b01ed63e0 some more explanations in morphodict README 2020-03-03 18:53:45 +01:00
aarneranta
7cce2892a2 morphodict instructions in README 2020-03-03 18:50:50 +01:00
aarneranta
9790e07f6e generating MorphoDict Swe from SALDO sources 2020-03-03 18:10:02 +01:00
aarneranta
69f2ae9794 another sorting gives better recall in compound analysis in morphodict 2020-03-03 12:04:27 +01:00
aarneranta
58ebc9234a grouping and marking possible compounds with a heuristic algorithm 2020-03-03 11:04:53 +01:00
aarneranta
8cd5450e21 started trying to identify compounds in morphodict - to be completed 2020-03-02 16:58:27 +01:00
aarneranta
bcb811cfcb configurations for MorphoDictSwe ; more things to do e.g. with compounds 2020-03-02 11:18:18 +01:00
aarneranta
b12eb72744 a script for making pure morphological lemgram dictionaries 2020-02-28 18:16:14 +01:00
Inari Listenmaa
962a94cb24 (Pol) Start implementing smart paradigms for nouns 2020-02-24 17:23:46 +01:00
Inari Listenmaa
e293f4894e Merge pull request #304 from inariksit/japanese
(Jpn) Add more examples to mkN documentation
2020-02-17 16:59:32 +01:00
Inari Listenmaa
c9d6c03831 (Jpn) Add more examples to mkN documentation 2020-02-17 16:54:39 +01:00
Inari Listenmaa
79c647cffa Merge pull request #303 from lizazim/master
Jpn: corrections of mkN paradigm, lexicon and AP conjunction
2020-02-17 16:42:03 +01:00
lizazim
7b1587a735 corrected conjunction of APs 2020-02-17 17:24:59 +02:00
lizazim
5353b8082b added 2 functions to mkN 2020-02-17 17:23:25 +02:00
lizazim
da6836f53c changed some counters 2020-02-17 17:20:43 +02:00
Inari Listenmaa
b3c5d9b193 Merge pull request #302 from inariksit/japanese
(Jpn) Revert misunderstood fix about replaceCounter + update docs
2020-02-11 17:02:40 +01:00
Inari Listenmaa
92fdf5b799 (Jpn) Revert misunderstood fix about replaceCounter + update docs 2020-02-11 16:17:32 +01:00
Inari Listenmaa
5f7f23ddd1 Merge pull request #301 from inariksit/japanese
Japanese
2020-02-11 15:33:28 +01:00
Inari Listenmaa
cefb149530 (Jpn) Fix bug in DetCN: missing cn.s when counterReplace=True 2020-02-11 15:28:19 +01:00
Inari Listenmaa
75a5ea0cf1 (Jpn) Fix formatting issues in ParadigmsJpn, for producing API docs. 2020-02-11 13:41:55 +01:00
Inari Listenmaa
02f8015213 (Jpn) Export Animacy from ResJpn 2020-02-11 13:30:38 +01:00
Inari Listenmaa
f1fc061750 Merge pull request #300 from inariksit/japanese
Document Japanese paradigms better.
2020-02-11 13:23:10 +01:00
Inari Listenmaa
8f039dfc1e Document Japanese paradigms better. 2020-02-11 13:16:15 +01:00
Inari Listenmaa
61fda2f532 Add comments about orthography 2020-02-11 12:57:11 +01:00
Inari Listenmaa
7d9133cc05 Merge branch 'master' of https://github.com/GrammaticalFramework/gf-rgl into korean 2020-02-07 11:01:36 +01:00
Inari Listenmaa
495c9b7e52 (Kor) WIP: First draft of Korean RG.
Not at all correct, just a minimal implementation that compiles.
2020-02-07 11:00:37 +01:00
aarneranta
4aecdeb0ff new link to LiLT paper on RGL 2020-01-30 10:56:56 +01:00
krangelov
fcae1c65f1 fix vocative in paradigm mkN019a 2020-01-29 09:12:28 +01:00
krangelov
474f90819d Merge branch 'master' of https://github.com/GrammaticalFramework/gf-rgl 2020-01-28 16:32:36 +01:00
krangelov
7173fe5d59 open Kotus.gf from ParadigmsFin to ensure that the module is compiled and installed 2020-01-28 16:31:57 +01:00
Aarne Ranta
0e2fdd3a73 added a missing case to mkQCl in the API 2020-01-16 17:39:45 +01:00
aarneranta
00d5bb85d1 added VPS variants of existentials in Extend; made this also for questions, but concrete syntax is not yet there 2020-01-03 09:57:50 +01:00
Inari Listenmaa
3bd4e0a096 Merge pull request #299 from bamutra/master
redesigned the Verb, VerbPhrase, Cl and RCL so as to check for empty …
2019-12-03 19:49:38 +01:00
Inari Listenmaa
df306d26a4 Merge pull request #297 from daherb/master
Updated Latin RG
2019-12-03 19:48:42 +01:00
David Bamutura
a21df23da5 redesigned the Verb, VerbPhrase, Cl and RCL so as to check for empty tense Markers and hence correct errors with Copulative statements. The Problem with Numeral still remains 2019-11-28 07:12:57 +03:00
Herbert Lange
fefa2f03ff Merge branch 'latin' 2019-11-22 12:03:47 +01:00
Herbert Lange
cc379d7518 Merge remote-tracking branch 'upstream/master' 2019-11-22 12:02:40 +01:00
Herbert Lange
0197002b85 change in handling determiners in clauses 2019-11-22 12:01:36 +01:00
Herbert Lange
6f35b9f67f fix mkmissing and update missinglat 2019-11-12 16:03:55 +01:00
Herbert Lange
f2eebc3a64 fix symbollat 2019-11-12 16:03:04 +01:00
Herbert Lange
4438ef45c0 move include of relativelat to correct file 2019-11-12 16:02:52 +01:00
Herbert Lange
b3584b8bda fix problem with rcl 2019-11-12 15:27:53 +01:00
Herbert Lange
e46f120de3 various additions to extralat 2019-11-12 14:54:51 +01:00
Herbert Lange
ed4ff97b7b varios function is extend 2019-11-12 14:54:33 +01:00
Herbert Lange
d60ddb1c4a fix relnp and posspron 2019-11-12 14:54:19 +01:00
Herbert Lange
67b107ea7e remove unnecessary parameter 2019-11-12 14:54:02 +01:00
Herbert Lange
15c6e9c323 fix conjunction for np and s 2019-11-12 14:53:31 +01:00
Herbert Lange
5b04dbffa0 change determiners in np and fix emptynp 2019-11-12 14:53:10 +01:00
Herbert Lange
b49cd9afc3 add passive to vp and add emptyvp 2019-11-12 14:51:43 +01:00
Herbert Lange
f60a4a2052 fix clauses 2019-11-12 14:50:08 +01:00
Herbert Lange
6864f61e92 updated createSentence/add defaultSentence 2019-11-12 14:49:35 +01:00
Herbert Lange
f46cbfe51e work on relative clauses 2019-11-12 14:47:21 +01:00
Herbert Lange
2d5a111893 update combinenounphrase 2019-11-12 14:45:47 +01:00
Herbert Lange
57ba9c240a remove no longer missing numeral function 2019-11-10 20:40:57 +01:00
Herbert Lange
48d9b3909e start reworking grammar to split verb and verb complement 2019-11-10 20:40:32 +01:00
Herbert Lange
523b4841fc fixing issues with extend and add new rule for different word order 2019-11-10 20:39:42 +01:00
aarneranta
6a24554928 fixed (hopefully) the rest confusions in French mkA argument order 2019-11-06 17:08:47 +01:00
Aarne Ranta
6a6062039e some more concrete configs in LangEng 2019-11-06 17:05:04 +01:00
Herbert Lange
11a4d6ed12 some fixes and extensions 2019-10-31 13:15:29 +01:00
Herbert Lange
d960d0d361 tried to implement CountNP 2019-10-29 14:46:40 +01:00
Herbert Lange
4e8ecea403 updated the large-scale dictionary 2019-10-29 14:46:00 +01:00
Herbert Lange
d900d16dd9 new version of extend 2019-10-29 14:42:14 +01:00
Herbert Lange
56c484edf2 Merge branch 'master' of https://github.com/GrammaticalFramework/gf-rgl 2019-10-13 17:39:00 +02:00
Herbert Lange
a178f700f6 work on ordinal numbers 2019-10-13 17:30:28 +02:00
Inari Listenmaa
a92be72247 Merge pull request #296 from inariksit/somali
Somali
2019-10-04 16:26:33 +02:00
Inari Listenmaa
0ef64ed77a (Som) Remove implemented funs from MissingSom 2019-10-03 18:01:43 +02:00
Inari Listenmaa
6a1ebffcee (Som) Implement remaining funs needed for ExtendSom + use ExtendFunctor 2019-10-03 18:01:26 +02:00
Inari Listenmaa
c2e0c709a7 (Som) Update FocusObj and UseSlash to new type of SSlash 2019-10-03 17:59:00 +02:00
Inari Listenmaa
5871f9c165 (Som) Implement GenModNP + restructure ComplN2 to better reuse code 2019-10-03 17:56:44 +02:00
Inari Listenmaa
80ac06e4ae Merge pull request #295 from inariksit/somali
Somali
2019-10-01 19:57:07 +02:00
Inari Listenmaa
ba308dcf95 (Som) More phonological assimilation rules 2019-09-30 15:40:09 +02:00
Inari Listenmaa
0e4cedd144 (Som) Add V2S 2019-09-30 15:39:53 +02:00
Inari Listenmaa
4dba178d33 (Som) Add VPSlashPrep + fix bug in insertAdv 2019-09-30 10:50:26 +02:00
Inari Listenmaa
22503e0a7a Merge pull request #294 from inariksit/somali
Somali
2019-09-27 17:55:21 +02:00
Inari Listenmaa
b8b43689bc (Som) Small bugfixes in RelCN and PartNP 2019-09-27 17:53:57 +02:00
Inari Listenmaa
096115c35f (Som) More fine-grained parameter for modifiers in NPs (AP vs. Other) 2019-09-27 16:44:21 +02:00
Inari Listenmaa
3f30e0946e (Som) WIP better handling of multiple modifiers and numerals 2019-09-27 15:22:43 +02:00
Inari Listenmaa
62641093dd (Som) Rename obj2,secObj-> obj,obj2. Remove commented out code+old TODOs 2019-09-27 11:39:19 +02:00
Inari Listenmaa
8e929ea4fb (Som) minor cleanup/whitespace removal 2019-09-27 11:14:50 +02:00
Inari Listenmaa
a520c9659f (Som) Add superlatives 2019-09-27 11:14:23 +02:00
Inari Listenmaa
9b9d6ebdd2 (Som) Add comparatives 2019-09-27 10:32:45 +02:00
Inari Listenmaa
6d7f7ab736 Merge pull request #293 from inariksit/somali
Somali
2019-09-26 18:12:55 +02:00
Inari Listenmaa
a399abed83 (Som) Minor cleanup: renaming + moving things around 2019-09-26 15:21:14 +02:00
Inari Listenmaa
819bdacc65 (Som) Better handling of AP and NP complements, remove redundant fields 2019-09-26 15:11:20 +02:00
Inari Listenmaa
e63eae8519 (Som) Add npcomp field to VP for more fine-grained control of word order 2019-09-26 11:39:36 +02:00
Inari Listenmaa
4eed81d729 Merge pull request #292 from inariksit/somali
Somali
2019-09-25 18:45:45 +02:00
Inari Listenmaa
b188908969 (Som) Updates to some unit tests 2019-09-25 16:50:33 +02:00
Inari Listenmaa
51c4f1bce7 (Som) Split polar questions and wh-questions to separate types 2019-09-25 16:50:20 +02:00
Inari Listenmaa
0a5e9f4266 (Som) Some notes about conjunctions 2019-09-25 12:21:09 +02:00
Inari Listenmaa
36997f0dd4 (Som) Add unit tests for all TAM inflections of a single verb 2019-09-25 12:06:05 +02:00
Inari Listenmaa
1f62af0e2c (Som) Add ImpVP and UttImp{Sg,Pl,Pol} 2019-09-25 11:53:27 +02:00
Inari Listenmaa
9973349270 (Som) Minor cleanup 2019-09-25 10:47:21 +02:00
Inari Listenmaa
4dd9b92354 (Som) more on negative questions 2019-09-24 17:28:48 +02:00
Inari Listenmaa
727648c536 Merge branch 'master' of https://github.com/GrammaticalFramework/gf-rgl into somali 2019-09-24 09:33:03 +02:00
Inari Listenmaa
4ee46171a9 (Som) WIP negative questions 2019-09-23 22:04:23 +02:00
Aarne Ranta
11a4e5ed1b Merge pull request #291 from hleiss/infinitives
Ger: improved infinitives (and passives); tests with more verbs in te…
2019-09-21 18:57:13 +02:00
Aarne Ranta
55dac61fe5 fixed the order of Fre.mkA. It should always be: SgMasc,(SgMascVoc,)SgFem,PlMasc,PlFem,Adv 2019-09-19 10:33:01 +02:00
Peter Ljunglöf
04d022c7f0 Merge pull request #259 from GrammaticalFramework/unittest-python-script
Unit testing for RGL languages, written in Python 2+3
2019-09-19 08:38:15 +02:00
Hans Leiss
8fb8ddd808 Ger: improved infinitives (and passives); tests with more verbs in testing/german
- NP: added field isLight in order to push negation behind light nps;
  this had been done in gf-3.9 using field isPron, but isPron is now
  used to put accusative pronoun before dative pronoun. Removed field
  adv: adverbial extensions cannot be extracted (todo: also for CN).
  Reduced isLight*isPron to w:Weight with 3 values: WPron, WLight, WHeavy.

- added param Control and field ctrl:Control to classify V2V-verbs into
  subject- and object-contol verbs, use ctrl to make reflexives agree
  with subject resp. object in VPSlash, and refine ComplSlash.

- Verb: new versions of ComplVV, SlashV2V and SlashVV to give better
  (nested) infinitives (extracting infzu and correcting object order).
  a) nested SlashVV doesn't work properly;
  b) SlashV2VNP may have to be commented out to prevent a stack overflow
     when compiling.
  Intended change of SlashV2VNP in tests/german/TestLangGer could not
  be tested due to size problems with the compiler.

- VP: changed field a1 : Polarity => Str to a1:Str to collect the adverbs
  coming before negation, using (negation : Polarity => Str) in mkClause.
  Use objCtrl:Bool instead of missingAdv to let reflexives agree with object.

- ResGer: insertObjNP reorganized, infzuVP added

- DictVerbsGer: some corrections (helft -> hilft, *sprecht -> *spricht)

- Some potential passive rules in tests/german/TestLangGer|Eng

- ExtraGer needs to be cleaned up with repect to the modified mkClause.
2019-09-18 15:16:42 +02:00
Inari Listenmaa
ef0549053e Merge pull request #289 from inariksit/somali
Somali
2019-09-14 09:02:23 +02:00
Inari Listenmaa
a23881f2dc (Som) Minor cleanup + better comments 2019-09-13 19:13:20 +02:00
Inari Listenmaa
d061595a2a (Som) Add IComp + related functions 2019-09-13 15:12:50 +02:00
Inari Listenmaa
319f097ac0 (Som) Move qcl-tests into new file 2019-09-13 15:12:13 +02:00
Inari Listenmaa
0ed0c1f194 (Som) Add TODO about negative questions 2019-09-13 14:28:33 +02:00
Inari Listenmaa
d52f1633b7 (Som) Fix bug in QuestSlash, new unit tests + comments. 2019-09-13 14:04:28 +02:00
Inari Listenmaa
52aa4c35e0 (Som) Fixes in question clauses 2019-09-12 16:56:50 +02:00
Inari Listenmaa
7c03949472 (Som) New unit tests about questions 2019-09-11 17:18:12 +02:00
Aarne Ranta
953771ccf6 added PassVPSlash to ExtendFin 2019-09-11 10:41:21 +02:00
Aarne Ranta
516270148f restored contructor CommonRomance.AF as oper since it is used in various applications 2019-09-11 09:14:53 +02:00
Inari Listenmaa
0986fb2968 Merge pull request #288 from inariksit/somali-questions
Somali: questions
2019-09-10 17:14:46 +02:00
Inari Listenmaa
67ac5ae5e3 (Som) Add QuestSlash + make it possible for IPs to contract with stm 2019-09-10 17:06:56 +02:00
Inari Listenmaa
4f9927d12b (Som) minor cleanup/renaming 2019-09-10 17:06:31 +02:00
Inari Listenmaa
1ceb12d8b8 (Som) Change word order in VP complements, update test accordingly 2019-09-10 17:05:04 +02:00
Inari Listenmaa
d01aec2d64 (Som) bugfix in QuestIAdv: add subject also when STM is negative 2019-09-10 17:04:39 +02:00
Inari Listenmaa
1c367530f0 (Som) Lincats for V2* + SlashV2A + new unittest for V2A and QuestIAdv 2019-09-10 17:04:09 +02:00
Inari Listenmaa
0bbc4c551b (Som) IAdv + related functions 2019-09-10 17:03:31 +02:00
Inari Listenmaa
58ca56eb2d Merge pull request #287 from inariksit/somali
(Som) Cleanup and renaming functions
2019-09-06 16:42:14 +02:00
Inari Listenmaa
df11d86ffb (Som) Cleanup and renaming functions 2019-09-06 15:32:48 +02:00
Inari Listenmaa
f6e24a5063 Merge pull request #286 from inariksit/finnish
(Fin) Add SOFT_BIND before commas
2019-09-06 09:37:52 +02:00
Inari Listenmaa
ea1d7c4601 (Fin) quality SOFT_BIND with Prelude 2019-09-05 16:15:36 +02:00
Inari Listenmaa
49fdc61eab (Fin) Add SOFT_BIND before commas 2019-09-05 16:14:36 +02:00
Inari Listenmaa
8b86702491 Merge pull request #285 from inariksit/finnish
(Fin) Cover inflection type hapan/sydän in nForms3
2019-09-04 16:31:13 +02:00
Inari Listenmaa
92d70c16d1 (Fin) Cover inflection type hapan/sydän in nForms3 2019-09-04 16:11:45 +02:00
krangelov
47ce3787b9 partial documentation module for Turkish 2019-09-03 22:57:43 +02:00
krangelov
b53ac90c3c added simple tenses 2019-09-03 21:37:14 +02:00
krangelov
026ecba0e7 Merge branch 'master' of https://github.com/GrammaticalFramework/gf-rgl 2019-09-03 20:54:25 +02:00
krangelov
55ce676bc6 using simple SC in Bulgarian too 2019-09-03 20:53:44 +02:00
krangelov
8e70523718 revert to using simple strings in SC 2019-09-03 20:52:34 +02:00
krangelov
b73c9ede2a linrefs for V,V2 in Turkish 2019-09-03 20:51:22 +02:00
Inari Listenmaa
0fd0444fbf Merge pull request #284 from inariksit/somali
Somali
2019-09-03 16:57:45 +02:00
Inari Listenmaa
8ac75e8550 (Som) Restructure relatives and questions 2019-09-03 16:40:12 +02:00
Inari Listenmaa
c42d3e33e9 (Som) Fix word order in QuestVP 2019-09-03 11:25:32 +02:00
Inari Listenmaa
19ae07b9a7 (Som) Fix sp forms in defIQuant 2019-09-03 11:24:56 +02:00
Inari Listenmaa
53415243a4 Merge pull request #283 from inariksit/somali
(Som) WIP: wh-questions
2019-09-02 17:27:15 +02:00
Inari Listenmaa
dc33b2869a (Som) WIP: wh-questions 2019-09-02 17:14:25 +02:00
Inari Listenmaa
dda17aa104 Merge pull request #282 from davidar/progr
(Eng) Fix ProgrVPSlash
2019-08-31 10:49:16 +02:00
David A Roberts
46504b2d65 (Eng) Fix ProgrVPSlash 2019-08-30 21:32:47 +10:00
Inari Listenmaa
e5c35515c9 Merge pull request #281 from inariksit/somali
(Som) More VV types
2019-08-29 22:50:06 +02:00
Inari Listenmaa
7a2d4d2cfa (Som) Bugfix in ComplVV + new test + small cleanup 2019-08-29 22:34:50 +02:00
Inari Listenmaa
4f8f4a6c86 (Som) More VV types 2019-08-29 15:07:21 +02:00
Inari Listenmaa
3e84f29d97 Merge pull request #280 from inariksit/somali
Somali
2019-08-28 16:07:57 +02:00
Inari Listenmaa
259b75753e (Som) Add more variants of VV 2019-08-28 16:01:31 +02:00
Inari Listenmaa
8f5a45aefb (Som) Lexicon + new unit tests 2019-08-28 14:17:11 +02:00
Inari Listenmaa
0847e5f2fa (Som) Fix word order+add negative form for rel.cls 2019-08-28 14:16:48 +02:00
Inari Listenmaa
a80ec22a1c (Som) Fix bug in DetCN 2019-08-28 14:14:26 +02:00
Inari Listenmaa
7a6678d4f5 Merge pull request #279 from inariksit/somali
Somali
2019-08-27 16:53:12 +02:00
Inari Listenmaa
a1f7c55b33 (Som) Words + new unit test for VS + minor cleanup 2019-08-27 16:39:33 +02:00
Inari Listenmaa
fef2d75ca6 (Som) Add ComplVS 2019-08-27 16:38:33 +02:00
Inari Listenmaa
d2b49b1936 (Som) Add ProgrVP 2019-08-27 16:36:41 +02:00
Inari Listenmaa
d077965a6b (Som) Fix Preps formed from nouns with possessives 2019-08-27 16:00:14 +02:00
Inari Listenmaa
e5f597979b (Som) Add new prepositions and unit tests 2019-08-27 13:35:49 +02:00
Inari Listenmaa
935530fad7 (Som) Fix bug in PassV2 2019-08-27 12:49:01 +02:00
Inari Listenmaa
bcb4812f10 (Som) Make relational nouns into Prep w/ possPrep 2019-08-27 12:32:42 +02:00
Inari Listenmaa
e2bf92c61c Merge pull request #278 from inariksit/somali
Somali
2019-08-26 18:08:29 +02:00
Inari Listenmaa
db8356aa49 (Som) Add Predets 2019-08-26 15:25:41 +02:00
Inari Listenmaa
ea6fcd4815 (Som) Add a few words + comments 2019-08-26 14:32:10 +02:00
Aarne Ranta
ac3975eefb added MarkupFin to wrap Finnish phrases in html tags and other markup 2019-08-23 16:58:30 +02:00
Peter Ljunglöf
01f6957bad Updated example test cases 2019-08-22 11:35:51 +02:00
Peter Ljunglöf
7e1d0d87ea Updated README 2019-08-22 11:35:51 +02:00
Peter Ljunglöf
091e53619d Updated script: better handling of arguments, simplified code, better reporting, etc.
Note that the flag `-only-cc` has been renamed to `--no-pmcfg`
2019-08-22 11:35:51 +02:00
Inari Listenmaa
11334b10d9 Merge pull request #277 from inariksit/somali
Somali
2019-08-19 19:05:54 +02:00
Inari Listenmaa
62eb0f84d1 (Som) minor typofixes 2019-08-19 17:49:59 +02:00
Inari Listenmaa
21a83b9591 (Som) Add unit tests about numerals 2019-08-19 17:44:14 +02:00
Inari Listenmaa
3a760d6b29 (Som) Fix bug in ordinals 2019-08-19 17:44:00 +02:00
Inari Listenmaa
420715b88e (Som) bugfixes in numerals 2019-08-19 17:21:23 +02:00
Inari Listenmaa
c845b2b315 Merge pull request #276 from inariksit/somali
(Som) Add verbforms: neg.cond + reduced present for Pl1
2019-08-19 15:50:47 +02:00
Inari Listenmaa
40a30b9fd1 (Som) Add verbforms: neg.cond + reduced present for Pl1 2019-08-19 15:12:35 +02:00
Inari Listenmaa
92b9f6ceb0 Merge pull request #275 from inariksit/somali
Somali
2019-08-14 21:11:36 +02:00
Inari Listenmaa
7ef077e06d (Som) New unit tests with negation + fixes 2019-08-14 16:27:56 +02:00
Inari Listenmaa
8f650f9da3 (Som) Correct form for RS when it modifies a NP in nominative case 2019-08-14 16:24:52 +02:00
Inari Listenmaa
5151280409 Merge pull request #274 from inariksit/master
Add empty implementation of ProgrVPSlash to Extend(Romance)Functor
2019-08-14 16:12:47 +02:00
Inari Listenmaa
783224c1ab (Som) Add pred=Copula in UseCopula 2019-08-14 15:52:51 +02:00
Inari Listenmaa
650b24c830 (Som) Fix bugs with negation in RelVP 2019-08-14 15:52:35 +02:00
Inari Listenmaa
2a697eebb2 Add empty implementation of ProgrVPSlash to Extend(Romance)Functor 2019-08-14 14:26:04 +02:00
Inari Listenmaa
63f457f296 Merge pull request #273 from davidar/progr
Add ProgrVPSlash
2019-08-14 14:17:28 +02:00
David A Roberts
db679e3fbc Add ProgrVPSlash 2019-08-14 21:58:02 +10:00
Inari Listenmaa
cd53c5304e (Som) typofix 2019-08-14 13:57:20 +02:00
Inari Listenmaa
2240335832 (Som) Minor cleanup/typofix 2019-08-14 13:52:45 +02:00
Inari Listenmaa
d0ae81832b (Som) Difference between restrictive vs. appositive relative clauses 2019-08-14 13:52:14 +02:00
Inari Listenmaa
9c2d007b39 Merge pull request #272 from inariksit/somali
Somali
2019-08-14 11:33:01 +02:00
Inari Listenmaa
a21c37d814 (Som) New unit tests + lexical items 2019-08-14 11:22:44 +02:00
Inari Listenmaa
77da513973 (Som) Fix bug in converting between parameters (Sg3 instead of Pl3) 2019-08-14 11:19:10 +02:00
Inari Listenmaa
3abae675c7 (Som) Add State in the inflection table of CN, to pick right conjunction 2019-08-14 11:18:07 +02:00
Inari Listenmaa
fa9c3ac4b5 (Som) PossNP: if possessor is a pronoun, use long form of pronoun 2019-08-14 11:16:22 +02:00
Inari Listenmaa
a541ca0ed6 Merge pull request #271 from inariksit/somali
Somali
2019-08-13 20:08:48 +02:00
Inari Listenmaa
77e42e17ee (Som) Add unit tests about relative clauses 2019-08-13 15:50:43 +02:00
Inari Listenmaa
4d3620ff3c (Som) Remove unnecessary BIND in predVP 2019-08-13 15:46:06 +02:00
Inari Listenmaa
dfa2d222fa (Som) More fine-grained rules with subject pronouns, WIP 2019-08-13 15:31:45 +02:00
Inari Listenmaa
73ea77b1ba (Som) Add linref for S 2019-08-13 15:29:32 +02:00
Inari Listenmaa
94f5dcdc0d (Som) Fix bug in getNum: Impers is also Sg 2019-08-13 15:29:02 +02:00
Inari Listenmaa
993a79041b (Som) fix bug in pot3: retain hundred when adding thousand 2019-08-13 12:10:11 +02:00
Inari Listenmaa
62ed2ecb89 (Som) Add conjunction in RelCN, if the CN already has a modifier 2019-08-13 11:39:30 +02:00
Inari Listenmaa
e8ac77e4fc (Som) Update unit tests to work with option -only-cc 2019-08-13 10:05:28 +02:00
Inari Listenmaa
4c02a6c6d1 (unittest) Add option to only use cc, never parse
Usage like before, but add -only-cc as one of the arguments. For example:

`python3 unittest/unittest.py src/somali/unittest/vp.gftest -only-cc`

In order for it to work, the test file has to only contain test cases like this:

```
LangSom: isku BIND ma barto
Lang: PhrUtt NoPConj (UttS (UseCl (TTAnt TPres ASimul) PNeg (PredVP (UsePron youSg_Pron) (ReflVP (SlashV2a teach_V2))))) NoVoc
```

&+ needs to be written as BIND.
2019-08-11 14:34:55 +02:00
Aarne Ranta
f46f2e5073 added LangFin.labels, changed Lang.labels dobj->obj 2019-08-09 14:26:37 +02:00
Aarne Ranta
62f891f0de concrete UD labels LangIce.labels 2019-08-09 14:07:36 +02:00
Aarne Ranta
f3150f74fb DictIce extracted from Wiktionary, 6668 lemmas and 106809 forms. Probably still very buggy though, and many common words not included 2019-08-08 15:20:35 +02:00
Aarne Ranta
4873e78db8 extraction of all major Ice categories from Wiktionary; however, some manual post-editing still needed in the generated files 2019-08-08 15:15:54 +02:00
Aarne Ranta
892d59c89f extraction of adjectives in Icelandic wiktionary 2019-08-08 12:11:38 +02:00
Aarne Ranta
4263f57d7e fixed some adjective paradigms in Icelandic; further check needed 2019-08-08 12:11:06 +02:00
krangelov
bce074eca2 Merge branch 'master' of https://github.com/GrammaticalFramework/gf-rgl 2019-08-07 18:53:34 +02:00
krangelov
f5e3583f89 ditch the obsolete DictBul 2019-08-07 18:52:59 +02:00
Aarne Ranta
c038ba5442 started to generalize Wiktionary extraction for other categories in Icelandic 2019-08-07 18:17:57 +02:00
Aarne Ranta
87c800433d minimal monolingual DictIce extracted from LexiconIce 2019-08-07 14:24:52 +02:00
krangelov
488174313a fix paradigm N002a 2019-08-07 10:23:29 +02:00
Aarne Ranta
ea7e12a560 a short document of ResourceDemo for the Minibar 2019-08-06 17:49:27 +02:00
Aarne Ranta
684e19dc68 using WiktIrregIce in LexiconIce 2019-08-06 17:40:04 +02:00
Aarne Ranta
6a7b220c55 the supine forms restored in Ice.VForm (disappeared by mistake in a git reset) 2019-08-06 17:27:09 +02:00
Aarne Ranta
7bdc01f45a the script for checking Icelandic verbs wrt Wiktionary 2019-08-06 17:07:00 +02:00
Aarne Ranta
8b84b89941 WiktIrregIce: 63 verb paradigms corrected by reference to Wiktionary. To be checked by an expert, but at least some improvements are clear. 2019-08-06 16:53:36 +02:00
John J. Camilleri
2d3d382a41 unittest: create README.md as main documentation 2019-08-05 10:57:26 +02:00
Aarne Ranta
9197783fa1 typo fix in DocumentationIceFunctor 2019-08-05 10:39:02 +02:00
Inari Listenmaa
f563a90e33 Merge pull request #269 from inariksit/somali
Somali
2019-08-05 11:37:23 +03:00
Inari Listenmaa
79fdbb03de (Som) Small fixes in noun morphology 2019-08-05 10:25:08 +02:00
Inari Listenmaa
95c95a3e2c (Som) Fix bug in DetCN with indefinite forms 2019-08-05 09:59:33 +02:00
Inari Listenmaa
c8b0db121d (Som) Use long form of pronoun in ConjNP 2019-08-05 09:45:07 +02:00
Aarne Ranta
2fdfd5127e showing word lemmas in DocumentationIce headings 2019-08-04 21:15:44 +02:00
Aarne Ranta
80854f4c44 extended DocumentationIce to V2 2019-08-02 18:40:51 +02:00
Aarne Ranta
abf96c097c the table script now takes all N,A,V from Lexicon 2019-08-02 18:33:37 +02:00
Aarne Ranta
44885e8216 simple script for generating a number of inflection tables as a html document 2019-08-02 18:21:54 +02:00
Aarne Ranta
ce27e4e017 Icelandic documentation: completed with adjectives 2019-08-02 18:21:12 +02:00
Aarne Ranta
b49c0255c6 documenting verb tables in Icelandic 2019-08-02 16:56:10 +02:00
Aarne Ranta
6379c22272 Terminology and Documentation for Icelandic; noun tables done 2019-08-02 15:31:23 +02:00
Aarne Ranta
915d0f0d50 added Ara and Eus into ResourceDemo 2019-08-02 12:17:11 +02:00
Aarne Ranta
8b8d815a5b added more morphological tags to LangEng.labels 2019-08-02 12:06:52 +02:00
Aarne Ranta
5762461bea Icelandic: added VInf Middle, which was a missing form, as well as a constructor depV for deponent verbs, also matched by -st ending in one-place mkV 2019-08-02 11:35:32 +02:00
Aarne Ranta
a1d1966d70 some catch-all cases in Ice paradigms to prevent compilation errors; need proper verification 2019-08-02 10:49:09 +02:00
Aarne Ranta
fb5943a58e added Ice.mkN : Str -> N following textbook heuristics 2019-08-01 18:24:46 +02:00
Inari Listenmaa
3700527c4a Merge pull request #268 from inariksit/somali
Somali
2019-08-01 10:10:47 +03:00
Inari Listenmaa
4d79df8406 (Som) WIP: Conjunctions 2019-07-31 17:50:50 +02:00
Inari Listenmaa
60508533d2 (Som) Minor fixes 2019-07-30 17:17:54 +02:00
Inari Listenmaa
bba53fc48b (Som) Fix bug in UttVP+RelVP 2019-07-30 17:13:05 +02:00
Inari Listenmaa
773417511a (Som) Fix bug in RelNP with pronouns 2019-07-30 17:01:33 +02:00
Inari Listenmaa
469718230a (Som) WIP: add FocusObj 2019-07-30 16:38:57 +02:00
Inari Listenmaa
8425048557 Merge pull request #267 from inariksit/somali
Somali
2019-07-30 14:43:26 +03:00
Inari Listenmaa
855d04dee5 (Som) Use PrepCombination in VP instead of c2,c3 : Preposition 2019-07-30 11:18:19 +02:00
Inari Listenmaa
7a147ccd7e (Som) Put subject pronoun back in QuestCl 2019-07-28 14:38:42 +03:00
Inari Listenmaa
b8a7b4f0bd (Som) WIP relative clauses.
Add short relative forms in VForm, split Cl(Slash) etc. even further, to 
make it possible to not add sentence type marker in RelVP.
2019-07-28 12:55:16 +03:00
Inari Listenmaa
e22c3b4212 (Som) Minor fixes 2019-07-28 12:54:23 +03:00
Inari Listenmaa
99e7e61863 (Som) Make Cl, S etc. discontinuous, to add Subj to the right place 2019-07-26 22:20:00 +03:00
Inari Listenmaa
0b6fc7732b Merge pull request #266 from inariksit/somali
(Som) Take passive out of Prep + add reflexive as PrepAgr + update tests
2019-07-25 18:56:47 +03:00
Inari Listenmaa
e4bc20e482 (Som) WIP: subordinate clauses 2019-07-25 18:42:16 +03:00
Inari Listenmaa
e5aa8a6499 (Som) Remove Impers_Prep and put it in PrepCombination 2019-07-25 18:41:16 +03:00
Inari Listenmaa
8c8612b7d7 (Som) Take passive out of Prep + add reflexive as PrepAgr + update tests 2019-07-24 19:24:19 +03:00
Inari Listenmaa
fbb431f2d2 Merge pull request #264 from bamutra/master
Rukiga gf-rgl
2019-07-24 05:55:52 +03:00
Inari Listenmaa
778fccf907 Merge pull request #265 from inariksit/somali
Somali
2019-07-23 23:33:44 +03:00
Inari Listenmaa
c4d7eabc83 (Som) Add more preposition combinations with passive 2019-07-23 21:40:14 +03:00
krangelov
5cd076d450 linrefs for all verb categories 2019-07-22 22:07:21 +02:00
Inari Listenmaa
a6530e4f1d (Som) Create PrepAgr param for prepositions combining with pronouns 2019-07-22 21:51:44 +03:00
Inari Listenmaa
eabf415b0b Merge pull request #263 from inariksit/somali
Somali
2019-07-22 21:49:50 +03:00
Inari Listenmaa
2717955d3c (Som) New unit test 2019-07-22 21:49:30 +03:00
Inari Listenmaa
6817734f8d (Som) Remove already implemented functions from MissingSom 2019-07-22 21:42:40 +03:00
Inari Listenmaa
89b52b89f9 (Som) Shaving off parameters here and there 2019-07-20 18:35:19 +03:00
Inari Listenmaa
2efd8435ae (Som) More unit tests 2019-07-20 18:33:14 +03:00
Inari Listenmaa
6f2896acc9 Merge pull request #262 from inariksit/somali
Somali
2019-07-19 14:14:39 +03:00
Inari Listenmaa
404873802e (Som) Add unit tests about VPs 2019-07-19 13:58:43 +03:00
Inari Listenmaa
c96ba57991 (Som) New lexical items 2019-07-19 13:58:22 +03:00
Inari Listenmaa
56be17ccf9 (Som) Add GenericCl 2019-07-19 13:58:02 +03:00
Inari Listenmaa
8c11c9e372 (Som) Add empty Str field to NP so every NP contributes with some string
Otherwise parsing sentences with pronoun  objects gives metavariables.
2019-07-19 13:57:37 +03:00
Inari Listenmaa
9c1c488703 Merge pull request #261 from inariksit/estonian
Estonian + Somali
2019-07-19 09:41:05 +02:00
Inari Listenmaa
54870ec678 (Est) Minor cleanup+formatting 2019-07-19 10:22:07 +03:00
Inari Listenmaa
89217ee9cc (Est) Add [CN] and {Base,Cons,Conj}CN 2019-07-19 10:21:29 +03:00
Inari Listenmaa
08cec84079 Merge branch 'master' of https://github.com/GrammaticalFramework/gf-rgl into somali 2019-07-19 10:06:14 +03:00
Inari Listenmaa
844755b666 Merge pull request #258 from hleiss/accdatV3
(Ger) Readjusting accdatV3 in ParadigmsGer and modifying V3-examples …
2019-07-18 19:55:25 +02:00
Inari Listenmaa
87b21c6435 Merge pull request #257 from hleiss/vp-paradigm
(Ger) Correction of VP paradigm with modal verbs
2019-07-18 19:55:11 +02:00
Inari Listenmaa
db4f31047e (Som) Add reflexives 2019-07-18 20:49:59 +03:00
Peter Ljunglöf
26442cdbd0 unittest: example test file 2019-07-12 11:05:40 +02:00
Peter Ljunglöf
7cbe4e7810 unittest: adding support for Python- or GF-style comments 2019-07-12 10:39:16 +02:00
Peter Ljunglöf
29ee6d0d70 unittest: updated the script to be able to work from the unittest directory 2019-07-12 10:39:16 +02:00
Peter Ljunglöf
9646629fb3 unittest: Move script to new directory 2019-07-12 10:39:16 +02:00
Peter Ljunglöf
35b6d8be55 Unit testing for RGL languages, written in Python 2+3 2019-07-08 23:02:53 +02:00
Hans Leiss
d9928919e3 (Ger) Readjusting accdatV3 in ParadigmsGer and modifying V3-examples in LexiconGer instead
ParadigmsGer had two constructions of verbs v:V3 with dat- and acc-object nps,

(1)      mkV3 : V -> V3 = \v -> mkV3 v accPrep datPrep ;
(2)  accdatV3 : V -> V3 = \v -> mkV3 v datPrep accPrep ;  -- (no prepositions)

In a previous patch, I had replaced (accdatV3 v) to (mkV3 v accPrep datPrep), as the
name suggested. (This actually was the meaning of accdatV3 in gf-3.2, which had only
a non-overloaded mkV3 : V -> Prep -> Prep -> V3.)

The reason for having two constructions for dat+acc-verbs in Ger seems to be *Eng*:
for English, ditransitive V3-verbs are defined by

(2')     mkV3 : V -> V3 = \v -> mkV3 v noPrep noPrep ;

like "to give sb sth", where the indirect argument comes first (c2=indir), the direct
second (c3=dir), corresponding to c2=datPrep, c3=accPrep in Ger; apparently, this was
meant by the comment (no prepositions) in (2). Other V3-verbs in Eng are defined by

(1')    mkV3 : V -> Prep -> V3 = \v,p -> mkV3 v noPrep p ;

like "to give sth to sb", so that (c2=dir), (c3=indir-with preposition),
corresponding to c2=acc,c3=dat in Ger, i.e. (1).

In order to get trees with equal meaning in Ger and Eng, the direct and indirect
arguments of corresponding verbs must match. Therefore, some V3-verbs in Ger have to
be defined using (1), others using (2), although they syntactically behave similar.

This patch therefore reinstalls (1) and (2), and changes the V3 in LexiconGer to:

  give_V3 = accdatV3 Irreg.geben_V ; -- c2=datPrep, c3=accPrep, to fit
             -- to Eng ditransitive: give sb(indir) sth(dir) (no preposition)

  sell_V3 = mkV3 (no_geV (regV "verkaufen")) ;    -- Eng: mkV3 v noPrep toPrep
  send_V3 = mkV3 (regV "schicken") ; -- Ger mkV3 v = Ger: mkV3 v accPrep datPrep
2019-07-08 16:09:17 +02:00
Hans Leiss
45e6bfdec5 (Ger) Correction of VP paradigm with modal verbs
The inf part of VPC is split into inf,inf2:Str to correct

    hat ... wollen lesen         => hat ... lesen wollen
    wird ... wollen haben lesen  => wird ... haben lesen wollen
                                    (for: lesen wollen|gewollt haben)

Changed useVP and mkClause of ResGer and MkVPS of ExtraGer.
(ExtraGer.DisToCl needs to be adapted, but best by unification with mkClause.)
See also tests/german/vp-paradigm.*
2019-07-06 15:29:23 +02:00
Inari Listenmaa
bc78d8466e Merge pull request #256 from inariksit/arabic-mkN
Bugfix in Arabic mkN
2019-07-05 11:06:06 +02:00
Inari Listenmaa
64e9947a61 (Ara) Fix bug in mkN instance for sg,pl,gender,species. 2019-07-05 10:44:56 +02:00
Inari Listenmaa
d426b0f9d1 Merge branch 'master' of https://github.com/GrammaticalFramework/gf-rgl into arabic-mkN 2019-07-05 10:18:42 +02:00
Inari Listenmaa
932c72c36b Merge pull request #255 from hleiss/pron-ordering
Pron ordering
2019-07-04 17:06:50 +02:00
Hans Leiss
2a1c22c5ca fixed the syntax error with --# notpresent in ResGer 2019-07-04 14:15:50 +02:00
Inari Listenmaa
37dbd8e486 Merge branch 'pron-ordering' of https://github.com/hleiss/gf-rgl into hleiss-pron 2019-07-04 10:55:41 +02:00
Hans Leiss
07aa656687 updated tests/german/object-order.README 2019-07-04 10:19:24 +02:00
Hans Leiss
b521089274 Added tests for pronoun-switch and object ordering in Ger (see tests/object-order.*) 2019-07-03 19:16:35 +02:00
Inari Listenmaa
2500c02b5f Merge pull request #254 from inariksit/somali
Somali
2019-07-02 09:55:59 +02:00
Inari Listenmaa
e4394b633c (Som) VV complements + some restructuring. 2019-07-01 20:30:06 +02:00
Hans Leiss
d3c6dddf2c removed comment from ResGer 2019-07-01 17:39:42 +02:00
Inari Listenmaa
ca06dc4e1d (Som) More fine-grained adverbials 2019-07-01 14:13:45 +02:00
Inari Listenmaa
e42cc6db61 Merge pull request #253 from inariksit/somali
Somali
2019-07-01 12:09:35 +02:00
Inari Listenmaa
8115b26947 (Som) Rename some parameters to begin with capital letter 2019-07-01 10:44:37 +02:00
Inari Listenmaa
0e52ffbb6a (Som) Make object pronoun and preposition(s) contract with negation. 2019-07-01 10:28:03 +02:00
Hans Leiss
03e404e518 Improving pronoun-switch and partial ordering of objects in Ger 2019-06-29 20:40:46 +02:00
Inari Listenmaa
916a3f0a30 Merge pull request #251 from daherb/master
(Lat) Update of the RGL and dictionary
2019-06-28 17:59:04 +02:00
Inari Listenmaa
57f814fc2e (Som) Streamline prepositions+passives.
It looks confusing, but reduces 198 concrete categories from VP and 
VPSlash.
2019-06-28 17:55:51 +02:00
Inari Listenmaa
8fe4fd7362 (Som) Add conditional 2019-06-28 17:55:04 +02:00
Inari Listenmaa
5b4d1eb223 Merge pull request #252 from inariksit/somali
Somali
2019-06-28 17:34:16 +02:00
Herbert Lange
4e0bcecb4e Merge branch 'latin' 2019-06-28 16:54:38 +02:00
Herbert Lange
a37b4dbe54 remove references to old lexicons 2019-06-28 16:54:26 +02:00
Herbert Lange
9b07769aaa cleanup old lexicons 2019-06-28 16:53:43 +02:00
Herbert Lange
313ec7fb57 Merge branch 'latin' 2019-06-28 16:33:32 +02:00
Herbert Lange
a01c6e7a7a more cleanup 2019-06-28 16:31:49 +02:00
Herbert Lange
7c1b737d20 clean up missinglat 2019-06-28 16:29:12 +02:00
Herbert Lange
ad706961c3 enable build of symbolic 2019-06-28 16:26:18 +02:00
Herbert Lange
184625fb87 Merge branch 'latin' 2019-06-28 16:22:49 +02:00
Herbert Lange
41e3fa6d7e remove unused backward module 2019-06-28 16:22:23 +02:00
Herbert Lange
db5600bcd2 remove unused extra function 2019-06-28 16:22:02 +02:00
Herbert Lange
e2ba2023e1 change type of np and add helper function to construct string from split category 2019-06-28 16:21:30 +02:00
Herbert Lange
de44443068 change type of pn 2019-06-28 16:19:22 +02:00
Inari Listenmaa
890e29f628 (Som) Add simple y/n-questions 2019-06-28 14:52:14 +02:00
Inari Listenmaa
ef13412a66 (Som) Add CompCN+NP ; more rules for predicatives 2019-06-28 14:01:40 +02:00
Herbert Lange
b917f0c443 Merge branch 'latin' 2019-06-27 18:35:33 +02:00
Herbert Lange
dfbe4b9d93 some work on questions 2019-06-27 18:31:11 +02:00
Herbert Lange
d9cded4030 some fixes in structurallat 2019-06-27 17:46:46 +02:00
Herbert Lange
91042916d3 add linref for VV 2019-06-27 17:46:29 +02:00
Inari Listenmaa
19b3d31a0e Merge pull request #249 from inariksit/somali
(Som) Restructure nominal morphology + numerals
2019-06-27 16:36:56 +02:00
Inari Listenmaa
682a0adac0 (Som) Restructure nominal morphology + numerals 2019-06-27 16:19:13 +02:00
Herbert Lange
b12308fc59 minimal working version of the extendlat module 2019-06-27 00:10:24 +02:00
Herbert Lange
aed87223d1 revert removal of voc from common which led to problems 2019-06-27 00:09:01 +02:00
Herbert Lange
08ed0d8561 fix minor issues in SymbolicLat 2019-06-26 15:04:09 +02:00
Herbert Lange
c71a79942c basic implementation of SymbolLat 2019-06-26 14:53:25 +02:00
Herbert Lange
97e44c75c7 added scripts to regenerate missinglat 2019-06-26 14:34:02 +02:00
Herbert Lange
301f985602 updated missinglat file 2019-06-26 14:32:55 +02:00
Herbert Lange
841d121193 add semicolon at end of the file 2019-06-26 14:32:26 +02:00
Herbert Lange
b90e036472 kind of working implementation of cardinal numbers 2019-06-25 17:17:46 +02:00
Herbert Lange
1fee42e758 Merge branch 'latin' 2019-06-24 18:23:26 +02:00
Herbert Lange
9e5cb3f44d Merge remote-tracking branch 'upstream/master' 2019-06-24 18:22:15 +02:00
Herbert Lange
a35809e130 update large dictionary 2019-06-24 18:20:48 +02:00
Herbert Lange
0f174af5b4 avoid name clases and make number feature accessible 2019-06-24 18:19:54 +02:00
Herbert Lange
4df898a038 pluralN is actually in Paradigms 2019-06-24 18:19:09 +02:00
Herbert Lange
aa87a16b94 some manual work on dictionary. will probably be overwritten when the script is fixed 2019-06-23 16:55:15 +02:00
Herbert Lange
02130dc128 helper functions for various noun types 2019-06-23 16:51:38 +02:00
Herbert Lange
9772134edc get some basic numerals working 2019-06-15 19:04:36 +02:00
Herbert Lange
abb3f4d60f change type of numerals (again) 2019-06-15 19:04:08 +02:00
Herbert Lange
f5141ca77a include numerals 2019-06-15 19:03:55 +02:00
Herbert Lange
5e10b4c541 fix problem with conjunction 2019-06-15 19:03:41 +02:00
Inari Listenmaa
8915200e84 Merge pull request #248 from inariksit/somali
(Som) WIP: Numerals, bugfixes in gender agreement.
2019-06-14 09:35:46 +02:00
Inari Listenmaa
388741ef8d (Som) WIP: Numerals, bugfixes in gender agreement.
+ Other misc. fixes, like impersonal pronoun contractions.
2019-06-13 17:37:48 +02:00
Herbert Lange
f725562f79 ongoing work on numerals 2019-06-12 15:03:27 +02:00
Inari Listenmaa
ddd863640d Merge pull request #247 from inariksit/somali
(Som) Possessive structures
2019-06-12 09:25:36 +02:00
Inari Listenmaa
8295e40323 (Som) Possessive structures 2019-06-11 21:20:39 +02:00
Inari Listenmaa
c3448274d4 Merge pull request #246 from inariksit/somali
(Som) Ditransitive verbs
2019-06-10 16:14:15 +02:00
Inari Listenmaa
7a545c25f1 (Som) WIP: Passive. 2019-06-10 15:57:23 +02:00
Inari Listenmaa
8c6be2e7b2 (Som) Ditransitive verbs 2019-06-10 13:55:13 +02:00
Inari Listenmaa
e3ae9aec1f Merge pull request #245 from inariksit/somali
(Som) VP, VPSlash, ComplSlash etc.
2019-06-07 19:19:15 +02:00
Inari Listenmaa
a9bd48ccdd (Som) VP, VPSlash, ComplSlash etc. 2019-06-07 18:44:29 +02:00
David Bamutura
ba4db3d913 =I have managed to model the Verb and delay the Verbal template mophology for tense, Anteriority and polarity to only points when the actual sentence of verb is built. My only problem is including it in the default linearizations within cat 2019-06-05 02:39:15 +02:00
David Bamutura
4eec043991 =Made changes so that I can have one parameter for Position. Also modified Adjectives according to the unofficial notion of Degree i.e Postive, Comparative and Superative 2019-06-04 19:41:08 +02:00
David Bamutura
458706694d =Corrected an error in paradigms to recognize smartNoun paradigm 2019-06-03 20:46:19 +02:00
Inari Listenmaa
5b09f0772d Merge pull request #244 from inariksit/somali
(Som) More forms for verbs and nouns
2019-06-03 18:42:34 +02:00
Inari Listenmaa
4009dface9 (Som) More forms for verbs and nouns 2019-06-03 16:31:55 +02:00
Herbert Lange
23a0c24e88 Merge remote-tracking branch 'upstream/master' 2019-06-03 13:40:27 +02:00
Herbert Lange
8dde0246c4 some changes to the np conjunctions 2019-06-03 13:34:51 +02:00
Inari Listenmaa
8c5702b43e Merge pull request #243 from inariksit/somali
(Som) Quants, Dets + more morphophonological rules
2019-05-31 17:28:53 +02:00
Inari Listenmaa
f6f77d384d (Som) minor fixes and additions 2019-05-31 16:37:03 +02:00
Inari Listenmaa
c9cc093b05 (Som) Quants, Dets + more morphophonological rules 2019-05-31 13:10:03 +02:00
David Bamutura
22c6d5aae4 Prepared the NounPhrase and its children for the ListNP with a field describing whether the first work in NPP is a Proper Noun or a common Noun. Are NPs always common Nouns? RR treats these things differently. Phonological conditioning is also required. This is my next step 2019-05-30 17:56:04 +02:00
David Bamutura
0ee7f24982 Implemented QuestIComp in QuestionCgg.gf and edesigned IAdv, IP and IComp 2019-05-30 15:30:54 +02:00
David Bamutura
9488cae6f4 =Made some grammatical corrections based on tes grammar and worked on most functions in QustionCgg.gf 2019-05-24 06:47:57 +02:00
David Bamutura
304b877854 =Remodelled RS to accomodate RelCN and RelNP appropriately and give both direct and direct relative prnouns 2019-05-24 02:20:02 +02:00
Inari Listenmaa
485912d78b Merge pull request #242 from inariksit/persian
Persian + Arabic
2019-05-23 17:18:32 +02:00
Inari Listenmaa
bae17e5283 (Ara) add AdjAsNP to ExtendAra 2019-05-23 14:07:49 +02:00
Inari Listenmaa
ec4dac68d0 (Pes) WIP: more fine-grained rules about definiteness in NPs 2019-05-23 14:07:34 +02:00
David Bamutura
366d6cd38e =ReImplemented UseCl to cater for all 3 Tense and 1 Coditional mood Form 2019-05-20 16:48:00 +02:00
John J. Camilleri
b3b2b219e8 Update link to RGL tutorial (now HTML version) 2019-05-20 10:36:00 +02:00
John J. Camilleri
4838a59d20 Update RG tutorial to render well with update_html from gf-core 2019-05-20 10:10:11 +02:00
David Bamutura
143a9e9686 =Implemented SlashVP in sentence 2019-05-20 03:12:04 +02:00
David Bamutura
b79c1bca57 =Added PConj to Lexicon but postponed implementyation of PConjConj :Conj -> PConj because I do not know what it means? 2019-05-19 10:51:56 +02:00
David Bamutura
37d27768f1 =Corrected alas_Interj 2019-05-19 10:25:46 +02:00
David Bamutura
db4126c61f =Finished Implementation of PhraseCgg.gf 2019-05-19 10:14:10 +02:00
David Bamutura
3aef8a9f7e =Corrected DetQuant for no_Quant 2019-05-19 08:44:30 +02:00
David Bamutura
9b0cbc63ec =Corrected the type of Imp because Bool produced False as default hence negative form of Imperative be = taba instead of ba. Why does GF compute for false first by default? Is it data Bool = False | True? 2019-05-19 06:31:16 +02:00
Aarne Ranta
4c308d0498 sources for GF RGL tutorial as given in LREC exactly 9 years ago; 'make' now builds html, but some txt macros for LaTeX need to be retargeted for html 2019-05-17 17:31:36 +02:00
David Bamutura
115989e017 Merge branch 'master' of github.com:bamutra/gf-rgl
After deleting a file on the remote master branch and deleting it on my local machine, the two seem to be out of sync hence a merge
2019-05-17 02:33:47 +02:00
David Bamutura
12a691e8ae =Failed ti implement PositAdvAdj 2019-05-17 02:33:12 +02:00
David Bamutura
9658b175d6 Delete CatCggOld.gf
This file was wrongly staged for commit
2019-05-17 02:13:37 +02:00
David Bamutura
d5bec3b459 =Implemented ComparA AdAP which necesitated the modification of the ADA type. Deleted the CatCggOld.gf 2019-05-17 02:11:50 +02:00
David Bamutura
5f5d71bb0a =Implemented ComparA in Adjective. Needs through testing 2019-05-17 01:16:44 +02:00
David Bamutura
fdc4dced45 =Implemented AjOrd in Adjective which resulted in changing the type of AP and leading to use of default Agrement AgP3 Sg KI_BI. Othrwise context is required 2019-05-17 00:47:44 +02:00
David Bamutura
cc165875f5 =corrected the error and added two more Functions in Verb.Cgg. The cause of error was repeated record lable in the same record in ResCgg.gf for VerbPhrase 2019-05-17 00:19:09 +02:00
David Bamutura
cdc9fe3072 =An error in CatCgg after implementing most of the verb functions. The error is: src/compiler/GF/Compile/GeneratePMCFG.hs:137:11-36: Irrefutable pattern failed for pattern [newCat] 2019-05-16 23:23:04 +02:00
Inari Listenmaa
ecd686df78 Merge pull request #241 from inariksit/persian
Persian: small fixes
2019-05-15 22:14:09 +02:00
David Bamutura
18057c6e9c Implemented all the remaining lin functions which required a change in the ResCgg.gf. This change may not be needed now as I have not used it 2019-05-15 21:10:02 +02:00
David Bamutura
7843b47cc5 Made changes to LexiconCgg.gf and ParadigmCgg.gf to corret a warning about lock fields 2019-05-15 17:40:42 +02:00
Inari Listenmaa
9c2e4a2943 (Pes) Minor lexical fixes 2019-05-15 16:48:09 +02:00
Inari Listenmaa
06d3bdc834 (Pes) add new invarA + remove an ill-advised heuristic from mkA 2019-05-15 15:24:49 +02:00
Inari Listenmaa
4f505b62df Merge pull request #239 from inariksit/persian
(Pes) Negate Cl if negative NP (nothing, no N …) is subject or object.
2019-05-15 14:01:37 +02:00
Inari Listenmaa
6e3cbfaa8e (Pes) Negate Cl if negative NP (nothing, no N …) is subject or object. 2019-05-15 11:36:06 +02:00
David Bamutura
08d1598319 Atempted at implementing all the remaining Functions under Noun.gf and its dependencies in CatCgg.gf, LexiconCgg.gf, ParadigmCgg.gf, StructuralCgg.gf and ResCgg.gf 2019-05-15 06:29:19 +02:00
Inari Listenmaa
c44fdbcafa Merge pull request #237 from inariksit/persian
Fixes in Persian and Arabic
2019-05-14 15:42:34 +02:00
Inari Listenmaa
64867f3025 (Ara) Don't use verbalAgr in a verbless construction
Eventual TODO: restructure the whole agreement system, there are other 
complications not present in the grammar currently and too much 
redundancy in NTable.
2019-05-14 15:21:55 +02:00
Inari Listenmaa
1372c0b354 (Pes) Add comparative 2019-05-14 15:19:16 +02:00
David Bamutura
52639b0d3b Some errors corrected but my the abstract syntax seems to have changed. Cause could be the pull request I made on the current RGL 2019-05-14 10:15:21 +02:00
David Bamutura
355fcc2e6d Some corrections made and functions added 2019-05-14 09:23:09 +02:00
David Bamutura
ef5783853f Failed for IdentQuantN in Question: error about Num 2019-05-14 04:50:00 +02:00
David Bamutura
38b29c7071 modified Noun to accommodate for IDetCN in Question 2019-05-14 03:53:11 +02:00
David Bamutura
1dbd1b535f Added Interrogative adverbs abd Pronouns. Not working Properly. 2019-05-14 02:04:32 +02:00
David Bamutura
64f7bdb967 Restuructured Pron, which affected Quant and all the functions that use it. 2019-05-10 23:03:09 +02:00
David Bamutura
681e459d0b Made adjustments to thisQuant and That_Quant 2019-05-10 18:23:44 +02:00
David Bamutura
e8cce483c5 Implemented functions NumDigits, NumNumeral, OrdDigits,OrdNumeral, OrdSuperl but with changes in Structural and CatCgg for the categories 2019-05-10 18:08:35 +02:00
David Bamutura
19870f6b38 Worked on DetQuant in Noun and Digits in Numeral 2019-05-10 14:56:02 +02:00
David Bamutura
c2691eda44 Added functionality for V3 in lexicon, rearranged the Paradigms to accomodate it. Implemented Slash2V3 and Slash3V3 2019-05-06 23:15:56 +02:00
Herbert Lange
2a3de7687f fix some of the coordination again 2019-05-06 20:25:32 +02:00
Inari Listenmaa
05eb9a0d8f Merge pull request #236 from inariksit/persian
(Pes) Generalise infVP to other non-finite verb forms
2019-05-06 17:29:05 +02:00
Inari Listenmaa
31d4e5971a (Pes) Generalise infVP to other non-finite verb forms 2019-05-06 17:17:06 +02:00
David Bamutura
48aa65d2dd Made changes to the nature of adjective so that it linearises 2019-05-06 16:21:34 +02:00
Inari Listenmaa
ba911da6c3 (Extend,Romance) Add construction AdvIsNPAP (#235)
e.g. "here are the instructions documented", default implementation in common/ExtendFunctor is "the instructions are documented here".
2019-05-06 16:04:46 +02:00
David Bamutura
7d903526f5 Correction of errors in ResCgg.gf and Numeral.gf regarding generalization of n2-n9 2019-05-06 02:11:21 +02:00
David Bamutura
5af7fd2fa9 Half the implementation of Numerals. However, pot2plus still problematic. Ordinal numerals also problematic 2019-05-06 01:29:47 +02:00
David Bamutura
7d49c87d1e worked on the Relative Pronoun (RP) found produced by the function IdRP 2019-05-05 16:01:46 +02:00
Inari Listenmaa
1aa440b5bb Merge pull request #234 from inariksit/persian
Persian
2019-05-03 18:50:06 +02:00
Inari Listenmaa
361deec532 (Pes) misc. small fixes, additions and TODOs 2019-05-03 18:43:29 +02:00
Inari Listenmaa
038ed0e863 (Pes) Add object clitics to verb phrases
Co-Authored-By: Nasrin M <Nasrin63@users.noreply.github.com>
2019-05-03 18:43:06 +02:00
David Bamutura
b18ffa9d0b Correction of all compilation mistatkes 2019-05-03 16:43:17 +02:00
David Bamutura
023930e37a Implementation of AdvNP function 2019-05-03 04:33:35 +02:00
David Bamutura
66474465e3 Covered PredetNP & PrepNP in NounCgg.gf & AdverbCgg.gf alongside Predet & Adv Lexicon in StructuralCgg.gf. Errors in SentenceCgg.gf because the verb system is still a mess. 2019-05-03 03:57:11 +02:00
Inari Listenmaa
c5512550b4 Merge pull request #233 from inariksit/persian
Small fixes and cleanup
2019-05-01 17:52:13 +02:00
Inari Listenmaa
e9be8e3b0d (Pes) Reuse functions in VerbPes 2019-05-01 17:41:57 +02:00
Inari Listenmaa
bc4bba1171 (Pes) Changes in sentence complements 2019-05-01 17:41:39 +02:00
Inari Listenmaa
81b142c078 Merge pull request #232 from inariksit/persian
Persian
2019-04-30 18:47:04 +02:00
Inari Listenmaa
ae3ada90e9 (Pes) Fix bug in creating subjunctive form in S 2019-04-30 18:42:03 +02:00
Inari Listenmaa
5b7fae3c20 (Pes) small fixes + TODOs 2019-04-30 18:40:49 +02:00
Inari Listenmaa
4a13d04e6f (Pes) InOrderToVP: only show prefix, if the verb is کردن 2019-04-30 18:39:42 +02:00
Inari Listenmaa
f52648768f Merge pull request #231 from inariksit/persian
Persian
2019-04-29 17:47:00 +02:00
Inari Listenmaa
08a956223c (Pes) Fix word order in ComplA2 2019-04-29 13:38:12 +02:00
Inari Listenmaa
b7e6f23020 (Pes) Add new constructor for mkVS + change order of args for mkV2S 2019-04-29 13:35:49 +02:00
Inari Listenmaa
8f965e8556 (Pes) Add VVForm as a field to V2S 2019-04-29 11:36:37 +02:00
Inari Listenmaa
dce3e7f161 Merge pull request #230 from inariksit/persian
Persian: imperatives, word order
2019-04-27 17:12:02 +02:00
Inari Listenmaa
516d4444d3 (Pes) Add word order argument OV/VO to showVPH + use VO in Extend.ByVP
Co-Authored-By: Nasrin M <Nasrin63@users.noreply.github.com>
2019-04-26 19:06:48 +02:00
Inari Listenmaa
2103a9c576 (Pes) Small fixes in imperative
Co-Authored-By: Nasrin M <Nasrin63@users.noreply.github.com>
2019-04-26 19:05:04 +02:00
Herbert Lange
a552ba9889 change type for conjunctions, split and overload mkConj and add placeholders into the dictionary t 2019-04-26 17:26:05 +02:00
Herbert Lange
52fee8ab4d add coordinator parameter for missing conjunctions 2019-04-26 16:44:23 +02:00
Herbert Lange
04f1b50224 add linref for conjunctions 2019-04-26 16:44:03 +02:00
Herbert Lange
6c5f004fd2 fix wrong form in copula 2019-04-26 16:18:34 +02:00
Herbert Lange
556da2493c add linrefs for more categories 2019-04-26 16:18:26 +02:00
krangelov
4e64e46d1c cosmetic change 2019-04-26 13:19:43 +02:00
krangelov
448f0a20e4 Merge branch 'master' of https://github.com/GrammaticalFramework/gf-rgl 2019-04-26 13:08:31 +02:00
krangelov
d198436d7d extensions and corrections in BeschCat to be compatible with FreeLing. Some of the diffs were plain bugs in the original module 2019-04-26 13:06:57 +02:00
Inari Listenmaa
21af0dd9be Merge pull request #229 from inariksit/persian
Fixes in Persian: Prep, Subj, N2, N3, typos
2019-04-26 12:57:12 +02:00
Inari Listenmaa
95759c15ac (Pes) Make D_1 singular 2019-04-25 16:20:45 +02:00
Inari Listenmaa
6dbacd9892 (Pes) Add relative pronoun type in Subj 2019-04-25 16:11:28 +02:00
Inari Listenmaa
35db9a0787 (Pes) add ezafePrep, used only internally in N2
The semantics is "the head word takes ezafe". This is a bit confusing 
compared to other Preps, where it means that the preposition takes 
ezafe. But this ezafePrep is not exported to the public API.
2019-04-25 11:51:29 +02:00
Inari Listenmaa
bd79656668 (Pes) WIP right form for complements of N2 and N3
Co-Authored-By: Nasrin M <Nasrin63@users.noreply.github.com>
2019-04-25 11:23:20 +02:00
Inari Listenmaa
5b8303aa57 (Pes) Fix appComp's behaviour with prepositions that take ezafe
Co-Authored-By: Nasrin M <Nasrin63@users.noreply.github.com>
2019-04-25 11:20:37 +02:00
Inari Listenmaa
0d5cd13aea (Pes) Small cleanup and typofix 2019-04-25 11:19:25 +02:00
Inari Listenmaa
8c4c9bcf32 Merge pull request #228 from odanoburu/embedsslash
(Por, UD) misc fixes
2019-04-23 10:07:51 +02:00
odanoburu
0c8da77417 * correct tree in ud treebank
- needs Extend's EmbedSSlash

* (Por) add EmbedSSlash

* (Por) change verb form for RPasse AAnter
the current linearization of RPasse Anter tense combination is not
grammatical Portuguese, while the auxiliar in the present + participle
past form is not available anywhere (it is grammatical Portuguese but
not as common as simple past, which gets the RPast ASimul
linearization)
2019-04-22 11:35:51 -03:00
Inari Listenmaa
505f39c0fd Merge pull request #227 from inariksit/extend
(Extend) Rename WhatSSC to EmbedSSlash and change type to SSlash -> SC
2019-04-20 10:37:50 +02:00
Inari Listenmaa
40c8c5f923 (Extend) Rename WhatSSC to EmbedSSlash and change type to SSlash -> SC 2019-04-20 10:27:59 +02:00
Inari Listenmaa
dc819e2320 Merge pull request #226 from inariksit/persian
Persian
2019-04-18 20:02:10 +02:00
Inari Listenmaa
aac108808c (Pes) Fixes in verb tenses
Co-Authored-By: Nasrin Mostofian <nasrin.mostofian@gmail.com>
2019-04-18 18:45:31 +02:00
Inari Listenmaa
6bf31fa9ec (Pes) misc small fixes and additions
Co-Authored-By: Nasrin Mostofian <nasrin.mostofian@gmail.com>
2019-04-18 18:44:44 +02:00
Inari Listenmaa
1719924f56 (Pes) Add parameter in A+AP about AP's placement as predicative
Co-Authored-By: Nasrin Mostofian <nasrin.mostofian@gmail.com>
2019-04-18 18:31:59 +02:00
Inari Listenmaa
02b231363e (Pes) Add a parameter to VS whether to select subjunctive or indicative
Co-Authored-By: Nasrin Mostofian <nasrin.mostofian@gmail.com>
2019-04-18 18:10:13 +02:00
Inari Listenmaa
ed4a954ee7 Merge pull request #225 from inariksit/spanish
Small fixes and additions in Spanish + Persian
2019-04-17 15:10:24 +02:00
Inari Listenmaa
92a49f9c47 (Pes) Use perfect for subjunctive in haveVerb 2019-04-17 14:37:43 +02:00
Inari Listenmaa
4277ac33ad (Pes) Fix bug in mkPrep 2019-04-17 14:37:06 +02:00
krangelov
70ae58b089 Merge branch 'master' of https://github.com/GrammaticalFramework/gf-rgl 2019-04-15 08:44:03 +02:00
krangelov
f8a0b2739d replace empty variants with nonExist 2019-04-15 08:43:36 +02:00
Inari Listenmaa
d25bbe7175 (Extend,Eng,Spa,Swe) New function: "what we did (fas fun)" 2019-04-12 15:00:11 +02:00
Inari Listenmaa
a9fd3eec92 (Romance) Add DetNPFem 2019-04-12 09:04:59 +02:00
Inari Listenmaa
d31f25f370 (Spa) Fix an error in relative pronoun: cuyo is genitive, not dative 2019-04-12 09:04:44 +02:00
Inari Listenmaa
34c81a81db Merge pull request #224 from inariksit/spanish
Spanish
2019-04-12 08:12:44 +02:00
David Bamutura
373a261558 Initial Files for Rukiga RGL brough from previous coding before git tracking 2019-04-11 17:38:19 +02:00
Inari Listenmaa
1f3f8aea90 (Spa) create pronouns in one place
Use the same oper to get a matching pronoun for an NP. Useful in 
application grammars, when you want to refer to an NP argument by a 
matching pronoun.
2019-04-11 16:24:10 +02:00
Inari Listenmaa
0ce6696bfa (Spa) add + fix some adjectives 2019-04-11 15:30:35 +02:00
Inari Listenmaa
9014d64b17 (Spa) Fix a few prepositions 2019-04-11 12:54:20 +02:00
Inari Listenmaa
7cbcd6e7ca Merge pull request #223 from inariksit/spanish
Typofixes in Spanish + new construction (Functor+Eng+Spa)
2019-04-11 12:43:44 +02:00
Inari Listenmaa
a3302848ac (ExtendFunctor,Eng,Romance) Add construction "how to walk"
Default implementation: "how does one walk"
2019-04-11 11:46:58 +02:00
Inari Listenmaa
00649a04c0 (Spa) remove underscore from an adverb 2019-04-11 11:32:25 +02:00
Inari Listenmaa
4ccec2fcdf (Spa) Add missing accents to how_IAdv and which_IQuant 2019-04-10 14:53:35 +02:00
Inari Listenmaa
dee8917e56 Merge pull request #222 from inariksit/arabic
(Ara,Pes) Add {Base,Cons,Conj}CN
2019-04-10 14:24:26 +02:00
Inari Listenmaa
0a4b42b610 (Pes) Add {Base,Cons,Conj}CN 2019-04-10 14:18:44 +02:00
krangelov
5829c2b1e1 added mkVV, mkAdV, mkAdA 2019-04-10 14:04:07 +02:00
Inari Listenmaa
8717ad2eb9 (Ara) Add {Base,Cons,Conj}CN 2019-04-10 13:09:23 +02:00
Inari Listenmaa
d739f8c222 Merge pull request #221 from inariksit/spanish
remove variants {} from IrregSpa + misc. small fixes
2019-04-09 15:55:40 +02:00
Inari Listenmaa
c7c902acea (Spa) use correct mkV instance for reencender_V and merendar_V 2019-04-09 14:56:26 +02:00
Inari Listenmaa
a666da061e (Spa) make gratis_A invariant 2019-04-09 14:33:52 +02:00
Inari Listenmaa
fb6f9ca14c (Spa) fix typo: èl->él 2019-04-09 13:17:42 +02:00
Inari Listenmaa
74fb09daa5 (Spa) fix bug in MakeStructuralSpa.mkDet 2019-04-09 13:16:53 +02:00
Inari Listenmaa
f827650840 (Spa) Change variants {} to nonExist in IrregSpa 2019-04-09 11:04:35 +02:00
Inari Listenmaa
16eb5ace80 Merge pull request #219 from inariksit/spanish
Spanish/Romance: imperative, A2
2019-04-08 15:30:35 +02:00
Inari Listenmaa
6db6266124 (Spa) Add constructor for dative intransitive verbs: "me/te/le/… parece" 2019-04-08 14:53:41 +02:00
Inari Listenmaa
ca6ab8ba12 (Spa) Add missing particle to mkImperative 2019-04-08 14:52:40 +02:00
Inari Listenmaa
aa93136c4a (Romance) Add copType to A2 as well 2019-04-08 14:47:54 +02:00
Inari Listenmaa
88fe3a85fe Merge pull request #218 from inariksit/spanish
(Spa) Sense splits, new words and gender fixes
2019-04-05 18:04:07 +02:00
Inari Listenmaa
653b7e8723 (Spa) Sense splits, new words and gender fixes 2019-04-05 17:14:54 +02:00
Inari Listenmaa
c4cb25bc8b Merge pull request #217 from inariksit/spanish
(Spa) Fix SgP2 imperative form for {abs,man,ob,…}tener_V
2019-04-05 11:01:19 +02:00
Inari Listenmaa
7022d0d4b8 (Spa) Fix SgP2 imperative form for {abs,man,ob,…}tener_V 2019-04-05 09:11:32 +02:00
Inari Listenmaa
98998cb1ae Merge pull request #216 from inariksit/spanish
Spanish lexicon
2019-04-04 20:58:51 +02:00
Inari Listenmaa
bc06abe350 (Spa) New words + fix genders + check segmentation in DictSpa 2019-04-04 20:42:00 +02:00
Inari Listenmaa
1e670bb6e2 (Spa) Fix typos and copypasted Portuguese in Extend 2019-04-04 13:40:04 +02:00
Inari Listenmaa
d06cd3ee37 (Spa) Add new words to DictSpa 2019-04-04 13:37:14 +02:00
Inari Listenmaa
2d33069e04 (Spa) split parte_N into parte_1_N (fem) and parte_2_N (masc) 2019-04-03 14:20:51 +02:00
Inari Listenmaa
dae2a657e0 (Spa) fix typo + automatic whitespace removal 2019-04-03 14:20:12 +02:00
Inari Listenmaa
c6b99371a6 (Spa) Add new words in Dict + fix Dict.bueno_A and Lexicon.good_A 2019-04-03 14:07:21 +02:00
Inari Listenmaa
bb178fc2c8 Merge pull request #215 from inariksit/spanish
(Spa) small fixes
2019-04-02 17:26:07 +02:00
Inari Listenmaa
bad6119baa (Spa) fix some genders in DictSpa 2019-04-02 16:04:22 +02:00
Inari Listenmaa
63093fd459 (Spa) add invarA + fix typo in after_Prep 2019-04-02 14:50:03 +02:00
Inari Listenmaa
70e1292013 Merge pull request #214 from inariksit/spanish
Spanish: lexicon + new lins in Idiom
2019-04-02 08:32:32 +02:00
Inari Listenmaa
b00b7197e8 (Spa) Add SelfAdvVP and Exist{IP,NP}Adv 2019-04-01 17:20:53 +02:00
Inari Listenmaa
b259d24556 (Spa) genders of nouns + check some MWE segmentation 2019-04-01 17:20:14 +02:00
Inari Listenmaa
c70d149837 (Spa) Add new + remove typoed words; check MWEs in DictSpa. 2019-04-01 10:31:34 +02:00
Inari Listenmaa
b7e3c34c8d Merge pull request #213 from inariksit/extend-subj-rs
(Extend) Add SubjRelNP (only relevant for Romance)
2019-04-01 08:49:24 +02:00
Inari Listenmaa
d5cf083d05 (Extend,Romance) Add SubjRelNP: force RS to be in subjunctive
Default implementation as RelNP in ExtendFunctor, actual implementation 
for Romance.
2019-03-29 20:42:17 +01:00
Inari Listenmaa
c1425a2915 (Spa) Fix typos in youPolPl_Pron and youPolPlFem_Pron 2019-03-29 20:28:33 +01:00
Inari Listenmaa
54e39ada0a Merge pull request #212 from inariksit/persian
Persian: passive + defVV
2019-03-29 15:56:32 +01:00
Inari Listenmaa
0e24f1c58a (Pes) add defVV + cleanup 2019-03-29 15:44:36 +01:00
Inari Listenmaa
ecf19a888f Merge pull request #211 from inariksit/export-romance-copulas
(Cat,Por,Spa) Export CopulaType and {ser,estar}Copula in Paradigms
2019-03-29 12:53:55 +01:00
Inari Listenmaa
d96db3992b (Cat,Por,Spa) Export CopulaType and {ser,estar}Copula in Paradigms 2019-03-29 12:29:48 +01:00
Inari Listenmaa
c6a9434da4 (Pes) use zero-width non-joiner in all_Predet 2019-03-29 11:56:05 +01:00
Inari Listenmaa
6bc6f211bf (Pes) Add passive construction 2019-03-29 11:55:43 +01:00
Inari Listenmaa
a16c900d34 Merge pull request #210 from inariksit/spanish
(Spa) Fixes and additions in DictSpa
2019-03-29 10:38:14 +01:00
Inari Listenmaa
5e348cf80f (Spa) Fixes and additions in DictSpa 2019-03-29 10:31:59 +01:00
krangelov
b3a29dc607 added ExtendSlv.gf 2019-03-29 07:52:29 +01:00
krangelov
eee3ae6a2b Merge branch 'master' of https://github.com/GrammaticalFramework/gf-rgl 2019-03-28 15:19:12 +01:00
krangelov
fbe372fe1f added trivial overloaded functions in Estonian 2019-03-28 15:18:31 +01:00
Inari Listenmaa
0960eb80e2 Merge pull request #209 from inariksit/persian
(Pes) Add no_Quant
2019-03-28 13:19:59 +01:00
Inari Listenmaa
d579d36c45 Merge pull request #207 from normundsg/master
(Lav) A bug-fix in DictLav
2019-03-28 11:12:22 +01:00
Inari Listenmaa
24ce8a1c7b (Pes) Add no_Quant 2019-03-27 11:18:33 +01:00
Herbert Lange
73a7fe4bd0 removed extra hyphen that broke the dict 2019-03-25 14:48:10 +01:00
Normunds Grūzītis
01363833f6 (Lav) A bug-fix in DictLav 2019-03-25 10:15:37 +02:00
Inari Listenmaa
58fe82a1c3 Merge pull request #206 from inariksit/persian
(Pes) Fix bug with negation in haveVerb and have_V2
2019-03-25 08:12:17 +01:00
Herbert Lange
a2d847ce26 fix bug in compnp 2019-03-23 23:40:02 +01:00
Herbert Lange
de82d4b35b make complememt position flexible 2019-03-23 23:39:44 +01:00
Inari Listenmaa
7ea508eef7 (Pes) cmpdN: modifier always singular 2019-03-22 14:33:41 +01:00
Inari Listenmaa
f17d1f3e48 (Pes) Change word order for defective VVs.
NB. This might be overfitting just for a particular sentence. Ideally 
check with a Persian speaker.
2019-03-22 09:45:52 +01:00
Inari Listenmaa
70b8d2e5e3 (Pes) Fix bug with negation in haveVerb and have_V2 2019-03-21 20:24:07 +01:00
Inari Listenmaa
76c1c2453e Merge pull request #204 from inariksit/persian
(Pes) Add mkInterj + minor fixes in some prepositions
2019-03-20 16:11:27 +01:00
Inari Listenmaa
24ff11c63d (Pes) Fix bug in DetQuant: "a one N" 2019-03-20 16:01:55 +01:00
Inari Listenmaa
8452076636 (Pes) Remove unnecessary parameters from Imp 2019-03-20 15:32:43 +01:00
Inari Listenmaa
79ceab1ec1 (Pes) fix typo in insertVV 2019-03-20 13:41:27 +01:00
Inari Listenmaa
3c301efd05 (Pes) Add InOrderToVP and ByVP to ExtendPes 2019-03-20 13:41:07 +01:00
Prasanth Kolachina
f0930cd5cb Merge pull request #205 from daherb/latin
Fix Latin issues
2019-03-20 12:26:41 +01:00
Herbert Lange
b060551802 remove ListS for the moment again because it leads to problems 2019-03-20 12:05:53 +01:00
Herbert Lange
943ce05351 replace dict symlinks with actual files 2019-03-20 12:00:45 +01:00
Inari Listenmaa
8438e88410 (Pes) Fix bug in PrepNP 2019-03-20 10:23:34 +01:00
Inari Listenmaa
95e62cd06a Merge pull request #203 from daherb/latin
Latin
2019-03-19 16:59:11 +01:00
Inari Listenmaa
25a151c2d2 (Pes) Add mkInterj + minor fixes in some prepositions 2019-03-19 16:56:10 +01:00
Herbert Lange
7151b6f506 Merge branch 'master' of https://github.com/GrammaticalFramework/gf-rgl 2019-03-19 16:35:26 +01:00
Herbert Lange
49ee26feb0 removed extra stuff. still available in separate branch on https://github.com/daherb/gf-rgl/tree/latin-extra 2019-03-19 16:29:23 +01:00
Herbert Lange
42a339edf6 fix symbol rule 2019-03-19 16:26:24 +01:00
Herbert Lange
07642354fe some work on sentence conjunction 2019-03-19 16:26:10 +01:00
Inari Listenmaa
77af5c99e6 Merge pull request #201 from inariksit/here_are_Cl
Extend + DictSpa
2019-03-19 09:42:12 +01:00
Inari Listenmaa
f8d8ba0aa9 Merge pull request #200 from odanoburu/extend-romance-cat-ita
(Cat,Ita) add stub implementations of Extend
2019-03-19 09:35:52 +01:00
Inari Listenmaa
82937227bc (Extend) Add AdvIsNP + implement it in Eng,Fin,Pes,Romance,Swe 2019-03-19 09:34:26 +01:00
Inari Listenmaa
e35abeac6b (Spa) Fix some genders + MWE segmentation in DictSpa 2019-03-19 09:33:33 +01:00
odanoburu
5aedf4add6 rm trailing whitespace 2019-03-18 14:59:39 -03:00
odanoburu
76bf6b7363 (Cat,Ita) add stub implementations of Extend
- using ExtendRomanceFunctor
- can't compile ExtendFre using ExtendRomanceFunctor though..
2019-03-18 14:58:42 -03:00
Inari Listenmaa
230d7afe1f Merge pull request #199 from inariksit/persian
(Pes) Support relative pronoun contraction
2019-03-18 15:15:12 +01:00
Inari Listenmaa
cfbb22239c (Pes) Support relative pronoun contraction 2019-03-18 14:53:56 +01:00
Inari Listenmaa
b527d83bde Merge pull request #198 from inariksit/persian
Persian
2019-03-16 16:29:58 +01:00
krangelov
163d797357 integrate DocumentationSlv with the rest of the grammar 2019-03-16 16:01:59 +01:00
krangelov
75f919d46f Merge branch 'master' of https://github.com/GrammaticalFramework/gf-rgl 2019-03-16 15:51:10 +01:00
krangelov
eb2103975c better definition for red_A 2019-03-16 15:50:44 +01:00
krangelov
f7156bceaa added DocumentationSlv 2019-03-16 15:50:15 +01:00
krangelov
3332ba2035 bugfix in the documentation for adjectives 2019-03-16 09:48:39 +01:00
Inari Listenmaa
f174e92f70 (Pes) Add alternative insertCompPost; used in an application grammar 2019-03-15 16:58:15 +01:00
Inari Listenmaa
1192a93855 (Pes) Add VPSlashPrep 2019-03-15 16:57:44 +01:00
Inari Listenmaa
6a006597c4 (Pes) Fixes in NP complements 2019-03-15 16:43:47 +01:00
Inari Listenmaa
ad37f1b681 (Pes) Add Mod to Prep + update appComp. Constructors with Mod for Det. 2019-03-15 16:39:48 +01:00
Inari Listenmaa
c61e46be89 (Pes) Add ExistNPAdv + fix ExistNP 2019-03-15 11:20:32 +01:00
Inari Listenmaa
6e4b68c7df Merge pull request #197 from inariksit/persian
Persian
2019-03-14 16:59:48 +01:00
Inari Listenmaa
3751fc0b37 (Pes) add EmbedPresPart to Extend 2019-03-14 16:23:57 +01:00
Inari Listenmaa
47aa4a969d (Pes) Remove unnecessary QForm from QS and QCl
Y/N questions are formed the same way in direct and indirect, not like 
English "do you sleep / if you sleep".
2019-03-14 15:14:03 +01:00
Inari Listenmaa
ac4130ca2e (Pes) Fix missing complement for NP as a subject in mkClause 2019-03-14 14:57:23 +01:00
Inari Listenmaa
58400060ad (Pes) Add premodifier APs 2019-03-14 13:36:02 +01:00
Inari Listenmaa
76cbfa31a7 (Pes) Change place of adverb in VV constructions 2019-03-14 12:41:56 +01:00
krangelov
1b52906a11 Merge branch 'master' of https://github.com/GrammaticalFramework/gf-rgl 2019-03-13 21:42:25 +01:00
krangelov
e336f8d1d3 added some trivial morphological functions in Slovenian 2019-03-13 21:41:52 +01:00
krangelov
bf7a9e4485 add Slovenian to the list of compiled languages 2019-03-13 20:16:07 +01:00
Inari Listenmaa
3ab8fb8c59 Merge pull request #196 from inariksit/persian
Persian
2019-03-13 16:24:58 +01:00
Inari Listenmaa
9b9ef18242 (Pes) Add a constructor for N that doesn't pattern match 2019-03-13 15:48:11 +01:00
Inari Listenmaa
0c91baf08d (Pes) Remove redundant exclusion of lincat of Adv 2019-03-13 15:47:49 +01:00
Inari Listenmaa
edf9aa40db (Pes) Add Gerund{NP,CN,Adv} to Extend 2019-03-13 15:47:29 +01:00
Inari Listenmaa
718d0f9140 (Pes) Fix a few bugs in standalone forms of Dets 2019-03-13 13:37:32 +01:00
Inari Listenmaa
341a600594 Merge pull request #195 from inariksit/persian
Persian
2019-03-13 12:36:47 +01:00
Inari Listenmaa
6e15bce268 (Pes) Full possessive pronoun for compound nouns 2019-03-13 11:50:29 +01:00
Inari Listenmaa
a732975330 (Pes) Remove duplicate and commented out code in ExtraPes 2019-03-13 11:49:21 +01:00
Inari Listenmaa
0291ac6f75 (Pes) Add ICompAP to Extend 2019-03-13 10:59:11 +01:00
krangelov
664a413df8 added trivial morphological functions 2019-03-12 20:39:49 +01:00
Aarne Ranta
6f4dacf26f also count abstract syntax code lines 2019-03-12 11:33:23 +01:00
Ayberk Tosun
7790defb9e [WIP] Round of updates to Turkish (#15)
* Add linearization for `AdAdv` which is just `cc2`

* Add rudimentary linearization for `AdnCAdv`

* Add rudimentary linearization for `UseCl`

* Add trivial linearization for `SubjS`

* Add forgotten semicolon

* Override the lintype of CAdv from CommonX

* Add cases for `CAdv`s

* Augment the linearization of `AdnCAdv` with case information coming from the `CAdv`

* Override the lintype for `AdN`

* Implement linearizations for `AdN` and `AdnCAdv`

* Fix the linearization for `more_CAdv`

* Implment the linearization for `ComparAdvAdj`

* Add a rudimentary linearizations for `ComparAdvAdjS`

* Add rudimentary linearization for `BaseAP`

* Add linearization for `BaseAdV`

* Add linearization for `BaseAdv`

* Add a new param `Gerundification`

* Add a new `VForm` `VNoun` for verbal nouns

* Parameterize the lintypes of S and Cl by the new `Gerundification` param

* Update everything to work with the `Gerundification` parameterization

* Account for the `VNoun` case in `makeVerb`

* Revise the TODO for `ComparAdvAdjS`

* Add the subordination suffix dik in SuffixTur (not used yet)

* Formatting

* Start implementing the suffix -dik in `makeVerb`

* Add TODO for `ComplVS`

* Fix `mkClause`

* Implement a rudimentary linearization for `ComplVS`
2019-03-11 08:06:57 +01:00
Inari Listenmaa
6d01c96c5e Merge pull request #194 from odanoburu/small-fixes
(Por) small fixes
2019-03-06 08:43:07 +01:00
odanoburu
e0d7861e75 (Por) bug/typo in MkImperative
- should use the person we select, not the one that is provided (which
  is always P2)
2019-03-05 19:38:42 -03:00
odanoburu
ba1575d8d7 (Por) small fixes 2019-03-05 18:34:41 -03:00
Inari Listenmaa
1635d7b86f Merge pull request #193 from inariksit/persian
Persian
2019-03-05 17:27:49 +01:00
Inari Listenmaa
7649fbf175 (Pes) Word order + add c2 for VA and V2A 2019-03-05 16:38:27 +01:00
Herbert Lange
e0293b2bd7 work on enabling synopsis 2019-03-05 15:24:36 +01:00
Inari Listenmaa
08bcfe60f6 (Pes) Fix bug in mkV2 after changing Prep 2019-03-05 15:19:09 +01:00
Inari Listenmaa
9aa34ac2b6 (Pes) add ZWNJ + remove some repetition for pronouns 2019-03-05 15:18:57 +01:00
Herbert Lange
3b9ee8db99 fix and enable building of try for latin 2019-03-04 22:16:11 +01:00
Herbert Lange
61ec0c3d80 recreate missinglat and remove missinglatapi instead 2019-03-04 22:15:53 +01:00
Herbert Lange
a365c82e90 add linref for category S 2019-03-04 22:14:27 +01:00
krangelov
2f8e4dfad6 Merge branch 'master' of https://github.com/GrammaticalFramework/gf-rgl 2019-03-04 20:39:55 +01:00
krangelov
11314bdc41 added dummy implementations for DAP and DetDAP 2019-03-04 20:39:04 +01:00
Inari Listenmaa
a10f4b359c Merge pull request #192 from inariksit/persian
(Pes) Adding fields to some lexical categories
2019-03-04 16:58:10 +01:00
Inari Listenmaa
e2a3791ccf (Pes) Adding fields to some lexical categories 2019-03-04 16:48:20 +01:00
Inari Listenmaa
87152d3650 Merge pull request #191 from inariksit/persian
(Pes) Fixes in word order for SlashV2V
2019-03-02 16:52:43 +01:00
Inari Listenmaa
ca51eaf433 (Pes) Fixes in word order for SlashV2V 2019-03-02 16:37:06 +01:00
Inari Listenmaa
4642d92429 Merge pull request #190 from inariksit/persian
(Pes) VVs etc.
2019-03-01 15:48:19 +01:00
Inari Listenmaa
59c4154a31 (Pes) Add new smart paradigms for several mkV* 2019-03-01 15:26:31 +01:00
Inari Listenmaa
086d8f1479 (Pes) Remove c1 field from V2V, change c2 field from Str to Compl
c1 should be covered by isAux. Though that's not a very informative 
field either, it just controls if conjThat is inserted (is if 
isAux=True).
2019-03-01 15:26:14 +01:00
Inari Listenmaa
0ffa2400a3 (Pes) Add a few NPs in Structural 2019-03-01 15:22:23 +01:00
Inari Listenmaa
d005032374 (Pes) make Subj take indicative or subjunctive 2019-03-01 15:21:45 +01:00
Inari Listenmaa
a51a31ca7f (Pes) Rename N2's c to c2 for consistency 2019-03-01 15:18:55 +01:00
Inari Listenmaa
4fe2e38e9b (Pes) Merge isVV and isDef into one parameter 2019-03-01 07:27:04 +01:00
Inari Listenmaa
955927e041 (Pes) Remove VType param; was copied from Punjabi and never used 2019-03-01 07:08:55 +01:00
Inari Listenmaa
42d9299879 Merge pull request #189 from inariksit/persian
(Pes) improvements in VV complements
2019-03-01 06:55:41 +01:00
Inari Listenmaa
7237755609 (Pes) WIP more on tense in VV complements 2019-02-28 17:18:01 +01:00
Inari Listenmaa
6bc2b3506c (Pes) Fix a bug: defective verbs don't have an imperfect prefix 2019-02-28 17:17:26 +01:00
Inari Listenmaa
1beb3272ac (Doc) Fix typos in status.txt 2019-02-27 09:24:47 +01:00
Aarne Ranta
d5ef15c556 a script for counting lines of code in RGL implementations 2019-02-26 20:12:07 +01:00
Inari Listenmaa
e7634e9b6c Merge pull request #188 from inariksit/persian
(Pes) restructuring V, VV, VP + WIP vowels for TTS
2019-02-26 17:16:12 +01:00
Inari Listenmaa
51eb1dbb1a (Pes) WIP vowels for TTS support
Vowels are in Str variables, if you want vowels, only change the value 
of the variable in one place. Default value is empty string.
2019-02-26 16:59:26 +01:00
Inari Listenmaa
d45303ae17 (Pes) Remove compound tenses from V and add new VerbForms.
WIP:
* tenses with different classes of VV
* Fut and Cond Anter
* Progressive forms for copula and have_V2
2019-02-26 16:58:16 +01:00
Inari Listenmaa
f840f6aaff Merge pull request #187 from inariksit/persian
Persian
2019-02-24 10:34:03 +01:00
Inari Listenmaa
f6309b8c09 (Pes) Remove redundant parameters in V*, VP and Cl
Keep VerbForm at VP level, and rename VPHTense to use Tense and 
Anteriority instead of custom names that are then mapped to Tense and 
Anteriority in Use*Cl functions.

WIP: Remove Aux type and use beVerb instead of beAux. There were a lot 
of comments along the lines "check the right form"; will do that with a 
native speaker.
2019-02-24 10:17:11 +01:00
Inari Listenmaa
80f806fabe Merge branch 'master' of https://github.com/GrammaticalFramework/gf-rgl into persian 2019-02-24 08:59:55 +01:00
Inari Listenmaa
9277557869 (Pes) Remove src/ subfolder + update README
Files were out of sync, and development was happening in the 
non-transliterated version.
2019-02-24 08:33:51 +01:00
Inari Listenmaa
abfb57de6d Merge pull request #186 from inariksit/persian
(Pes) fix poss. suff, word order, copula + cleanup
2019-02-23 11:38:40 +01:00
Inari Listenmaa
5a2aedbffa (Pes) WIP merge auxBe and beVerb 2019-02-22 17:50:15 +01:00
Inari Listenmaa
f686761bc5 (Pes) Cleanup, refactoring, add comments 2019-02-22 17:50:02 +01:00
Inari Listenmaa
bd19c7a8a9 (Pes) Remove unused CPolarity 2019-02-22 16:18:14 +01:00
Inari Listenmaa
50200f3e0c (Pes) Word order regarding ra + cleanup and renaming 2019-02-22 15:18:59 +01:00
Inari Listenmaa
c25a236585 (Pes) Make poss.suff. attach to the head for N2,N3 2019-02-22 11:16:49 +01:00
Inari Listenmaa
d175b1eedf (Pes) mkN, ApposN, animacy, compound nouns (#185)
* Add an mkN instance for nouns with unexpected possessive stem
* Rename inanimate and animate to nonhuman and human (old ones kept in 
the hidden part of API)
* Fix john_PN's animacy
* Add an instance of cmpdN with ezafe
* Add ApposNP + some lex. fixes
2019-02-22 10:03:38 +01:00
Inari Listenmaa
8a47956688 Merge pull request #184 from odanoburu/por-mkn
(Por) more mkN paradigms
2019-02-21 18:33:09 +01:00
odanoburu
7848159e4e Merge remote-tracking branch 'upstream/master' into por-ter-aux 2019-02-21 12:02:05 -03:00
odanoburu
7e8270381d (Por) more mkN paradigms
- add compN and compNN as mkN paradigms

- rm tossir_V from Irreg since it is very wrong
- fix oper `a` (contraction of preposition a + definite articles)
2019-02-21 11:59:53 -03:00
Inari Listenmaa
7c9eb652b5 Merge pull request #183 from inariksit/persian-nasrin
(Pes) Add possessive suffixes + cleanup
2019-02-21 08:35:52 +01:00
Inari Listenmaa
f8689eea04 (Pes) Fix also ExtraPes 2019-02-20 17:39:41 +01:00
Inari Listenmaa
49fe707af9 (Pes) Add more languages to ConstructionPes 2019-02-20 17:33:31 +01:00
Inari Listenmaa
7b025e3c44 Merge branch 'master' of https://github.com/Nasrin63/gf-rgl into persian-nasrin 2019-02-20 17:32:19 +01:00
Nasrin Mostofian
0e878556fa Renamed parameters + added possessive suffixes 2019-02-20 16:44:34 +01:00
Inari Listenmaa
d0a23300c1 Merge pull request #181 from inariksit/persian
Persian
2019-02-20 15:20:53 +01:00
Ehrlemark
0c14c844ca French mixed up arguments (#180)
* Corrected  mixed up order of arguments to mkAdj'

* Revert "Corrected  mixed up order of arguments to mkAdj'"

This reverts commit eea4f791e4.

* Corrected mixed up order of arguments to mkAdj'.
2019-02-20 12:45:12 +01:00
Inari Listenmaa
b50a4172c3 (Pes) Add Construction (#178) 2019-02-18 13:58:11 +01:00
Inari Listenmaa
18ee4bc8a0 (Spa) Fix reflexive verbs (#179) 2019-02-18 13:51:29 +01:00
Inari Listenmaa
f3ef5a58e9 Merge branch 'master' of https://github.com/GrammaticalFramework/gf-rgl into persian 2019-02-18 10:14:10 +01:00
Inari Listenmaa
f0386764ff (Spa) Add a known issue in the README 2019-02-17 22:37:28 +01:00
Inari Listenmaa
e2bfe45a94 (Ara) use indeclNP "foo" instead of \\_ => "foo" in IdiomAra (#177)
to make a better example for my blog post :-P
2019-02-17 22:28:42 +01:00
Inari Listenmaa
b1330c495a (Spa) morphology and segmentation fixes in DictSpa + add a few words (#176) 2019-02-16 21:50:18 +01:00
Inari Listenmaa
e35eb5260d (Spa) add README 2019-02-15 22:12:02 +01:00
Inari Listenmaa
3fe5753139 (Spa) Add monolingual dictionary (#175)
* (Spa) Add monolingual dictionary
2019-02-15 21:26:37 +01:00
Inari Listenmaa
eb77a27ac3 Merge pull request #174 from odanoburu/por-ter-aux
(Por) add ter as optional auxiliary verb
2019-02-14 13:48:07 +01:00
odanoburu
b825c0e14a (Por) add ter as optional auxiliary verb
- make it the default
- add paradigm to pick verb type (pick auxiliary verb or make it
  reflexive)

(Por,Spa) fix lexicon entry
2019-02-14 10:26:17 -02:00
Inari Listenmaa
60a750f1bc Merge pull request #173 from odanoburu/extendromancefunctor
(Romance,Por,Spa) refactor Extend{Por,Spa} into ExtendRomanceFunctor
2019-02-13 20:22:45 +01:00
odanoburu
1f5e62299e (Romance,Por,Spa) refactor Extend{Por,Spa} into ExtendRomanceFunctor
- couldn't get a functor on top of another working in GFSS2018, so now
  we just copy the relevant definitions from ExtendFunctor and add the
  Romance-specific ones
- add stare_V to DiffRomance (and essere_V for symmetry) so that we
  can use it in ExtendRomance; using Latin verb name for fairness;
- add two missing lins to ExtendFunctor

  + related changes
2019-02-13 13:00:52 -02:00
Inari Listenmaa
e4bd251a0d Merge pull request #172 from inariksit/spanish
(Spa) abrido->abierto
2019-02-13 14:53:27 +01:00
Inari Listenmaa
98d55db14a Merge branch 'master' of https://github.com/GrammaticalFramework/gf-rgl into spanish 2019-02-13 14:16:28 +01:00
Inari Listenmaa
07823999a9 (Spa) Fix abrido->abierto in IrregSpa + automatic whitespace removal 2019-02-13 14:15:54 +01:00
Inari Listenmaa
1d3009bc77 Merge pull request #169 from odanoburu/por-mkimperativebug
(Por) fix mkImperative
2019-02-13 13:47:16 +01:00
Inari Listenmaa
167cc8fc6b Merge pull request #171 from inariksit/extend-spa
(Spa) Add Extend functions, mostly copied from Por
2019-02-13 11:01:03 +01:00
Inari Listenmaa
49f17e47a4 (Spa) Add Extend functions, mostly copied from Por 2019-02-13 10:29:59 +01:00
Inari Listenmaa
2389718676 (Pes) Special agreement rules 2019-02-13 10:09:22 +01:00
Inari Listenmaa
f8c0f7038f (Pes) A few more orthography issues 2019-02-13 10:09:02 +01:00
odanoburu
c922c1c188 (Por) fix make imperative
- wanted to switch P2 and P3, not have P1 become P3
2019-02-12 12:28:13 -02:00
Inari Listenmaa
2c3372a5fd Merge pull request #167 from odanoburu/por-genrp
(Por) add GenRP to ExtendPor
2019-02-12 15:02:31 +01:00
Inari Listenmaa
2ac36ba8e4 Merge branch 'master' of https://github.com/GrammaticalFramework/gf-rgl into persian 2019-02-11 14:31:46 +01:00
Inari Listenmaa
a532389bbd (Pes) Fix orthography + add a few words in LexiconPes 2019-02-11 11:30:05 +01:00
Inari Listenmaa
9ea34d871c (Pes) More comments in ParadigmsPes 2019-02-11 11:29:45 +01:00
odanoburu
db671b2e31 (Por) add GenRP to ExtendPor 2019-02-10 10:22:12 -02:00
Inari Listenmaa
57b59ff386 Merge pull request #166 from odanoburu/iberic-clause-inversion
(Por,Spa) don't invert word order in questions most of the time
2019-02-10 08:47:34 +01:00
Inari Listenmaa
56328d56f1 Merge pull request #164 from odanoburu/usecomp_estar
(Extend,Por,Spa) add UseComp_estar
2019-02-10 08:41:49 +01:00
odanoburu
de301c45cd (Por,Spa) don't invert word order in questions most of the time
- don't invert in QuestIAdv either
(Romance) allow for finer-grained choice of when to invert word order
in questions
2019-02-09 12:54:54 -02:00
Inari Listenmaa
f4daeb4f54 Merge pull request #165 from inariksit/persian
Persian
2019-02-09 15:36:33 +01:00
Inari Listenmaa
5fa83b90e4 (Pes) Add possibility to use vowel diacritic (kasre) in mkEzafa
It's still not using kasre, but if you want to use it, just change one 
line.
2019-02-09 15:28:20 +01:00
Inari Listenmaa
b0ea6680fb (Pes) comment out conjThat from insertVV; TODO where it should go? 2019-02-09 15:27:06 +01:00
Inari Listenmaa
812602e6f8 (Pes) Cleanup; add comments in ParadigmsPes
Hide some confusing constructors from the public API, add mkA2 and a 
pattern matching mkV
2019-02-09 15:26:12 +01:00
odanoburu
95eb384223 (Extend,Por,Spa) add UseComp_estar
- with default UseComp lin
2019-02-09 09:37:01 -02:00
Inari Listenmaa
ceb876eb37 Merge pull request #163 from inariksit/persian-fixes
Persian fixes
2019-02-07 20:22:14 +01:00
Inari Listenmaa
55decd9317 (Pes) Noun is indefinite if predicative and modified by adjective
According to this source: 
https://sites.la.utexas.edu/persian_online_resources/nouns/noun-in-a-predicative-position/
2019-02-07 19:49:06 +01:00
Inari Listenmaa
a45cc462e3 (Pes) Fixes in VV constructions
* Add the conjunction که 'that' in VV
* Fix word order in imperatives formed of VV+complement
2019-02-07 19:37:17 +01:00
Inari Listenmaa
61838b818e (Pes) Fix orthography and add a vowel diacritic in mkEzafa and mkEnclic 2019-02-07 19:34:21 +01:00
Inari Listenmaa
04c5f433ec Merge pull request #161 from inariksit/persian
Persian
2019-02-07 11:39:51 +01:00
Inari Listenmaa
79a375a03e (Pes) add beVerb and use in Lexicon for some compound verbs 2019-02-07 11:10:47 +01:00
Inari Listenmaa
d0d760d68b (Pes) Remove hardcoded have_V2 for one constructed in MorphoPes 2019-02-07 11:10:04 +01:00
Inari Listenmaa
8a6b0f8f01 (Pes) Added ZWNJ to verb forms + big cleanup and refactoring 2019-02-07 11:00:26 +01:00
Inari Listenmaa
75cf3643ec (Pes) Remove unused MakeStructuralPes 2019-02-06 20:12:42 +01:00
Inari Listenmaa
b0c9a3527b Merge pull request #160 from odanoburu/iberic-neg-imp
(Por) also bind clitic with hyphen in imperative
2019-02-06 18:40:21 +01:00
odanoburu
b976158388 (Por) also bind clitic with hyphen in imperative 2019-02-06 13:23:23 -02:00
Inari Listenmaa
1da12df1db Merge pull request #159 from odanoburu/iberic-neg-imp
(Cat,Por,Spa) Iberic imperative
2019-02-06 15:23:34 +01:00
odanoburu
32bde9dd1b (Cat) improve Catalan imperative 2019-02-06 11:19:55 -02:00
Inari Listenmaa
28917900ba Merge pull request #158 from odanoburu/ud-treebank
(UD treebank) fix two trees using it_Pron instead of ImpersCl
2019-02-05 19:21:06 +01:00
odanoburu
8939dee214 (Por) update lexicon given past changes in morphological paradigms 2019-02-05 13:59:04 -02:00
odanoburu
2679717852 (Por,Spa) fix negative imperative
- reflexive pronoun is before the verb in the negative, not after
- verb form is not the same as positive imperative, but the same as
  present subjunctive

thanks to @inariksit for catching this bug!

(Por) handle politeness better
formal -> 2nd person singular (tu)
informal sg -> 3rd person singular (você, conjugated correctly)
informal pl -> 3rd person plural (vocês, conjugated correctly)

unlike Spa, Por uses 2nd person as polite form; the PorRG thus would
have no direct access to vós (second person plural), which is rather
rare (in Brazilian Por, at least). colloquial speech in Brazil
actually mangles both, using tu with você conjugation, etc; but this
out of scope for the RGL.

(Por) fix imperative
- should use hyphen to bind the reflexive pronoun
2019-02-05 13:58:15 -02:00
odanoburu
28a9453750 (UD treebank) fix two trees using it_Pron instead of ImpersCl 2019-02-05 09:47:10 -02:00
Inari Listenmaa
f2cba3fb4d Merge pull request #157 from inariksit/persian
Persian
2019-02-04 16:59:09 +01:00
Inari Listenmaa
7cb2298b55 (Pes) Add zero-width non-joiner + mkN in ParadigmsPes 2019-02-04 10:44:44 +01:00
Inari Listenmaa
19d4934671 (Pes) Add isNum to SymbOrd 2019-02-04 10:07:48 +01:00
Inari Listenmaa
271feb0295 Merge pull request #156 from odanoburu/por-dict-update-2
(Por) update Dict
2019-02-01 15:07:07 +01:00
odanoburu
a3a0a3958b (Por) update Dict
-- opening new PR to save space (dictionary diffs are big!)

- don't add gender information to noun fun names if uneeded
- update README with this info
- update gfdoc sections in MorphoPor
2019-02-01 10:54:00 -02:00
Inari Listenmaa
494acc4153 (Pes) Add ExtendPes, so far only GenNP implemented 2019-01-31 17:05:16 +01:00
Inari Listenmaa
8a69cd40c7 (Pes) Cleanup + automatic whitespace removal 2019-01-31 17:04:47 +01:00
Inari Listenmaa
781f049fdd (Pes) Add isNum to Num + Ord; fix bug in DetCN, DetQuant and DetQuantOrd
See https://sites.la.utexas.edu/persian_online_resources/nouns/

"A noun modified by a number is never pluralized; that is to say, it is 
invariably singular"

In the old grammar, DetQuant would always make the Det into numeral, and 
so Sg was always chosen in DetCN.
2019-01-31 16:38:46 +01:00
Inari Listenmaa
7a48a09931 (Pes) Use enclitic form of NP in predicative
According to this source: 
https://sites.la.utexas.edu/persian_online_resources/nouns/noun-in-a-predicative-position/
2019-01-31 16:29:40 +01:00
Inari Listenmaa
edc41a3a5c Merge pull request #154 from inariksit/arabic
(Ara) Use PerGenNum in the table for RCl and RS; compiles 15sec faster
2019-01-30 17:31:03 +01:00
Inari Listenmaa
80d7e293ee (Ara) Fix bug in PossPron 2019-01-30 17:18:53 +01:00
Inari Listenmaa
bf0fd56960 (Ara) Use PerGenNum in the table for RCl and RS; compiles 15sec faster 2019-01-30 16:23:11 +01:00
Inari Listenmaa
269191cf9a Merge pull request #153 from inariksit/arabic
Arabic
2019-01-29 20:30:25 +01:00
Inari Listenmaa
7cdcc0931f (Ara) Small typofix + add comment 2019-01-29 17:57:38 +01:00
Inari Listenmaa
e468b48ded (Ara) Fix the corner case where ReflVP is called after VPSlashPrep.
Also fix noPrep to accPrep (the default object case).

Tested with gftest -o, only changes were in combinations of ReflVP and 
VPSlashPrep.
2019-01-29 17:57:21 +01:00
Inari Listenmaa
ac5352f852 (Ara) Replace two 2-valued params in VP with one 3-valued param.
* is copula / is have_V2 / is neither

There is no difference; all three options are is mutually exclusive. 
There 2 params in the first place only by accident. First one was added 
by AED 10 years agon, second by me only some weeks ago, without thinking 
that the params are mutually exclusive.

Also tested with gftest, no difference found after 2 hours of running.
2019-01-29 17:54:44 +01:00
Inari Listenmaa
08c0b3fe54 (Ara) Fixes in DetNP + some Dets and Quants 2019-01-29 15:46:59 +01:00
Inari Listenmaa
267ef1b178 (Ara) Move mkQuant functions from Paradigms to Res 2019-01-29 14:11:05 +01:00
Aarne Ranta
5a50706345 changed suffix in SymbOrd to :e which is more general, but not perfect of course 2019-01-29 11:31:11 +01:00
Herbert Lange
c30a33b2cb recreating missing 2019-01-28 18:25:09 +01:00
Inari Listenmaa
6d477ccbeb Merge pull request #152 from inariksit/arabic
Arabic: add new funs and change V*V/V*S lincats
2019-01-26 19:26:39 +01:00
Inari Listenmaa
d5f3fe7479 (Ara) Add new funs in ExtendAra + clean up
Remove some old exclusions, which were excluded because the necessary 
RGL function wasn't yet implemented in the autumn.
2019-01-26 18:39:45 +01:00
Inari Listenmaa
dc4e866942 (Ara) small cleanup 2019-01-26 18:38:57 +01:00
Inari Listenmaa
9c903a76ab (Ara) Add SlashV2S 2019-01-26 18:38:42 +01:00
Inari Listenmaa
aab42b21f6 (Ara) Change lincats for VV, V2V, VS and V2S
Update functions and opers in Lexicon, Paradigms and Verb to accommodate 
the change
2019-01-26 18:38:05 +01:00
Inari Listenmaa
ee092b0042 (Ara) Add ExistIP 2019-01-26 18:34:52 +01:00
Inari Listenmaa
9fd88554ee Merge pull request #151 from inariksit/arabic-fixes
Arabic: fixes in Question + improve docs
2019-01-25 13:21:36 +01:00
Inari Listenmaa
37f7be4777 (Ara) Improve documentation in ParadigmsAra
Remove some mkNs from public API, but keep them in the hidden part. This 
way old code won't break, but the dubious constructors aren't shown in 
the synopsis.
2019-01-25 11:16:10 +01:00
Inari Listenmaa
ae51f19459 (Ara) Clean up and add comments in QuestionAra 2019-01-25 10:15:48 +01:00
Inari Listenmaa
535be667c7 (Ara) Add QVP functions 2019-01-25 10:15:23 +01:00
Inari Listenmaa
7fb1d32691 (Ara) Fix QuestSlash so preposition shows up in the right place
Add comments/instructions to other functions that use complClSlash
2019-01-25 10:07:33 +01:00
Inari Listenmaa
c2bfc35b4e Merge pull request #150 from inariksit/arabic-misc
Arabic misc
2019-01-23 17:21:51 +01:00
Inari Listenmaa
1373840389 (Ara) Add some comments 2019-01-23 16:42:24 +01:00
Inari Listenmaa
83c6883711 (Ara) Add a field to VP: whether to use negative copula for negation 2019-01-23 16:41:36 +01:00
Inari Listenmaa
674b13292d (Ara) Add documentation for mkVV constructors 2019-01-23 16:41:26 +01:00
Inari Listenmaa
d5084f9041 (Ara) Sorry again, still don't know how to use git. 2019-01-23 16:41:07 +01:00
Inari Listenmaa
fa5f4fe829 (Ara) force also imperative forms in forcePerson 2019-01-23 16:40:31 +01:00
Inari Listenmaa
1c4db86736 (Ara) Add all forms of the negative copula 2019-01-23 16:40:16 +01:00
Inari Listenmaa
a5d1dda8c5 (Ara) Fix wrong information in mkV : (root,masdar:Str) -> VerbForm -> V 2019-01-23 16:40:06 +01:00
Inari Listenmaa
29cc78439d (Ara) Ignore this, I'm learning to use git cherry-pick. 2019-01-23 16:39:33 +01:00
Inari Listenmaa
fd0a7da79a (Ara) Remove Preposition from API, only use Prep
Preposition still used internally in ResAra and MorphoAra; Prep is a
subtype. For the API it makes sense to only have Prep, not two types.
2019-01-23 16:38:13 +01:00
Inari Listenmaa
e1eb288c29 (Ara) Cleanup in verbDefBool 2019-01-23 16:38:01 +01:00
Aarne Ranta
bea351b2bf added ExtenFin.ByVP 2019-01-22 08:57:19 +01:00
Inari Listenmaa
8e908a6810 Merge pull request #147 from inariksit/arabic
Arabic
2019-01-22 08:32:36 +01:00
Aarne Ranta
40144e810b added functions to ExtendFin, also excluding some functor instantiations 2019-01-21 20:46:01 +01:00
Inari Listenmaa
1d94d319b8 (Ara) Refactor ResAra: move root-and-pattern morphology into MorphoAra 2019-01-21 17:38:45 +01:00
Inari Listenmaa
c8523f0413 (Ara) Small bugfixes that came from changing DefForms 2019-01-21 14:01:20 +01:00
Inari Listenmaa
1faa9acd93 (Ara) Fix dual for defective verbs that end in w 2019-01-21 12:17:55 +01:00
Inari Listenmaa
8ac74c9384 Merge pull request #146 from odanoburu/patch-4
fix broken link in synopsis
2019-01-19 15:16:49 +01:00
Inari Listenmaa
c3590f0334 (Ara) WIP Restructuring Morpho and Res + fixed some forms in class 1d3 2019-01-18 17:34:13 +01:00
Aarne Ranta
0ee80e5eac ParadigmsEng: added auxVV ; corrected negative forms of infVV 2019-01-17 20:20:26 +01:00
bruno cuconato
fe9cc96992 fix broken link 2019-01-16 09:34:05 -02:00
Inari Listenmaa
9054c6a909 Merge pull request #145 from inariksit/arabic
(Ara) add a few words in Structural and Construction
2019-01-15 22:47:59 +01:00
Inari Listenmaa
92126763c7 (Ara) add a few words in Structural and Construction 2019-01-15 22:32:20 +01:00
Inari Listenmaa
738091d170 Merge pull request #142 from odanoburu/fix
(Por) correct examples
2019-01-15 16:59:34 +01:00
Inari Listenmaa
6dc0269c1d Merge pull request #144 from inariksit/arabic
(Ara) misc small fixes
2019-01-15 16:59:24 +01:00
Inari Listenmaa
5957dcf301 (Ara) misc small fixes 2019-01-15 16:54:08 +01:00
Inari Listenmaa
2a2114b227 Merge pull request #143 from inariksit/arabic
Arabic
2019-01-15 16:43:18 +01:00
odanoburu
162d010c1c (Por) correct examples
+ comment unnecessary cases
in noun paradigms
2019-01-15 11:57:49 -02:00
Inari Listenmaa
25275794cf (Ara) Add quadriliteral FormXI + improve documentation 2019-01-15 10:32:26 +01:00
Inari Listenmaa
e44440928a (Ara) Add v4assimilated 2019-01-15 10:32:01 +01:00
Inari Listenmaa
c021129cda (Ara) Add missing masdars to some paradigms 2019-01-15 10:30:27 +01:00
Inari Listenmaa
8f0bd00ecc Merge pull request #141 from inariksit/arabic
Arabic
2019-01-14 21:30:44 +01:00
Inari Listenmaa
63c8049416 (Ara) Move adv in AdvCN and SentCN to another field, to fix word order 2019-01-14 21:23:12 +01:00
Inari Listenmaa
51e714864e (Ara) add parameter to uttVP oper 2019-01-14 21:22:42 +01:00
Inari Listenmaa
6348f06052 (Ara) WIP verbal nouns; new paradigms+keep old ones backwards compatible 2019-01-14 21:21:55 +01:00
Herbert Lange
0ae057b55a updated latin rgl 2019-01-14 17:23:47 +01:00
Herbert Lange
ce13e0dee3 make links for dict files on the top level 2019-01-14 17:05:00 +01:00
Herbert Lange
58c8cf70ea copy files over from GF-latin 2019-01-14 16:40:07 +01:00
Inari Listenmaa
65fa4cfc20 Merge pull request #140 from odanoburu/por-cop
(Por) change copula type from bool to sum param
2019-01-14 00:03:12 +02:00
odanoburu
2f4db8e0bc (Por) change copula type from bool to sum param
Portuguese actually has several verbs that can act as copulas,
although the main ones are ser and estar. this allows other types of
copulas to be added.
2019-01-13 18:25:53 -02:00
Aarne Ranta
82f31077d7 MakeStructuralEng,Fin : add Str to a Det, to enable for instance 'very many' 2019-01-12 08:55:36 +01:00
Inari Listenmaa
d95c74971a Merge pull request #139 from odanoburu/por-doc
(Por) correct documentation generation from Paradigms
2019-01-11 22:41:56 +01:00
Inari Listenmaa
3e7957857f Merge pull request #136 from odanoburu/por-dict
(Por) add Dict module, improve Irreg module + update README
2019-01-11 22:41:44 +01:00
odanoburu
653616a025 (Por) don't use Dict in All 2019-01-11 13:40:23 -02:00
odanoburu
182ef92260 (Por) correct documentation generation in Paradigms
- use gfdoc correctly
- use paradigms in Lexicon
- use lin instead of lock_* in Paradigms
- fix typo in languages.csv
2019-01-11 13:26:20 -02:00
Inari Listenmaa
d398863cf6 Merge pull request #138 from inariksit/arabic
Arabic
2019-01-11 15:50:27 +01:00
Inari Listenmaa
9d1e9b1bf1 (Ara) include VPSlash's c2 in ReflVP 2019-01-11 15:46:38 +01:00
Inari Listenmaa
f0ae2cfdb2 (Ara) add missing diacritic to with_Prep 2019-01-11 15:46:05 +01:00
Inari Listenmaa
2c0a34b9f4 Merge pull request #137 from inariksit/arabic
Arabic
2019-01-10 20:43:05 +01:00
Inari Listenmaa
cf9a9b31ad (Ara) Add new mkA constructor + improve documentation of old ones 2019-01-10 20:20:28 +01:00
odanoburu
40a6b516d9 (Por) fix import name 2019-01-10 15:06:55 -02:00
odanoburu
cbf67ab528 (Por) open Extra, Dict,Irreg in All to force compilation 2019-01-10 13:32:12 -02:00
odanoburu
cfd110632c (Por) fix compilation error
- change name of verbs
2019-01-10 13:29:14 -02:00
odanoburu
22788d2d66 (Por) update README
- with Dict and Irreg info
- with tense change
2019-01-10 12:36:35 -02:00
odanoburu
ead472bf51 Merge remote-tracking branch 'upstream/master' into por-dict 2019-01-10 12:34:00 -02:00
odanoburu
a4334f0904 (Por) add Dict module, improve Irreg module
* Dict
- Dict only contains nouns and adjectives using the full-form
  paradigms^1 (for stability and because generating the minimal ones
  would take longer)
- verbs can be found in Irreg, using bescherelle paradigms -- the
  full-form ones would make the file too big!
- adverbs are just {s : Str}, so if you know their names you can make
  them yourself, no need to include them (but I can if it's best)

^1: adjectives actually use the almost full-form paradigm, but they
should be correct except for a couple of cases

* Irreg
- renamed IrregBesch to Irreg
- added more verbs (there are still quite a few missing)
2019-01-10 12:18:25 -02:00
Inari Listenmaa
186c41bdbb (Ara) add nothing_NP + improve smart paradigm for nisbaA 2019-01-10 14:25:10 +01:00
Inari Listenmaa
a79c1cfc5f Merge pull request #135 from odanoburu/morpho
(Por) improve adjective smart paradigms
2019-01-10 13:24:19 +01:00
Inari Listenmaa
b5e9120bae Merge pull request #134 from odanoburu/por-tense
(Por) differ from Romance tense/anteriority in only one case
2019-01-10 13:22:19 +01:00
odanoburu
96b64320b9 Merge remote-tracking branch 'upstream/master' into por-dict 2019-01-10 09:56:47 -02:00
odanoburu
9376c108ac (Por) rm (indirect) use of runtime gluing 2019-01-10 09:53:47 -02:00
odanoburu
aeb4b3b3c1 (Por) differ from Romance tense/anteriority in only one case
- in order to follow Romance more closely, we only avoid using the
  auxiliary in (RPres,Anter), instead of swapping the perfect and
  imperfect forms too
2019-01-10 08:59:59 -02:00
Inari Listenmaa
04400471b8 Merge pull request #133 from inariksit/arabic
(Ara) Add new mkV2V constructors + better comments for degrA

(Ara) Add new paradigm for assimilated+defective FormI verbs

(Ara) misc. small fixes/additions
2019-01-09 19:44:36 +02:00
Inari Listenmaa
90f1585d7e (Ara) misc. small fixes/additions 2019-01-09 19:39:04 +02:00
Inari Listenmaa
5a0818920b (Ara) Add new paradigm for assimilated+defective FormI verbs 2019-01-09 19:38:47 +02:00
odanoburu
167e80df97 (Por) improve adjective smart paradigms
- make it about guessing feminine form from the lemma (masculine form)
- this way one can reuse the noun paradigm in the adjective paradigms,
  simplifying it and improving it at the same time
- add cases for 'mente'
obs: works but doesn't compile?
2019-01-09 12:00:32 -02:00
Inari Listenmaa
002fea0e66 (Ara) Add new mkV2V constructors + better comments for degrA 2019-01-09 13:51:06 +02:00
Inari Listenmaa
3aa7eb5e9b Merge pull request #131 from odanoburu/morpho
(Por) generalize acuteToVowel to diacriticToVowel
2019-01-09 13:49:03 +02:00
odanoburu
01ad6e0876 (Por) generalize acuteToVowel to diacriticToVowel
- also fix parenthesis that broke build
2019-01-09 08:54:22 -02:00
odanoburu
ea05625a88 Merge remote-tracking branch 'upstream/master' into morpho 2019-01-09 08:34:41 -02:00
odanoburu
971df762f5 (Por) use lin instead of lock_* 2019-01-09 08:34:38 -02:00
Inari Listenmaa
282e8ab589 Merge pull request #130 from odanoburu/morpho
(Por) improve smart paradigm for nouns
2019-01-09 08:33:42 +02:00
Inari Listenmaa
967e28e3f7 Merge pull request #129 from odanoburu/por-warnings
(Por) miscellaneous fixes
2019-01-09 08:16:54 +02:00
Inari Listenmaa
fcdcd7d6fb Merge pull request #128 from odanoburu/romance-tense-ant
(Romance,Por) allow Romance Languages to choose different verb forms for the same tense/anteriority
2019-01-09 08:15:49 +02:00
odanoburu
e2d657bf7a (Por) delete smartGenNoun, actually 2019-01-08 10:22:01 -02:00
odanoburu
3cb24d9b0d (Por) improve smart paradigm for nouns
- handle 'ão' better (thanks @inariksit!)
- add more cases (for compounds with hyphen, acutes ending in 'l', etc
- concentrate smartness in mkNomReg (i.e., make smartGenNoun dumb)
2019-01-08 10:12:42 -02:00
odanoburu
3b55eaa89d (Por) misc fixes
- add n_units_of_NP
- add n_unit_CN
- refactor adjective paradigm opers
- rm identity definitions in Idiom
2019-01-07 13:35:31 -02:00
odanoburu
8013362e48 (Por) use chooseTA
- pick imperfect tense when verb form is present anterior
- pick perfect tense when verb form is past simultaneous
2019-01-07 10:30:31 -02:00
odanoburu
560f9b22c2 (Por) WIP: remove compilation warnings 2019-01-07 09:55:38 -02:00
odanoburu
424e65d66c (Romance) abstract tense/anteriority choice of verb/auxiliary to oper
in Diff

- in preparation for changing the choices in DiffPor
2019-01-07 09:51:10 -02:00
Inari Listenmaa
579bdfcca5 Merge pull request #127 from inariksit/doc
(synopsis) Fix typos in Music example
2019-01-07 09:18:21 +02:00
Inari Listenmaa
f72890bd05 (synopsis) Fix typos in Music example 2019-01-07 08:42:57 +02:00
Inari Listenmaa
fb5d274a36 Merge pull request #126 from inariksit/arabic
Arabic
2019-01-05 21:40:09 +02:00
Inari Listenmaa
dd8c604996 Merge pull request #125 from odanoburu/term
(Por) misc fixes
2019-01-05 21:37:37 +02:00
Inari Listenmaa
98b5cf9ab9 (Ara) misc small additions/tweaks
AdvAP: reuse implementation of AdAP
BaseNP, ConsNP, ConjNP: don't make NP by default heavy.
2019-01-05 21:32:27 +02:00
Inari Listenmaa
b2ea7a5497 (Ara) Add ReflA2 and ReflVP 2019-01-05 21:30:57 +02:00
odanoburu
cf0d272a22 (Por) misc fixes
- add oper for compound nouns
- fix smartparadigm for adjectives
- fill Terminology to avoid warnings

(Eng) add pragma line to LangEng
2019-01-04 12:19:46 -02:00
Inari Listenmaa
e448f0e869 Merge pull request #124 from inariksit/arabic
Arabic
2019-01-04 15:09:25 +02:00
Inari Listenmaa
53c719c70e (Ara) typofix 2019-01-04 14:34:49 +02:00
Inari Listenmaa
f32e49ca92 (Ara) Fix bug in ImpersCl
ImpersCl (VP -> Cl) used to check whether the VP is predicative, and
in the positive case, force the dummy subject to not be a pronoun.
This has been wrong since the time I changed prodrop rules in PredVP.

The error that followed manifested when the Cl was put in subordinate
position: the subject pronoun did not attach to the conjunction.
An example follows.

Lang: SubjS that_Subj (UseCl (TTAnt TPres ASimul) PPos (ImpersCl (UseComp (CompNP (DetCN (DetQuant IndefArt NumSg) (UseN girl_N))))))
LangEng: that it is a girl

Old LangAra: أنَّ ها بِنتٌ (wrong)
New LangAra: أنَّ &+ ها بِنتٌ (correct)
2019-01-04 13:39:58 +02:00
Inari Listenmaa
4141375976 (Ara) Add a distinction in CN and NP whether it's heavy
This makes a difference in word order; default is VSO, but if the
subject NP is complex, e.g. coming from RelNP or SentCN,
the more natural word order is SVO.

Example that triggered the change comes from an application grammar:

Gold standard by informant: مَا تَوَصْلّنَا إلَيهِ يَبْدُو مَنْطِقِيَّاً
Grammar before change: يَشْعُرُ مَاً نَتَوَصَّلُ إِلَىهُ مَنْطِقِيّاً
Grammar after change:  مَاً نَتَوَصَّلُ إِلَىهُ يَشْعُرُ مَنْطِقِيّاً
2019-01-04 13:01:03 +02:00
Inari Listenmaa
19dca60b6e (Ara) Add EmptyRelSlash to ExtendAra 2019-01-04 12:56:46 +02:00
Inari Listenmaa
93679cbcb2 (Cat) add example of a known issue in README 2019-01-04 10:24:21 +02:00
Inari Listenmaa
4f4cfeb60d (Cat) add README.md 2019-01-04 09:54:42 +02:00
Inari Listenmaa
5553e56a33 (Fin) add a known bug to README 2019-01-03 22:03:56 +02:00
Inari Listenmaa
c86f073c46 (Ara) fix links in README 2019-01-03 21:53:43 +02:00
Inari Listenmaa
8030ce662a Merge pull request #122 from odanoburu/irregbesch
(Por) don't use IrregBeschPor in {All,Lang}Por for faster compilation
2019-01-03 21:50:31 +02:00
Inari Listenmaa
50e3546375 (Ara, Eus, Est, Som) Add READMEs (WIP) #123
Add READMEs (WIP) for Arabic, Basque, Estonian and Somali.
2019-01-03 21:47:51 +02:00
Inari Listenmaa
b2eb6146dc Merge pull request #121 from odanoburu/readme
(Romance, Por, #120) add READMEs
2019-01-03 21:47:20 +02:00
Inari Listenmaa
9b86304fb3 Add READMEs (WIP) for Arabic, Basque, Estonian and Somali. 2019-01-03 21:38:18 +02:00
Aarne Ranta
34d028e5eb started finnish/README.md 2019-01-03 16:11:45 +01:00
Aarne Ranta
e251081325 added negation to Generic and Impersonal idioms with negative VP 2019-01-03 16:00:16 +01:00
odanoburu
111d883dac (Por) don't use IrregBeschPor in {All,Lang}Por for faster compilation
(although it is no problem now, as the module grows it might slow
things down)
2019-01-03 12:11:35 -02:00
odanoburu
16f753843b (Por, #120) add note about IrregBeschPor module 2019-01-03 12:11:13 -02:00
odanoburu
b4ba6f3859 (Romance, Por, #120) add READMEs
- Romance still needs history information!
2019-01-03 11:20:26 -02:00
John J. Camilleri
e61670dce2 Bulletise language info 2019-01-03 13:48:57 +01:00
John J. Camilleri
36d3d4b34c Add README for Maltese, as a starting point for establishing the practice 2019-01-03 13:46:47 +01:00
Aarne Ranta
7bd08f9bde Finnish negative NPs: retaining 'ei' in UttNP and ExistNPAdv 2019-01-02 19:32:32 +01:00
Inari Listenmaa
96ed277830 Merge pull request #116 from inariksit/arabic
Arabic
2019-01-02 14:00:29 +02:00
Inari Listenmaa
e1cb4ea8c3 (Ara) Add constructors for geminate verbs in classes 8 and 10 2019-01-02 13:40:03 +02:00
Inari Listenmaa
b325a61299 (Ara) hack to force the case of a NP 2019-01-02 13:39:28 +02:00
Inari Listenmaa
829ab04dcf (Ara) Add a constructor for mkDet that allows gender variance 2019-01-02 13:38:45 +02:00
Inari Listenmaa
4a3f17c166 Merge pull request #115 from inariksit/arabic
Arabic
2019-01-01 18:47:28 +02:00
Inari Listenmaa
606ed5f630 (Ara) make all nouny categories (except CN) take Const in UttX 2019-01-01 17:51:05 +02:00
Inari Listenmaa
aadc00f971 (Ara) Fix geminate verb constructor 2019-01-01 17:48:57 +02:00
Inari Listenmaa
d8debc25c4 (Ara) refactor sound verb constructors; reuse v1sound for v7sound 2019-01-01 17:48:37 +02:00
Inari Listenmaa
447126c713 (Ara) fix pattern matching for geminate verbs in classes 1 and 7 2019-01-01 17:42:35 +02:00
Inari Listenmaa
33d20b15e4 (Ara) fix bug in MkVPS + comment about possible improvement in [VPS]s 2019-01-01 10:06:11 +02:00
Inari Listenmaa
0a737299c1 (Ara) replace old have_V2 ('X owns Y') with the structure 'Y is on X' 2019-01-01 09:51:27 +02:00
Inari Listenmaa
dbe14786e7 (Ara) fix SlashVV 2019-01-01 09:50:44 +02:00
Inari Listenmaa
d0158265d1 (Ara) don't bind if object case is nominative 2019-01-01 09:50:35 +02:00
Inari Listenmaa
a9394f58fb Merge pull request #114 from inariksit/arabic
Arabic
2018-12-31 20:26:58 +02:00
Inari Listenmaa
a6948288b7 (Ara) whitespace + other small cleanup here and there 2018-12-31 18:01:33 +02:00
Inari Listenmaa
10f5e126ab (Ara) Add Slash2V3 + fix Slash3V3 2018-12-31 17:56:55 +02:00
Inari Listenmaa
42e31a3dce (Ara) Add mkA constructor for non-inflecting component in the adjective 2018-12-31 14:11:40 +02:00
Inari Listenmaa
422ace8879 (Ara) Add n_units_AP in ConstructionAra 2018-12-31 14:11:04 +02:00
Inari Listenmaa
15eef8826e Merge pull request #113 from inariksit/arabic
Arabic
2018-12-30 19:30:54 +02:00
Inari Listenmaa
0e8cba1d51 (Ara) WIP fixing possessive dual forms. Doesn't work yet properly. 2018-12-30 19:25:00 +02:00
Inari Listenmaa
9b119e2bb7 (Ara) fix typo in mother_N 2018-12-30 19:02:57 +02:00
Inari Listenmaa
703f3ddefe (Ara) improve the solution to handle CN's np field 2018-12-30 18:54:26 +02:00
Inari Listenmaa
1566b6bd03 (Ara) bind CN's np field if it comes from a pronoun 2018-12-30 11:16:53 +02:00
Inari Listenmaa
459e51f9b9 Merge pull request #112 from inariksit/arabic
(Ara) add how_old_QCl and why_IAdv
2018-12-29 21:30:51 +02:00
Inari Listenmaa
57101f7808 (Ara) add how_old_QCl and why_IAdv 2018-12-29 21:25:51 +02:00
Inari Listenmaa
8ce0578b53 Merge pull request #111 from inariksit/arabic
Arabic
2018-12-29 18:52:37 +02:00
Inari Listenmaa
9a9b36dca8 (Ara) misc. small fixes and cleanup 2018-12-29 18:45:47 +02:00
Inari Listenmaa
06a3d83f02 (Ara) Add a new mkA, for dealing with adjective construct phrases 2018-12-29 18:45:17 +02:00
Inari Listenmaa
02700acc8d (Ara) add a string (e.g. "that") in VS 2018-12-29 18:44:16 +02:00
Inari Listenmaa
b73d5010df (Ara) add both7and_DConj + make Conj into ConjDistr 2018-12-29 18:43:25 +02:00
Aarne Ranta
68f51bc92b force inclusion of ExtendFin in standard compilation 2018-12-29 17:16:42 +01:00
Aarne Ranta
2e34f89c45 MakeStructuralFin: Det and IDet with partitive argument 2018-12-27 19:10:13 +01:00
Aarne Ranta
d9d3699b20 mkDet in MakeStructuralEng,Fin 2018-12-27 12:28:18 +01:00
Inari Listenmaa
65526b6c4b Merge pull request #110 from inariksit/arabic
Arabic
2018-12-26 14:40:35 +01:00
Inari Listenmaa
f85e64a90d (Ara) misc small fixes/comments 2018-12-26 14:34:15 +01:00
Inari Listenmaa
8b016f35bc (Ara) Add field for word order in VS 2018-12-26 14:33:54 +01:00
Inari Listenmaa
213e505e9a (Ara) add SentAP 2018-12-26 14:32:43 +01:00
Inari Listenmaa
35f21bf5cb Merge pull request #109 from inariksit/arabic
(Ara) add BIND between reflexive pronoun and the suffix
2018-12-24 20:20:56 +01:00
Inari Listenmaa
0ca23eb7b7 Merge pull request #108 from odanoburu/extrapor
(Por) avoid use of Extra in Lang
2018-12-24 16:41:01 +01:00
Inari Listenmaa
ce7d76fec6 (Ara) add BIND between reflexive pronoun and the suffix 2018-12-24 16:40:24 +01:00
odanoburu
d2de495bbf (Por) avoid use of Extra in lang 2018-12-22 16:20:59 -02:00
Inari Listenmaa
20a44e26e0 Merge pull request #107 from inariksit/arabic
Arabic
2018-12-21 23:15:16 +01:00
Inari Listenmaa
3542a5260d (Ara) Add new mkN constructor, for forcing a number in adjective 2018-12-21 23:06:44 +01:00
Inari Listenmaa
88f425e788 (Ara) Add EmbedS,QS,VP 2018-12-21 17:01:04 +01:00
Inari Listenmaa
b25ae6bff8 (Ara) Handle defective nouns with sound feminine plural 2018-12-21 15:53:50 +01:00
Inari Listenmaa
487ba5a335 Merge pull request #104 from normundsg/master
(Lav) Large monolingual dict. of Latvian, extracted from Tezaurs.lv
2018-12-20 11:25:14 +01:00
Normunds Grūzītis
ef07b16c02 (Lav) Large monolingual dict. of Latvian, extracted from Tezaurs.lv 2018-12-20 12:15:36 +02:00
Inari Listenmaa
e7f1af331a Merge pull request #103 from inariksit/arabic
Arabic
2018-12-19 17:26:24 +01:00
Inari Listenmaa
218e3513a0 (Ara) small fixes and additions 2018-12-19 17:17:52 +01:00
Inari Listenmaa
26e3c6dbac (Ara) Add AdvIAdv 2018-12-19 17:17:31 +01:00
Inari Listenmaa
90d1ae76e9 (Ara) fix bad_A 2018-12-19 17:16:57 +01:00
Inari Listenmaa
7ea1e95903 (Ara) glue preposition in PrepNP if NP is a pronoun 2018-12-19 17:16:46 +01:00
Inari Listenmaa
2ae0dd0c74 (Ara) switch word order in AdAP 2018-12-19 17:16:14 +01:00
Aarne Ranta
97ef363759 testing syncat morpho annotations in LangEng.labels 2018-12-18 18:44:26 +01:00
Aarne Ranta
d629507389 a comment in LangEng.labels to test the new functionality 2018-12-18 18:31:20 +01:00
Inari Listenmaa
0e10a4a42d Merge pull request #102 from inariksit/arabic
Arabic
2018-12-18 16:55:35 +01:00
Inari Listenmaa
39d5bc3e48 (Ara) elision in only the first word of the CN with liPrep 2018-12-18 16:41:22 +01:00
Inari Listenmaa
873b52898b (Ara) Use defArt also for numerals 2018-12-18 16:39:20 +01:00
Inari Listenmaa
ef261ac4d2 (Ara) replace Agr by AAgr in Obj 2018-12-18 16:30:57 +01:00
Aarne Ranta
edd8289b6c added some morphological tag configurations to LangEng.labels 2018-12-18 16:00:43 +01:00
Inari Listenmaa
038cb2536f (Ara) Add months + new mkN constructors to handle adjective modifiers 2018-12-18 11:27:11 +01:00
Inari Listenmaa
143977d552 (Ara) Add days and some months to Constructions 2018-12-17 17:46:45 +01:00
Inari Listenmaa
f63f21d96e (Ara) use the bare form (no case ending) in UttAP/CN + small cleanup here and there 2018-12-17 14:54:53 +01:00
Inari Listenmaa
315d5fdffe Merge pull request #101 from odanoburu/ud-por
(gf2ud) add minimal LangPor.labels
2018-12-16 17:45:35 +03:00
Inari Listenmaa
16b4760854 Merge pull request #100 from odanoburu/ud-trees
(UD treebank) fixes
2018-12-16 17:44:43 +03:00
odanoburu
8e0afa202b (Por) small fixes due to revising UD treebank 2018-12-16 11:01:51 -02:00
odanoburu
6fe29ecc84 (gf2ud) add minimal LangPor.labels
- enough to parse (most of) the UD treebank
2018-12-16 10:49:06 -02:00
odanoburu
89f5c35df1 (UD treebank) fixes
- rm duplicate trees
- correct parse trees
- always use Phr as startcat
2018-12-16 10:44:39 -02:00
Aarne Ranta
bf6028e746 compiling present for Ger again 2018-12-13 18:05:44 +02:00
Aarne Ranta
76f11b532b removed duplicate invarA in Eng 2018-12-13 16:30:28 +02:00
Aarne Ranta
a80d49db62 fixed some dependency labels 2018-12-13 14:58:11 +02:00
Aarne Ranta
69aa749774 Merge branch 'master' of https://github.com/GrammaticalFramework/gf-rgl 2018-12-13 14:16:09 +02:00
Aarne Ranta
231b7be0c4 added ParadigmsEng.invarA 2018-12-13 14:15:57 +02:00
Inari Listenmaa
ba8af5ffce Merge pull request #98 from odanoburu/romance-ap-copula
(Romance) add copTyp to adjectives
2018-12-13 10:50:14 +02:00
Inari Listenmaa
bb4b371994 Merge pull request #99 from inariksit/catalan
(Cat) Add per as another preposition that fuses with article
2018-12-11 21:20:33 +02:00
Inari Listenmaa
0479820b8f (Cat) Add per as another preposition that fuses with article 2018-12-11 16:38:24 +02:00
odanoburu
5889d5bbb3 (Romance) modify CompAP to use copTyp from adjective 2018-12-10 20:52:29 +02:00
odanoburu
ffaa701197 (Romance) add copTyp to adjectives
- so that one can force the use of a copula verb
- before this, a sentence like "he was ready when I saw him" would be
  translated as "ele era pronto quando eu o via" in Portuguese,
  instead of using the estar copula
2018-12-10 19:46:21 +02:00
Inari Listenmaa
8d7366cb0a Merge pull request #95 from jfschaefer/master
(Ger) fix old spellings of irregular verbs
2018-12-10 16:34:09 +02:00
Inari Listenmaa
5d6df77607 Merge pull request #96 from odanoburu/impp3
(Por) add ImpP3
2018-12-10 16:33:50 +02:00
odanoburu
becd432455 (Por) add ImpP3
- do not use nonExist in Lexicon
- draft other missing lins in Idiom
2018-12-10 14:35:45 +02:00
John J. Camilleri
2946e6bca1 Fix some invalid HTML in synopsis 2018-12-08 14:07:31 +01:00
jfschaefer
5ef182f4be (Ger) fix old spellings of irregular verbs 2018-12-07 17:46:27 +01:00
Inari Listenmaa
212d327df9 Merge pull request #94 from inariksit/arabic
(Ara) updates in hamza rules + sound fem. plural noun constructor
2018-12-06 12:28:31 +02:00
Inari Listenmaa
db2560efe4 (Ara) updates in hamza rules + sound fem. plural noun constructor 2018-12-06 12:20:35 +02:00
John J. Camilleri
a009c31606 Update hardcoded links in synopsis intro
When new languages are added, the links from chapter 4 onwards need to be incremented
2018-12-06 08:48:49 +01:00
Inari Listenmaa
dadcd386c9 (Romance) Attributive and predicative adjective forms (#93)
* (Fre,Por) accomodate changes to Romance adjectives
- to support Spanish buen/bueno, gran/grande and catalan bo/bon

* (Cat) Update paradigms to allow predicative and attributive forms of adj

* (Spa) fix argument order in Spanish adjective paradigms

* (Eng) fix missing paradigm invarA

* (Spa) Flip order of args in mkAdj constructor
2018-12-05 19:16:35 +02:00
Inari Listenmaa
78cac3725a Merge pull request #92 from odanoburu/invarA
(Eng) fix missing paradigm invarA
2018-12-05 10:06:09 +02:00
odanoburu
aec24a3901 (Eng) fix missing paradigm invarA 2018-12-05 09:52:07 +02:00
Aarne Ranta
994e0482bc added Construction for 'five inch nail' in Eng,Ger,Fin from the Dresden team at the summer school 2018-12-03 17:27:59 +02:00
John J. Camilleri
e66c27a4da Add a few HTML files to gitignore 2018-12-03 15:39:38 +01:00
John J. Camilleri
f48c8c6149 Put GF logo on the right again 2018-12-03 15:28:13 +01:00
John J. Camilleri
99bc5be071 Updated sidebat in synopsis page
- toggleable
- overlay content at narrow widths
- right of page
- background & border
2018-12-03 10:40:00 +01:00
1216 changed files with 1747528 additions and 489406 deletions

61
.github/workflows/release.yml vendored Normal file
View File

@@ -0,0 +1,61 @@
name: Create RGL release
on:
workflow_dispatch:
inputs:
tag:
description: Release tag (should be YYYYMMDD format)
jobs:
build:
runs-on: ubuntu-18.04
env:
GF_VERSION: 3.10-1
DEST: gf-rgl-${{ github.event.inputs.tag }}
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install GF
run: |
curl -s https://www.grammaticalframework.org/download/gf_${GF_VERSION}_amd64.deb -o gf.deb
sudo dpkg -i gf.deb
- name: Build RGL
run: |
mkdir -p ${DEST}
bash Setup.sh --dest=${DEST} --gf=gf --verbose
- name: Create archive
run: |
zip asset.zip -r ${{ env.DEST }}
# - name: Upload artifact
# uses: actions/upload-artifact@v2
# with:
# name: gf-rgl-${{ github.sha }}
# path: ${{ env.DEST }}
# if-no-files-found: error
- name: Create release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.event.inputs.tag }}
release_name: Release ${{ github.event.inputs.tag }}
draft: false
prerelease: false
- name: Upload release asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: asset.zip
asset_name: gf-rgl-${{ github.event.inputs.tag }}.zip
asset_content_type: application/zip

1
.gitignore vendored
View File

@@ -4,3 +4,4 @@ dist/
*.o
*.pgf
*.tmp
*~

View File

@@ -4,7 +4,7 @@ language: c
os:
- linux
- osx
- windows
# - windows
addons:
apt:
@@ -12,7 +12,7 @@ addons:
- ghc
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update && brew install ghc@8.2 && export PATH="/usr/local/opt/ghc@8.2/bin:$PATH" ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update && brew install ghc@8.6 && export PATH="/usr/local/opt/ghc@8.6/bin:$PATH" ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then curl http://www.grammaticalframework.org/download/gf-3.9-bin-intel-mac.tar.gz > gf.tar.gz && sudo tar --no-same-owner --no-same-permissions -C /usr/local -zxf gf.tar.gz && rm gf.tar.gz; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then curl http://www.grammaticalframework.org/download/gf_3.9.1-1_amd64-trusty.deb > gf.deb && sudo dpkg -i gf.deb && rm gf.deb ; fi
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then choco install ghc --version=8.4.4 && export PATH="/c/ProgramData/chocolatey/lib/ghc/tools/ghc-8.4.4/bin:$PATH"; fi

View File

@@ -1,16 +1,32 @@
# A simple wrapper over the Haskell-based RGL build script
# A wrapper over the Haskell and Bash build scripts
# Will try and fallback in order:
# - runghc Setup.hs
# - stack runghc Setup.hs
# - ./Setup.sh
RUNMAKE=runghc Setup.hs
ifneq (, $(shell which runghc))
RUNGHC=runghc Setup.hs
else ifneq (, $(shell which stack))
RUNGHC=stack runghc Setup.hs
else
RUNGHC=
endif
.PHONY: build copy install doc clean
default: build copy
build: src/*/*.gf
$(RUNMAKE) build
ifneq (, $(RUNGHC))
$(RUNGHC) build
else
./Setup.sh
endif
copy:
$(RUNMAKE) copy
ifneq (, $(RUNGHC))
$(RUNGHC) copy
endif
install: build copy
@@ -18,4 +34,8 @@ doc: build
make -C doc GF_LIB_PATH=../dist
clean:
$(RUNMAKE) clean
ifneq (, $(RUNGHC))
$(RUNGHC) clean
else
rm -r dist
endif

View File

@@ -2,11 +2,9 @@
# GF Resource Grammar Library (RGL)
[![Build Status](https://travis-ci.org/GrammaticalFramework/gf-rgl.svg?branch=master)](https://travis-ci.org/GrammaticalFramework/gf-rgl)
The GF Resource Grammar Library is the standard library for Grammatical Framework. It covers the morphology and basic syntax of over 30 languages.
For more about the RGL, see the [synopsis page](http://www.grammaticalframework.org/lib/doc/synopsis.html).
For more about the RGL, see the [synopsis page](http://www.grammaticalframework.org/lib/doc/synopsis/).
## Choose your build method
@@ -47,12 +45,7 @@ This file should be kept up-to-date and all build methods should read this confi
If default is `y` then anything other than `n`, including the empty string, is treated as true (and vice versa when default is `n`).
## Haskell script: `Setup.hs`
This build method gives you most options.
You will need Haskell installed on your system.
### Basic
## Using Make
If you have `Make` installed and don't care about advanced settings,
you can compile the RGL and install it to the default location with:
@@ -64,9 +57,15 @@ make install
This is the same as `make build` followed by `make copy`.
There is also `make clean` available.
### Advanced
The Makefile will try to use the Haskell install script,
falling back to the shell script if you do not have Haskell installed.
For more fine-grained control over the build process, you can run the build script directly:
## Haskell script: `Setup.hs`
This build method gives you most options.
You will need Haskell installed on your system.
Run the build script with:
```
runghc Setup.hs ...

10
RELEASE.md Normal file
View File

@@ -0,0 +1,10 @@
# RGL releases
The RGL does not use semantic versioning.
Releases are instead made periodically, as snapshots of the current state of the library.
Releases are Git tagged `YYYYMMDD`, and for each release a binary package (as `.gfo` files) is made available as a GitHub release.
## Creating a new release
1. Run the "Create release" workflow through the GitHub actions interface
(instructions [here](https://docs.github.com/en/free-pro-team@latest/actions/managing-workflow-runs/manually-running-a-workflow)).

View File

@@ -7,7 +7,7 @@ REM ---
REM Modules to compile for each language
REM TODO read from languages.csv
set langs=Afr Amh Ara Eus Bul Cat Chi Dan Dut Eng Est Fin Fre Grc Gre Heb Hin Ger Ice Ina Ita Jpn Lat Lav Mlt Mon Nep Nor Nno Pes Pol Por Pnb Ron Rus Snd Spa Swe Tha Tur Urd
set langs=Afr Amh Ara Eus Bul Cat Chi Cze Dan Dut Eng Est Fin Fre Grc Gre Heb Hin Hun Ger Ice Ina Ita Jpn Lat Lav Mlt Mon Nep Nor Nno Pes Pol Por Pnb Ron Rus Slo Snd Spa Swe Tha Tur Urd
set modules_langs=All Symbol Compatibility
set modules_api=Try Symbolic
@@ -37,20 +37,6 @@ if "%dest%"=="" (
)
:BreakLibPath
set DATA_DIR=..\gf-core\DATA_DIR
if "%dest%"=="" (
REM Look in already compiled GF folder
if exist %DATA_DIR% (
for /f "delims=" %%x in (%DATA_DIR%) do (
if not "%%x"=="" (
set dest=%%x\lib
goto BreakDataDir
)
)
)
)
:BreakDataDir
if "%dest%"=="" (
echo Unable to determine where to install the RGL. Please do one of the following:
echo - Pass the --dest=... flag to this script

View File

@@ -8,8 +8,8 @@ import System.IO (hPutStrLn,stderr)
import System.IO.Error (catchIOError)
import System.Exit (ExitCode(..),exitFailure)
import System.Environment (getArgs,lookupEnv)
import System.Process (rawSystem)
import System.FilePath ((</>),splitSearchPath) -- ,takeFileName,addExtension,dropExtension)
import System.Process (rawSystem,readProcess)
import System.FilePath ((</>),splitSearchPath)
import System.Directory (createDirectoryIfMissing,copyFile,getDirectoryContents,removeDirectoryRecursive,findFile)
#if __GLASGOW_HASKELL__>=800
import System.Directory (getModificationTime,setModificationTime)
@@ -61,7 +61,7 @@ errLocation = unlines $
[ "Unable to determine where to install the RGL. Please do one of the following:"
, " - Pass the " ++ destination_flag ++ "... flag to this script"
, " - Set the GF_LIB_PATH environment variable"
, " - Compile & install GF from the gf-core repository (must be in same directory as gf-rgl)"
, " - Compile & install GF from the gf-core repository"
]
-- | Copy single file between directories
@@ -116,10 +116,11 @@ data Info = Info
mkInfo :: IO Info
mkInfo = do
args <- getArgs
let gf = maybe default_gf id (getFlag gf_flag args)
-- Look for install location in a few different places
let mflag = getFlag destination_flag args
mbuilt <- catchIOError (readFile "../gf-core/DATA_DIR" >>= \d -> return (Just (d </> "lib"))) (\e -> return Nothing)
menvar <- lookupEnv "GF_LIB_PATH" >>= return . fmap (head . splitSearchPath)
mbuilt <- catchIOError (readProcess gf ["--version"] "" >>= return . getPath) (\e -> return Nothing)
let
inst_dir =
case catMaybes [mflag,menvar,mbuilt] of
@@ -129,12 +130,18 @@ mkInfo = do
return $ Info
{ infoBuildDir = "dist"
, infoInstallDir = inst_dir
, infoGFPath = maybe default_gf id (getFlag gf_flag args)
, infoGFPath = gf
, infoVerbose = verbose
}
where
default_gf = "gf"
getPath s =
let l = last (lines s)
in if take 14 l == "Shared folder:"
then Just (drop 15 l </> "lib")
else Nothing
getRGLBuildDir :: Info -> Mode -> FilePath
getRGLBuildDir info mode = infoBuildDir info </> getRGLBuildSubDir mode

View File

@@ -38,15 +38,15 @@ done
if [ -z "$dest" ]; then
dest=$(echo "$GF_LIB_PATH" | sed 's/:.*$//')
fi
if [ -z "$dest" ] && [ -f "../gf-core/DATA_DIR" ]; then
dest=$(cat ../gf-core/DATA_DIR)
if [ -z "$dest" ] && [ "$(gf --version | tail -1 | cut -c -14)" == "Shared folder:" ]; then
dest=$(gf --version | tail -1 | cut -c 16-)
if [ -n "$dest" ]; then dest="${dest}/lib"; fi
fi
if [ -z "$dest" ]; then
echo "Unable to determine where to install the RGL. Please do one of the following:"
echo " - Pass the --dest=... flag to this script"
echo " - Set the GF_LIB_PATH environment variable"
echo " - Compile & install GF from the gf-core repository (must be in same directory as gf-rgl)"
echo " - Compile & install GF from the gf-core repository"
exit 1
fi
@@ -72,6 +72,7 @@ for lang in $langs; do
for mod in $modules_langs $modules_api; do
if [ $mod == "Compatibility" ] && [[ "$langs_compat" != *"$lang"* ]]; then continue; fi
if [ $mod == "Try" ] && [[ "$langs_try" != *"$lang"* ]]; then continue; fi
if [ $mod == "Symbol" ] && [[ "$langs_try" != *"$lang"* ]]; then continue; fi
if [ $mod == "Symbolic" ] && [[ "$langs_symbolic" != *"$lang"* ]]; then continue; fi
for file in "${src}"/*/"${mod}${lang}".gf; do
if [ ! -f "$file" ]; then continue; fi
@@ -96,5 +97,7 @@ for module in $modules_alltenses; do
done
# Copy
if [ $dest == $dist ]; then exit 0; fi
echo "Copying to ${dest}"
cp -R -p "${dist}"/* "${dest}"
mkdir -p "${dest}"
cp -R "${dist}"/* "${dest}"

5
doc/.gitignore vendored
View File

@@ -1,4 +1,5 @@
synopsis/index.txt
synopsis/index-t2t.html
synopsis/index.html
synopsis/api-examples-*.txt
synopsis/api-examples.gfs
@@ -6,3 +7,7 @@ synopsis/categories-imagemap.html
synopsis/categories.png
gfdoc/sources.html
rgl-publications.html
status.html
translation.html

99
doc/CountLines.hs Normal file
View File

@@ -0,0 +1,99 @@
import System.Directory
import Data.Char
import Data.List
-- counting modules and lines in RGL implementations
-- leaving out Lexicon, Structural, dictionaries, Extra, Extend,... (see below the list of prefixes)
main = do
mapM_ getCounts allLanguages
getCounts (lan,language) = do
cs <- mapM (getCount language lan) prefixes
let (ms,ls) = unzip cs
putStrLn $ unwords [language, show (sum ms), show (sum ls)]
getCount language lan pref = do
let file = concat ["../src/",language,"/",pref,lan,".gf"]
--- putStrLn file
ms <- readFileIf file
case ms of
Nothing -> return (0,0)
Just s -> return (1,length (codeLines (lines s)))
codeLines ls = filter (\l -> not (all isSpace l || isPrefixOf "--" l)) ls
readFileIf name = do
b <- doesFileExist name
case b of
True -> readFile name >>= return . Just
False -> return Nothing
prefixes = [
"Adjective"
,"Adverb"
,"Cat"
,"Common"
,"Conjunction"
,"Diff"
,"Grammar"
,"Lang"
-- ,"Lexicon"
,"Noun"
,"Numeral"
,"Phrase"
,"Question"
,"Relative"
,"Sentence"
-- ,"Structural"
,"Tense"
,"Text"
,"Verb"
,"Res"
,"Morpho"
,"Phono"
,"Paradigms"
]
allLanguages = [
("", "abstract")
,("Afr","afrikaans")
,("Ara","arabic")
--- ,("Bul","bulgarian") ---- todo convert to utf8
,("Cat","catalan")
,("Chi","chinese")
,("Dan","danish")
,("Dut","dutch")
,("Eng","english")
,("Est","estonian")
,("Eus","basque")
,("Fin","finnish")
,("Fre","french")
,("Ger","german")
,("Gre","greek")
,("Hin","hindi")
,("Ice","icelandic")
,("Ita","italian")
,("Jpn","japanese")
,("Lav","latvian")
,("Mlt","maltese")
,("Mon","mongolian")
,("Nep","nepali")
,("Nno","nynorsk")
,("Nor","norwegian")
,("Pes","persian")
,("Pnb","punjabi")
,("Pol","polish")
,("Por","portuguese")
---- ,("Ron","romanian")
,("Rus","russian")
,("Snd","sindhi")
,("Spa","spanish")
,("Swe","swedish")
,("Tha","thai")
,("Urd","urdu")
,("Romance","romance")
,("Scand","scandinavian")
,("Hindustani","hindustani")
]

9
doc/example-tables.gfs Normal file
View File

@@ -0,0 +1,9 @@
-- gf -run alltenses/LangIce.gfo <example-tables.gfs
gt MkDocument (NoDefinition "") (InflectionN ?) "" | l | wf -file="example-tables.html"
gt MkDocument (NoDefinition "") (InflectionA ?) "" | l | wf -append -file="example-tables.html"
gt MkDocument (NoDefinition "") (InflectionV ?) "" | l | wf -append -file="example-tables.html"
gt MkDocument (NoDefinition "") (InflectionV2 ?) "" | l | wf -append -file="example-tables.html"
gt MkDocument (NoDefinition "") (InflectionV3 ?) "" | l | wf -append -file="example-tables.html"
gt MkDocument (NoDefinition "") (InflectionVV ?) "" | l | wf -append -file="example-tables.html"
gt MkDocument (NoDefinition "") (InflectionV2V ?) "" | l | wf -append -file="example-tables.html"

View File

@@ -67,6 +67,16 @@ http://acl.ldc.upenn.edu/W/W07/W07-08.pdf
//and agreement of constructions with numerals.//
===Basque===
- **Source**: https://github.com/GrammaticalFramework/gf-rgl/tree/master/src/basque (Inari Listenmaa, Francis Tyers)
- **Publications**
Inari Listenmaa.
//Formal Methods for Testing Grammars.// PhD thesis. Chalmers University of Technology and University of Gothenburg. 2019. [PDF https://gupea.ub.gu.se/bitstream/2077/59037/1/gupea_2077_59037_1.pdf]
#BR
//Mentioned in Chapter 5 of the thesis.//
===Bulgarian===
@@ -117,6 +127,10 @@ Appendix to the GF book (A. Ranta, //Grammatical Framework//, CSLI 2011),
http://www.grammaticalframework.org/gf-book/gf-chinese-appendix.pdf
===Czech===
- **Source**: https://github.com/GrammaticalFramework/gf-rgl/tree/master/src/czech (Aarne Ranta, Michal Měchura)
===Danish===
@@ -155,8 +169,13 @@ The GF Resource Grammar Library.
- **Source**: http://www.grammaticalframework.org/lib/src/estonian (Kaarel Kaljurand, Inari Listenmaa)
%- **Publications**
- **Publications**
Inari Listenmaa and Kaarel Kaljurand.
Computational Estonian Grammar in Grammatical Framework.
//Proceedings of the SALTMIL Workshop at LREC//,
2014.
[PDF http://ixa2.si.ehu.es/~jipsagak/SALTMIL/LREC_2014_Workshop_Proceedings_Saltmil.pdf]
===Finnish===
@@ -256,6 +275,9 @@ In The 3rd Workshop
on South and Southeast Asian NLP, COLING 2012. //Reprinted in Shafqat's thesis//
===Hungarian===
- **Source**: https://github.com/GrammaticalFramework/gf-rgl/tree/master/src/hungarian (Inari Listenmaa, Julia Jansson)
===Icelandic===
@@ -281,8 +303,6 @@ Bjarki Traustason, MSc thesis, Chalmers
%- **Publications**
===Japanese===
- **Source**: http://www.grammaticalframework.org/lib/src/japanese (Liza Zimina)
@@ -302,14 +322,31 @@ Lecture Notes in Computer Science Volume 7614, 2012, pp 156-167.
http://link.springer.com/chapter/10.1007%2F978-3-642-33983-7_16
===Korean===
- **Source**: https://github.com/GrammaticalFramework/gf-rgl/tree/master/src/korean (Inari Listenmaa)
===Latin===
- **Source**: http://www.grammaticalframework.org/lib/src/latin (Aarne Ranta)
- **Source**: http://www.grammaticalframework.org/lib/src/latin (Herbert Lange, Aarne Ranta)
%- **Publications**
- **Publications**
Herbert Lange.
Erstellen einer Grammatik für das Lateinische im “Grammatical Framework”,
Masters thesis (Magiserarbeit), Ludwig-Maximilians-University Munich, 2013.
Herbert Lange. Implementation of a Latin Grammar in Grammatical Framework, //DATeCH//, 2017.
Herbert Lange and Peter Ljunglöf.
MULLE: A grammar-based Latin language learning tool to supplement the classroom setting.
//Proceedings of the 5th Workshop on Natural Language Processing Techniques for Educational Applications//,
2018.
[PDF https://www.aclweb.org/anthology/W18-3715.pdf]
#BR
//Latin RGL used in a language-learning application.//
===Latvian===
@@ -397,6 +434,15 @@ Slide presentation, TYPES 2010, Warsaw,
http://www.mimuw.edu.pl/~asl/publications/types2010-slides.pdf
===Portuguese===
- **Source**: https://github.com/GrammaticalFramework/gf-rgl/tree/master/src/portuguese (Bruno Cuconato)
- **Publications**
Bruno Cuconato Claro.
//A computational grammar for Portuguese//. MSc thesis. Rio de Janeiro, 2019.
===Punjabi===
@@ -438,7 +484,7 @@ LNCS 6008,
===Russian===
- **Source**: http://www.grammaticalframework.org/lib/src/russian (Janna Khegai, Nikita Frolov)
- **Source**: http://www.grammaticalframework.org/lib/src/russian (Janna Khegai, Nikita Frolov, Roman Suzi)
- **Publications**
@@ -475,6 +521,21 @@ MSc Thesis, Chalmers University of Technology,
http://publications.lib.chalmers.se/records/fulltext/163234.pdf
===Slovak===
- **Source**: https://github.com/GrammaticalFramework/gf-rgl/tree/master/src/slovak (Aarne Ranta, Slavomír Čéplö, Michal Měchura)
===Slovenian===
- **Source**: https://github.com/GrammaticalFramework/gf-rgl/tree/master/src/slovenian (Krasimir Angelov, Anna Ehrlemark)
===Somali===
- **Source**: https://github.com/GrammaticalFramework/gf-rgl/tree/master/src/somali (Inari Listenmaa)
===Spanish===
- **Source**: http://www.grammaticalframework.org/lib/src/spanish http://www.grammaticalframework.org/lib/src/romance
@@ -485,7 +546,8 @@ http://publications.lib.chalmers.se/records/fulltext/163234.pdf
===Swahili===
- **Source**: http://www.grammaticalframework.org/lib/src/swahili (Wanjiku Ng'ang'a)
- **Source**: http://www.grammaticalframework.org/lib/src/swahili (Benson Kituku).
- **Previous version**: https://github.com/GrammaticalFramework/gf-rgl/tree/master/src/swahili/old (Wanjiku Ng'ang'a).
- **Publications**
@@ -519,10 +581,6 @@ P. Sojka et al (eds), TSD 2012, LNCS 7499, pp. 183-190.
http://link.springer.com/content/pdf/10.1007%2F978-3-642-32790-2_22.pdf
===Thai===
- **Source**: http://www.grammaticalframework.org/lib/src/thai (Aarne Ranta, Chotiros Kairoje)
@@ -556,3 +614,17 @@ July 21-22, 2007, LSA 2007 Linguistic Institute, Stanford University.
2007.
See also **Hindi** above.
===Zulu===
- **Source:** https://github.com/LauretteM/gf-rgl-zul/tree/master/src/zulu (Laurette Marais, Laurette Pretorius)
- **Publications**
Laurette Marais, Johannes A. Louw, Jaco Badenhorst, Karen Calteaux, Ilana Wilken, Nina van Niekerk,and Glenn Stein.
AwezaMed: A Multilingual, MultimodalSpeech-To-Speech Translation Application for Maternal Health Care.
//Proceedings of the 23rd International Conference on Information Fusion//.
July 6-9, 2020.
#BR
//The article presents a health care translation system, which uses the Zulu resource grammar.//

BIN
doc/rgl-tutorial/Syntax.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

BIN
doc/rgl-tutorial/arav.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 160 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
doc/rgl-tutorial/engdut.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

BIN
doc/rgl-tutorial/hindi.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 178 KiB

3209
doc/rgl-tutorial/index.t2t Normal file

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

BIN
doc/rgl-tutorial/parse.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 254 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

View File

@@ -11,60 +11,63 @@ For another view, see the
[The Resource Grammar Library coverage map http://www.postcrashgames.com/gf_world/] .
Corrections and additions are welcome! Notice that only those parts of implementations
that are currently available via http://grammaticalframework.org
that are currently available via https://github.com/GrammaticalFramework/gf-rgl/
are marked in the table
|| ISO | Language | Darcs | Mini | Parad | Lex | Lang | API | Symb | Irreg | Dict | Trans | tested | publ | authors ||
| Afr | Afrikaans | + | - | ++ | + | + | + | - | - | - | - | - | - | *LP,LM
| Amh | Amharic | + | + | ++ | + | + | - | - | - | - | - | - | + | *MK
| Ara | Arabic | + | + | + | + | - | - | - | - | - | - | - | + | AD
| Bul | Bulgarian | + | + | + | + | + | + | + | + | + | + | ++ | + | *KA
| Cat | Catalan | + | + | ++ | + | + | + | + | + | - | + | ++ | - | *JS,*IL
| Chi | Chinese | + | - | ++ | + | + | + | - | - | + | + | - | + | ZL,*AR,*CP,QH
| Dan | Danish | + | + | ++ | + | + | + | + | + | - | - | + | - | *AR
| Dut | Dutch | + | + | ++ | + | + | + | + | + | - | + | + | - | *AR,FJ
| Eng | English | + | + | ++ | + | + | + | + | + | + | + | ++ | + | *AR,BB,KA
| Est | Estonian | + | - | ++ | + | + | + | - | - | - | - | + | + | *KK,*IL
| Fin | Finnish | + | + | ++ | + | + | + | + | - | + | + | ++ | + | *AR,*IL
| Fre | French | + | + | ++ | + | + | + | + | + | + | + | ++ | - | *AR,RE
| Ger | German | + | + | ++ | + | + | + | + | + | + | + | ++ | - | *AR,HH,EG
| Gre | Greek(mod) | + | - | ++ | + | + | + | - | - | - | - | - | + | *IP
| Grc | Greek(anc) | - | - | - | - | - | - | - | - | - | - | - | + | *HLe
| Heb | Hebrew | + | - | - | - | - | - | - | - | - | - | - | + | *DD
| Hin | Hindi | + | + | ++ | + | + | + | + | - | - | + | + | + | *SV,*KP,MH,AR,PK
| Ice | Icelandic | + | - | ++ | + | + | + | - | - | - | - | - | + | *BT
| Ina | Interlingua | + | + | ++ | + | + | - | - | - | - | - | - | - | JB
| Ita | Italian | + | + | ++ | + | + | + | + | - | - | + | ++ | - | *AR,*RE,GP
| Jpn | Japanese | + | - | ++ | + | + | + | - | - | - | + | + | + | *LZ
| Lat | Latin | + | - | - | - | - | - | - | - | + | - | - | - | *AR,*HLa
| Lav | Latvian | + | - | ++ | + | + | + | - | - | - | - | + | + | *NG,*PP
| Mlt | Maltese | + | + | ++ | + | + | + | + | - | - | - | - | + | *JC
| Mon | Mongolian | + | - | ++ | + | + | + | - | - | + | - | - | + | *NE
| Nep | Nepali | + | + | ++ | + | + | - | - | - | - | - | - | + | *DS
| Nno | Norwegian(n) | + | + | ++ | + | + | + | + | + | - | - | - | - | *SRE
| Nor | Norwegian(b) | + | + | ++ | + | + | + | + | + | - | - | + | - | *AR
| Pes | Persian | + | - | + | + | + | + | - | - | - | - | + | + | *SV,*EA,SM
| Pnb | Punjabi | + | + | + | + | + | + | + | - | - | - | - | + | *SV,MH
| Pol | Polish | + | + | + | + | + | + | + | - | - | - | + | + | IN,*AS
| Ron | Romanian | + | + | ++ | + | + | + | + | - | - | - | + | + | *RE
| Rus | Russian | + | + | ++ | + | + | + | - | - | + | + | - | + | JK,*NF
| Snd | Sindhi | + | + | ++ | + | + | + | + | - | - | - | - | + | *SV,*JD
| Spa | Spanish | + | + | ++ | + | + | + | + | + | - | + | ++ | - | *AR,IA,TS,*IL
| Swa | Swahili | + | - | - | - | - | - | - | - | - | - | - | + | *WN,JM
| Swe | Swedish | + | + | ++ | + | + | + | + | + | + | + | ++ | + | *MA,*AR,MF
| Tha | Thai | + | - | ++ | + | + | + | + | - | - | + | + | - | *AR,CK
| Tsn | Tswana | - | - | - | - | - | - | - | - | - | - | - | - | *LPs,AB
| Tur | Turkish | + | - | ++ | + | - | - | - | - | + | - | - | - | *SC,KA
| Urd | Urdu | + | + | ++ | + | + | + | + | - | - | - | + | + | *SV,MH
|| ISO | Language | Parad | Lex | Lang | API | Symb | Irreg | Dict | WN | tested | publ | authors ||
| Afr | Afrikaans | ++ | + | + | + | - | - | - | - | - | - | *LP,LM |
| Amh | Amharic | ++ | + | + | - | - | - | - | - | - | + | *MK |
| Ara | Arabic | + | + | + | + | + | - | - | - | + | + | AD,*IL |
| Bul | Bulgarian | + | + | + | + | + | + | + | + | ++ | + | *KA |
| Cat | Catalan | ++ | + | + | + | + | + | - | + | ++ | - | *JS,*IL |
| Chi | Chinese | ++ | + | + | + | - | - | + | + | - | + | ZL,*AR,*CP,QH |
| Cze | Czech | + | + | + | + | - | - | - | - | + | - | *AR,*MM |
| Dan | Danish | ++ | + | + | + | + | + | - | - | + | - | *AR |
| Dut | Dutch | ++ | + | + | + | + | + | - | + | + | - | *AR,FJ |
| Eng | English | ++ | + | + | + | + | + | + | + | ++ | + | *AR,BB,KA |
| Est | Estonian | ++ | + | + | + | - | - | + | + | + | + | *KK,*IL |
| Eus | Basque | ++ | + | + | + | - | - | - | - | - | + | *IL |
| Fin | Finnish | ++ | + | + | + | + | - | + | + | ++ | + | *AR,*IL |
| Fre | French | ++ | + | + | + | + | + | + | - | ++ | - | *AR,RE |
| Ger | German | ++ | + | + | + | + | + | + | - | ++ | - | *AR,HH,EG |
| Gre | Greek(mod) | ++ | + | + | + | - | - | - | - | - | + | *IP |
| Grc | Greek(anc) | - | - | - | - | - | - | - | - | - | + | *HLe |
| Heb | Hebrew | - | - | - | - | - | - | - | - | - | + | *DD |
| Hin | Hindi | ++ | + | + | + | + | - | - | - | + | + | *SV,*KP,MH,AR,PK |
| Hun | Hungarian | ++ | + | + | + | + | - | - | - | + | - | *IL,*JJ |
| Ice | Icelandic | ++ | + | + | + | - | - | - | - | - | + | *BT |
| Ina | Interlingua | ++ | + | + | - | - | - | - | - | - | - | JB |
| Ita | Italian | ++ | + | + | + | + | - | - | + | ++ | - | *AR,*RE,GP |
| Jpn | Japanese | ++ | + | + | + | - | - | - | - | + | + | *LZ |
| Kor | Korean | ++ | + | + | + | + | - | - | - | + | - | *IL |
| Lat | Latin | - | - | - | - | - | - | + | - | - | - | *AR,*HLa |
| Lav | Latvian | ++ | + | + | + | - | - | - | - | + | + | *NG,*PP |
| Mlt | Maltese | ++ | + | + | + | + | - | - | - | - | + | *JC |
| Mon | Mongolian | ++ | + | + | + | - | - | + | - | - | + | *NE |
| Nep | Nepali | ++ | + | + | - | - | - | - | - | - | + | *DS |
| Nno | Norwegian(n) | ++ | + | + | + | + | + | - | - | - | - | *SRE |
| Nor | Norwegian(b) | ++ | + | + | + | + | + | - | - | + | - | *AR |
| Pes | Persian | + | + | + | + | - | - | - | - | + | + | SV,EA,SM,*IL |
| Pnb | Punjabi | + | + | + | + | + | - | - | - | - | + | *SV,MH |
| Pol | Polish | + | + | + | + | + | - | - | - | + | + | IN,*AS |
| Por | Portuguese | ++ | + | + | + | + | + | + | + | + | + | *BC |
| Ron | Romanian | ++ | + | + | + | + | - | - | - | + | + | *RE |
| Rus | Russian | ++ | + | + | + | - | - | + | - | - | + | JK,NF,*RS |
| Slk | Slovak | + | + | + | + | - | - | - | - | + | - | *AR,*MM,SČ |
| Slv | Slovene | ++ | + | + | + | - | - | - | + | + | - | *KA,AE |
| Snd | Sindhi | ++ | + | + | + | + | - | - | - | - | + | *SV,*JD |
| Som | Somali | + | - | - | - | - | - | - | - | - | - | *IL |
| Spa | Spanish | ++ | + | + | + | + | + | - | + | ++ | - | *AR,IA,TS,*IL |
| Swa | Swahili | + | + | - | - | - | - | - | - | - | + | *WN,JM,BK |
| Swe | Swedish | ++ | + | + | + | + | + | + | + | ++ | + | *MA,*AR,MF |
| Tha | Thai | ++ | + | + | + | + | - | - | + | + | - | *AR,CK |
| Tur | Turkish | ++ | + | - | - | - | - | + | + | - | - | *SC,KA |
| Urd | Urdu | ++ | + | + | + | + | - | - | - | + | + | *SV,MH |
ISO = 3-letter ISO language code, used in library file names
(mostly ISO 639-2 B (bibliographic))
Darcs = available in the darcs repository of --http://code.haskell.org/gf-- http://www.grammaticalframework.org/
Mini = minimal resource, compiles with ``make minimal`` (obsolete)
Parad = ``Paradigms`` file complete for major POS, ++ means with smart paradigms
Lex = the resource ``Lexicon`` (nearly) complete
@@ -73,13 +76,13 @@ Lang = the resource ``Syntax`` (nearly) complete
API = the ``Syntax`` compiles
API = the ``Symbolic`` API compiles
Symb = the ``Symbolic`` API complete
Irreg = the ``Irreg`` module with irregular verbs exists
Dict = the ``Dict`` module, large-scale morphological lexicon, exists
Trans = large-scale translation module and dictionary exists
WN = [WordNet https://cloud.grammaticalframework.org/wordnet] lexicon exists
tested = tested in some applications, ++ means extensively tested with no major issues
@@ -93,9 +96,12 @@ authors = main contributors, * means still active
AB Ansu Berg,
AD Ali El Dada,
AE Anna Ehrlemark,
AR Aarne Ranta,
AS Adam Slaski,
BB Björn Bringert,
BC Bruno Cuconato,
BK Benson Kituku,
BT Bjarki Traustason,
CK Chotiros Kairoje,
CP Chen Peng,
@@ -115,6 +121,7 @@ IP Ioanna Papadopoulou,
JB Jean-Philippe Bernardy,
JC John J. Camilleri,
JD Jherna Devi,
JJ Julia Jansson,
JK Janna Khegai,
JM Juliet Mutahi,
JS Jordi Saludes,
@@ -128,13 +135,16 @@ MA Malin Ahlberg,
MF Markus Forsberg,
MK Markos Kassa Gobena,
MH Muhammad Humayoun,
MM Michal Měchura,
NE Nyamsuren Erdenebadrakh,
NF Nick Frolov,
NG Normunds Gruzitis,
QH Qiao Haiyan,
RE Ramona Enache,
RS Roman Suzi,
PP Peteris Paikens,
SC Server Cimen,
SČ Slavomír Čéplö,
SM Sofy Moradi,
SRE Stian Rødven Eide,
SV Shafqat Virk,
@@ -146,8 +156,7 @@ ZL Zhuo Lin Qiqige
==Rules==
Only components available at http://grammaticalframework.org are indicated in the table
(exceptions: Ancient Greek, Mongolian, to appear soon).
Only components available at https://github.com/GrammaticalFramework/gf-rgl/ are indicated in the table.
If you want to work on a language already in the table, please be kind and contact the
active authors of it.

View File

@@ -29,10 +29,13 @@ index: index.html
index.txt: MkSynopsis.hs MkExxTable.hs $(INCLUDES) $(EXAMPLES_OUT) $(SRC_FILES)
runghc -i$(ROOT) MkSynopsis.hs
TITLE=$(shell head -n 1 index.txt)
index.html: index.txt $(TEMPLATE)
index-t2t.html: index.txt
txt2tags --target=html --no-headers --quiet --toc --outfile=$@ --infile=$<
sed -i.bak "s/<A NAME=\"\(.*\)\"><\/A>/<div id=\"\1\"><\/div>/" $@
rm "$@.bak"
TITLE=$(shell head -n 1 index.txt)
index.html: index-t2t.html $(TEMPLATE)
pandoc \
--from=html \
--to=html5 \
@@ -44,7 +47,7 @@ index.html: index.txt $(TEMPLATE)
--css="synopsis.css" \
--include-after-body="quicklinks.html" \
--output=$(TMP) \
$@
index-t2t.html
mv $(TMP) $@
sed -i.bak "s/<table>/<table class=\"table w-auto\">/" $@
sed -i.bak -e '/img src="categories.png"/r categories-imagemap.html' -e '/img src="categories.png"/d' $@
@@ -55,7 +58,7 @@ categories.png: categories.dot
categories-imagemap.html: categories.dot
rm -f $@
echo '<img src="categories.png" usemap="#categories">' > $@
echo '<img src="categories.png" usemap="#categoriesmap" alt="RGL categories">' > $@
dot -Tcmapx $^ >> $@
api-examples.gfs: api-examples.txt MkExx.hs

View File

@@ -1,5 +1,5 @@
digraph categories {
digraph categoriesmap {
size = "11,11" ;
node [href="#\N"];

View File

@@ -3,12 +3,12 @@ The standard way of building an application has the following modules.
An abstract syntax:
```
abstract Music = {
cat
Kind,
abstract Music = {
cat
Kind ;
Property ;
fun
PropKind : Kind -> Property -> Kind ;
fun
PropKind : Kind -> Property -> Kind ;
Song : Kind ;
American : Property ;
}
@@ -23,8 +23,8 @@ A domain lexicon interface:
```
A functor on ``Syntax`` and the domain lexicon interface:
```
incomplete concrete MusicI of Music = open Syntax, MusicLex in {
lincat
incomplete concrete MusicI of Music = open Syntax, LexMusic in {
lincat
Kind = CN ;
Property = AP ;
lin
@@ -35,7 +35,7 @@ A functor on ``Syntax`` and the domain lexicon interface:
```
For each language, an instance of the domain lexicon:
```
instance LexMusicGer of LexMusic = CatGer ** open ParadigmsGer in {
instance LexMusicGer of LexMusic = CatGer ** open ParadigmsGer in {
oper
song_N = mkN "Lied" "Lieder" neuter ;
american_A = mkA "amerikanisch" ;

View File

@@ -13,18 +13,16 @@ to the relevant source files, which give more information. Some of the files hav
not yet been prepared so that the machine generated documentation has the nicest
possible format.
% These hardcoded TOC links (chapter 4 onwards) need to be updated as new languages are added.
The main contents are:
- [Chapter 1 #toc2]: categories, with links to the functions for
constructing trees in them.
- [Chapter 2 #toc5]: syntactic construction functions, with cross-links and
examples.
- [Chapter 3 #toc85]: morphological paradigms.
- [Chapter 4 #toc120]: additional libraries.
- [Chapter 5 #toc126]: how to "browse" the library by
loading the grammars into the ``gf`` command editor.
- [Chapter 6 #toc127]: a brief example of how application grammars can
use the resource modules.
- [Detailed table of contents #toc128].
- [Chapter 1 #toc2]: categories, with links to the functions for constructing trees in them.
- [Chapter 2 #toc5]: syntactic construction functions, with cross-links and examples.
- [Chapter 3 #toc85]: morphological (lexical) paradigms.
- [Chapter 4 #toc121]: additional libraries.
- [Chapter 5 #toc127]: how to "browse" the library by loading the grammars into the ``gf`` command editor.
- [Chapter 6 #toc128]: a brief example of how application grammars can use the resource modules.
- [Detailed table of contents #toc129].
The [RGL Browser http://www.grammaticalframework.org/~john/rgl-browser/] tool allows you to interactively browse through
@@ -43,12 +41,12 @@ abstract functions and their Universal Dependency labels
- [Minibar http://cloud.grammaticalframework.org/minibar/minibar.html]:
find resource grammar expressions by parsing (select Grammar: LibraryBrowser)
or test translations between all languages (select Grammar: ResourceDemo)
- [Resource Grammar Tutorial http://www.grammaticalframework.org/doc/gf-lrec-2010.pdf]
as presented in LREC-2010.
- [Resource Grammar Tutorial http://www.grammaticalframework.org/lib/doc/rgl-tutorial/index.html],
as previously presented in LREC-2010.
- Paper "The GF Resource Grammar Library" by A. Ranta
(//Linguistic Issues in Language Technology//, 2 (2), 2009). An overview of
the library with linguistic motivations.
[PDF http://elanguage.net/journals/index.php/lilt/article/viewFile/214/158]
[PDF http://journals.linguisticsociety.org/elanguage/lilt/article/download/214/214-501-1-PB.pdf]
- Paper "Grammars as Software Libraries" by A. Ranta
(In Y. Bertot, G. Huet, J-J. Lévy, and G. Plotkin (eds.),
//From Semantics to Computer Science//, Cambridge University Press,

View File

@@ -122,3 +122,47 @@ appendChildren(
quicklinks()
]
)
/* -------------------------------------------------------------------------- */
// Toggle quicklinks
function toggleSidebar () {
var m = document.getElementById('main')
var q = document.getElementById('quicklinks')
var mClasses = 'col-md-9 col-xl-10'
var qClasses = 'col-4 col-md-3 col-xl-2 offset-8 offset-md-9 offset-xl-10'
if (hasClass(q, 'd-none')) {
// Show
addClass(m, mClasses)
addClass(q, qClasses)
removeClass(q, 'd-none')
} else {
// Hide
removeClass(m, mClasses)
removeClass(q, qClasses)
addClass(q, 'd-none')
}
}
document.getElementById('btn-quicklinks-toggle').addEventListener('click', toggleSidebar)
if (window.innerWidth >= 768) {
// Below 768 (== 'md' breakpoint) sidebar overlays content and best left hidden
toggleSidebar()
}
/* -------------------------------------------------------------------------- */
// Helpers
// Won't work on IE9; use className and split
function addClass (elem, classnames) {
for (var c of classnames.split(' ')) elem.classList.add(c)
}
function removeClass (elem, classnames) {
for (var c of classnames.split(' ')) elem.classList.remove(c)
}
// function toggleClass (elem, classnames) {
// for (var c of classnames.split(' ')) elem.classList.toggle(c)
// }
function hasClass (elem, classname) {
return elem.classList.contains(classname)
}

View File

@@ -35,15 +35,15 @@ $endfor$
<div class="container-fluid">
<div class="row">
<nav class="col-md-3 col-xl-2 d-none d-md-block sidebar pt-4" id="quicklinks">
<!-- filled dynamically via quicklinks.js -->
</nav>
<button class="btn btn-light m-1" id="btn-quicklinks-toggle" style="position: fixed; top: 0; right: 0; z-index: 10;">
<i class="fas fa-bars"></i>
</button>
<main role="main" class="col-md-9 col-xl-10 offset-md-3 offset-xl-2 pt-3">
<main role="main" class="col my-3" style="overflow-x: scroll" id="main">
$if(title)$
<header id="title-block-header">
<a href="$rel-root$" title="Home">
<img src="$rel-root$/doc/Logos/gf1.svg" height="200px" class="float-md-right mb-3 bg-white" alt="GF Logo">
<img src="$rel-root$/doc/Logos/gf1.svg" height="200" class="float-md-right ml-3 mb-3 bg-white" alt="GF Logo">
</a>
<h1 class="title">$title$</h1>
$if(subtitle)$
@@ -64,6 +64,11 @@ $if(toc)$
$endif$
$body$
</main>
<nav class="d-none sidebar py-3 border-left bg-light" id="quicklinks">
<!-- filled dynamically via quicklinks.js -->
</nav>
</div><!-- .row -->
</div><!-- .container-fluid -->
@@ -108,8 +113,7 @@ $endif$
</div>
<div class="col-6 col-sm-3">
<h6 class="text-muted">Contribute</i>
</h6>
<h6 class="text-muted">Contribute</h6>
<ul class="list-unstyled">
<li><a href="http://groups.google.com/group/gf-dev">Mailing List</a></li>
<li><a href="https://github.com/GrammaticalFramework/gf-core/issues">Issue Tracker</a></li>
@@ -124,8 +128,8 @@ $endif$
<a href="https://github.com/GrammaticalFramework/gf-rgl">RGL</a> ·
<a href="https://github.com/GrammaticalFramework/gf-contrib">Contributions</a>
</div>
<div>
<div>
</div>
</div>
</footer>
$for(include-after)$
$include-after$

View File

@@ -4,7 +4,9 @@ Amh,Amharic,amharic,,,,,n,n,,n
Ara,Arabic,arabic,,,,,,y,,y
Bul,Bulgarian,bulgarian,,,y,,,,,y
Cat,Catalan,catalan,Romance,,y,,,,y,y
Cgg,Rukiga,rukiga,,,y,y,n,n,y,y
Chi,Chinese (simplified),chinese,,,,,,,,y
Cze,Czech,czech,,,,,,n,,y
Dan,Danish,danish,Scand,,y,,,,,y
Dut,Dutch,dutch,,,y,,,,,y
Eng,English,english,,,y,,,,y,y
@@ -12,18 +14,20 @@ Est,Estonian,estonian,,,,,,,,y
Eus,Basque,basque,,,,,,,,y
Fin,Finnish,finnish,,,y,,,,y,y
Fre,French,french,Romance,,y,,,,y,y
Ger,German,german,,,,,,,,y
Ger,German,german,,,y,,,,,y
Grc,Ancient Greek,ancient_greek,,,y,,n,n,,n
Gre,Greek,greek,,,,,,,,y
Heb,Hebrew,hebrew,,,,,n,n,,n
Hin,Hindi,hindi,Hindustani,to_devanagari,y,,,,,y
Hun,Hungarian,hungarian,,,y,n,n,n,,n
Hun,Hungarian,hungarian,,,n,y,y,y,n,n
Ice,Icelandic,icelandic,,,,,,n,,y
Ina,Interlingua,interlingua,,,y,,n,n,,n
Ita,Italian,italian,Romance,,y,,,,y,y
Jpn,Japanese,japanese,,,,,,,,y
Lat,Latin,latin,,,y,,n,n,,n
Kor,Korean,korean,,,n,y,y,y,n,n
Lat,Latin,latin,,,,,y,y,n,y
Lav,Latvian,latvian,,,,,,,y,y
May,Malay,malay,,,y,,,,n,y
Mlt,Maltese,maltese,,,,,,,,y
Mon,Mongolian,mongolian,,,,,,n,,y
Nep,Nepali,nepali,,,,,,n,,y
@@ -33,13 +37,17 @@ Pes,Persian,persian,,,,,,,,y
Pnb,Punjabi,punjabi,,,y,,,,,y
Pol,Polish,polish,,,,,,,,y
Por,Portuguese,portuguese,Romance,,y,,,,y,y
Ron,Pomanian,romanian,,,y,,,,,y
Ron,Romanian,romanian,,,y,,,,,y
Rus,Russian,russian,,,y,,,,,y
Slo,Slovak,slovak,,,,,,n,,y
Slv,Slovenian,slovenian,,,,,n,n,,n
Snd,Sindhi,sindhi,,,,,,,,y
Spa,Spanish,spanish,Romance,,y,,,,y,y
Swa,Swahili,swahili,,,,n,n,n,y,n
Swa,Swahili,swahili,Bantu,,,y,n,n,n,n
Swe,Swedish,swedish,Scand,,y,,,,y,y
Tam,Tamil,tamil,n,n,n,n,n,n,n,n
Tel,Telugu,telugu,,,y,n,n,n,,n
Tha,Thai,thai,,to_thai,,,,,,y
Tur,Turkish,turkish,,,,,n,n,,n
Tur,Turkish,turkish,,,y,,,n,,n
Urd,Urdu,urdu,Hindustani,,,,,,,y
Som,Somali,somali,,,,,n,n,,n
1 Code Name Directory Functor Unlexer Present All Try Symbolic Compatibility Synopsis
4 Ara Arabic arabic y y
5 Bul Bulgarian bulgarian y y
6 Cat Catalan catalan Romance y y y
7 Cgg Rukiga rukiga y y n n y y
8 Chi Chinese (simplified) chinese y
9 Cze Czech czech n y
10 Dan Danish danish Scand y y
11 Dut Dutch dutch y y
12 Eng English english y y y
14 Eus Basque basque y
15 Fin Finnish finnish y y y
16 Fre French french Romance y y y
17 Ger German german y y
18 Grc Ancient Greek ancient_greek y n n n
19 Gre Greek greek y
20 Heb Hebrew hebrew n n n
21 Hin Hindi hindi Hindustani to_devanagari y y
22 Hun Hungarian hungarian y n n y n y n y n n
23 Ice Icelandic icelandic n y
24 Ina Interlingua interlingua y n n n
25 Ita Italian italian Romance y y y
26 Jpn Japanese japanese y
27 Lat Kor Latin Korean latin korean y n y n y n y n n
28 Lat Latin latin y y n y
29 Lav Latvian latvian y y
30 May Malay malay y n y
31 Mlt Maltese maltese y
32 Mon Mongolian mongolian n y
33 Nep Nepali nepali n y
37 Pnb Punjabi punjabi y y
38 Pol Polish polish y
39 Por Portuguese portuguese Romance y y y
40 Ron Pomanian Romanian romanian y y
41 Rus Russian russian y y
42 Slo Slovak slovak n y
43 Slv Slovenian slovenian n n n
44 Snd Sindhi sindhi y
45 Spa Spanish spanish Romance y y y
46 Swa Swahili swahili Bantu n y n n y n n
47 Swe Swedish swedish Scand y y y
48 Tam Tamil tamil n n n n n n n n
49 Tel Telugu telugu y n n n n
50 Tha Thai thai to_thai y
51 Tur Turkish turkish y n n n
52 Urd Urdu urdu Hindustani y
53 Som Somali somali n n n

BIN
src/FileHierarchy.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@@ -1,170 +1,171 @@
PredVP nsubj head
PredVPS nsubj head
DirectComplVQ empty nsubj head ccomp -- Temp argument can only be empty in English
DirectComplVS empty nsubj head ccomp -- Temp argument can only be empty in English
SlashVP nsubj head
SlashVS nsubj head ccomp
FocusObjS nsubj head -- again might be wrong; more correct to call it dobj
QuestIAdv advmod head -- "where does John sleep" cf. AdvVP
QuestIComp head nsubj -- "where is John": John is clearly nsubj, but is where the head?
QuestQVP nsubj head
QuestSlash dobj head
QuestVP nsubj head
PredVP nsubj head
PredVPS nsubj head
DirectComplVQ empty nsubj head ccomp -- Temp argument can only be empty in English
DirectComplVS empty nsubj head ccomp -- Temp argument can only be empty in English
SlashVP nsubj head
SlashVS nsubj head ccomp
FocusObjS nsubj head -- again might be wrong; more correct to call it obj
QuestIAdv advmod head -- "where does John sleep" cf. AdvVP
QuestIComp head nsubj -- "where is John": John is clearly nsubj, but is where the head?
QuestQVP nsubj head
QuestSlash obj head
QuestVP nsubj head
IdetCN det head
PredSCVP csubj head
PredSCVP csubj head
ComplSlash head dobj
ComplSlashIP head dobj
Slash3V3 head dobj
SlashV2VNP head dobj xcomp
PastPartAgentAP head dobj
AdvQVP head dobj
ComplSlash head obj
ComplSlashIP head obj
Slash3V3 head obj
SlashV2VNP head obj xcomp
PastPartAgentAP head obj
AdvQVP head obj
Slash2V3 head iobj
Slash2V3 head iobj
ComplVS head ccomp
ComplVQ head ccomp
SlashV2S head ccomp
SlashV2Q head ccomp
CleftAdv head advcl -- not sure
ComplVS head ccomp
ComplVQ head ccomp
SlashV2S head ccomp
SlashV2Q head ccomp
CleftAdv head advcl -- not sure
ComplVA head xcomp
ComplVV head xcomp
SlashVV head acl
SlashV2A head xcomp
SlashV2V head xcomp
ComplVA head xcomp
ComplVV head xcomp
SlashVV head acl
SlashV2A head xcomp
SlashV2V head xcomp
AdvNP head nmod -- not sure
ExtAdvNP head nmod -- not sure
PassAgentVPSlash head nmod -- not sure
CleftNP head acl -- this cannot be nmod, not with type RS
AdvNP head nmod -- not sure
ExtAdvNP head nmod -- not sure
PassAgentVPSlash head nmod -- not sure
CleftNP head acl -- this cannot be nmod, not with type RS
SSubjS head mark advcl
RelS head advcl
SSubjS head mark advcl
RelS head advcl
AdNum advmod head
AdAP advmod head
AdvAP head advmod
ComparAdvAdj advmod amod head
ComparAdvAdjS advmod amod head
AdvIAdv advmod head
AdVVP advmod head
AdvVP head advmod
ExtAdvVP head advmod
AddAdvQVP head advmod
AdVVPSlash advmod head
AdvVPSlash head advmod
AdvSlash head advmod
ExistIPAdv head advmod
AdvS advmod head
ExtAdvS advmod head
AdNum advmod head
AdAP advmod head
AdvAP head advmod
ComparAdvAdj advmod amod head
ComparAdvAdjS advmod amod head
AdvIAdv advmod head
AdVVP advmod head
AdvVP head advmod
ExtAdvVP head advmod
AddAdvQVP head advmod
AdVVPSlash advmod head
AdvVPSlash head advmod
AdvSlash head advmod
ExistIPAdv head advmod
AdvS advmod head
ExtAdvS advmod head
SubjS mark head
RelVP mark head
RelSlash mark head
SubjS mark head
RelVP mark head
RelSlash mark head
ComplN2 head nmod
ComplN3 nmod head
AdvCN head nmod
PossNP head nmod
PartNP head nmod
ExistNPAdv head nmod
ComplN2 head nmod
ComplN3 nmod head
AdvCN head nmod
PossNP head nmod
PartNP head nmod
ExistNPAdv head nmod
OrdNumeralSuperl nummod head -- quite wrong; cannot find relevant details in the documentation; but most probably head lies outside the score of this function
DetQuant head nummod -- quite wrong; I think the head lies outside the scope of the function
CNNumNP head nummod
OrdNumeralSuperl nummod head -- quite wrong; cannot find relevant details in the documentation; but most probably head lies outside the score of this function
DetQuant head nummod -- quite wrong; I think the head lies outside the scope of the function
CNNumNP head nummod
ApposCN head appos
ApposNP head appos
ApposCN head appos
ApposNP head appos
RelNP head acl
RelCN head acl
SentCN head acl
SentAP head acl
RelNP head acl
RelCN head acl
SentCN head acl
SentAP head acl
DetQuantOrd head nummod amod -- quite wrong; again for same reason as DetQuant function
DetCN det head
IDetCN det head
IDetQuant head empty
CountNP det head
PredetNP det head
DetQuantOrd head nummod amod -- quite wrong; again for same reason as DetQuant function
DetCN det head
IdetCN det head
IdetQuant head nummod
CountNP det head
PredetNP det head
PPartNP head amod -- only in core RGL
AdjCN amod head
AdjDAP head amod
CAdvAP case amod head
ComparA amod head
ComplA2 amod head
CompoundAP head amod
AdAdV amod head
AdAdv amod head
AdjCN amod head
AdjDAP head amod
CAdvAP case amod head
ComparA amod head
ComplA2 amod head
CompoundAP head amod
AdAdV amod head
AdAdv amod head
CompoundN compound head
CompoundN compound head
IIDig head goeswith
IIDig head goeswith
PrepNP case head
PrepIP case head
SlashPrep head case
VPSlashPrep head case
PrepNP case head
PrepIP case head
SlashPrep head case
VPSlashPrep head case
UttImpPl empty head
UttImpPol empty head
UttImpSg empty head
UttImpPl empty head
UttImpPol empty head
UttImpSg empty head
MkVPS empty empty head
MkVPS empty empty head
UseCl empty empty head
UseQCl empty empty head
UseRCl empty empty head
UseSlash empty empty head
UseVC empty empty head
UseCl empty empty head
UseQCl empty empty head
UseRCl empty empty head
UseSlash empty empty head
UseVC empty empty head
BaseAP head conj
BaseAdV head conj
BaseAdv head conj
BaseCN head conj
BaseDAP head conj
BaseIAdv head conj
BaseNP head conj
BaseRS head conj
BaseS head conj
ConsAP head conj
ConsAdV head conj
ConsAdv head conj
ConsCN head conj
ConsDAP head conj
ConsIAdv head conj
ConsNP head conj
ConsRS head conj
ConsS head conj
ConjAP cc head
ConjAdV cc head
ConjAdv cc head
ConjCN cc head
ConjDet cc head
ConjIAdv cc head
ConjNP cc head
ConjRS cc head
ConjS cc head
PhrUtt cc head discourse
BaseAP head conj
BaseAdV head conj
BaseAdv head conj
BaseCN head conj
BaseDAP head conj
BaseIAdv head conj
BaseNP head conj
BaseRS head conj
BaseS head conj
ConsAP head conj
ConsAdV head conj
ConsAdv head conj
ConsCN head conj
ConsDAP head conj
ConsIAdv head conj
ConsNP head conj
ConsRS head conj
ConsS head conj
ConjAP cc head
ConjAdV cc head
ConjAdv cc head
ConjCN cc head
ConjDet cc head
ConjIAdv cc head
ConjNP cc head
ConjRS cc head
ConjS cc head
PhrUtt cc head discourse
PlusChunk head dep
TTAnt empty empty head
PlusChunk head dep
TTAnt empty empty head
TExclMark head dep -- punctuation in the middle in these three
TFullStop head dep
TQuestMark head dep
ComplV2 head dobj -- shortcuts in App
ComplV2V head dobj xcomp
ComplV3 head iobj dobj ---- could be dobj dobj
ComplV2 head obj -- shortcuts in App
ComplV2V head obj xcomp
ComplV3 head iobj obj ---- could be obj obj
PassAgentV2 head ncomp -- not sure
RelV2 mark nsubj head
QuestV2 dobj nsubj head
QuestV2 obj nsubj head
ModCN amod head -- in ResourceDemo
RSubjS mark advcl head
RSubjS mark advcl head
SlashV2 nsubj head
RAdvCN head case nmod
SubjCl head mark advcl
@@ -180,7 +181,7 @@ AdV ADV
Adv ADV
CAdv ADV
Card NUM
Conj CONJ
Conj CCONJ
Det DET
Digits NUM
IAdv ADV
@@ -193,7 +194,7 @@ N2 NOUN
N3 NOUN
Numeral NUM
Ord NUM
PConj CONJ
PConj CCONJ
PN PROPN
Predet DET
Prep ADP
@@ -213,7 +214,3 @@ VA VERB
VQ VERB
VS VERB
VV VERB

78
src/README.md Normal file
View File

@@ -0,0 +1,78 @@
# Introduction
## Intended audience of this Readme
This Readme is designed for new developers who wish to either extend/improve on a resource grammar or create a new one. It provides an overview of the relationships between files and a simple working pipeline for developers to get started.
Note that while files in this folder are meant to be named with 3 letter suffixes representing the language, e.g. "ResBul" for the Bulgarian resource file, this Readme will use a 4 letter suffix "Lang" to represent a language in general, e.g. "ResLang".
## Author(s) of this Readme
This Readme was written by Nemo and edited by Inari on 14th August 2022.
# Creating a new resource grammar
If you are working on an RGL for a new language, you will need to run "Clone.hs" in the "src" folder so that you can clone a project from another language to your language to give you a basis to start with.
As per the instructions, the syntax is "Clone fromdir todir fromlang tolang", e.g. "runghc Clone swedish danish Swe Dan". You may want to add the option --comment-body after the word "Clone" to comment out every line in the body of the files to start fresh.
This is especially useful if your new language has very little in common with the language you are copying from because they come from different language families.
# File hierarchy
The number of files may be overwhelming, but they are related together following the graphic under "Module dependencies" under the rgl-tutorial. In the graphic, an example is that GrammarIta and ResIta are dependent on Prelude as they have arrows pointing towards the Prelude ellipse.
http://www.grammaticalframework.org/lib/doc/rgl-tutorial/index.html
The below graphic is an alternative graphic explaining the relations, taken from private correspondence with Inari.
![File Hierarchy](FileHierarchy.png)
CatLang defines the categories, and the modules AdjectiveLang, NounLang, SentenceLang, PhraseLang, and so on, all extend Cat. The Grammar is defined as a collection of all those AdjectiveLang, NounLang, SentenceLang, and so on modules. LangLang is defined as the collection GrammarLang and LexiconLang and is where you will be checking your program. You may ignore:
- AllLangAbs, AllLang, ExtendLang, ExtraLangAbs, ExtraLang, ConstructionLang, DocumentationLang, MarkupLang, BackwardLang
If the language you cloned from has any of these resource modules, you can remove them completely:
- IrregLang (unless you want to populate it with irregular verbs of your own language), MissingLang (see how to generate your own if you need it later: https://inariksit.github.io/gf/2018/08/28/gf-gotchas.html#generating-missingxxx)
# Relationships between functions in files
There may be several ways the functions within the files are organised relative to one another. In other words, there may be several schemas depending on the author. More recent RGLs might implement one schema detailed by this blog post by Inari.
https://inariksit.github.io/gf/2018/08/28/gf-gotchas.html#my-naming-scheme-for-lincats-and-opers
# Main goal
You may think of your long-term goal as eventually implementing all the abstract functions found in the "abstract" folder. In other words, you are somewhat constrained by the available categories in Cat.gf and functions in relevant e.g. Noun.gf, Verb.gf etc. files.
In the future, if you find that the available functions do not apply to your language, you may search in the Extend.gf file for more optional functions, or in Extra.gf. if it doesn't exist, create your own ExtraLangAbs.gf with the concrete ExtraLang.gf, all in the same directory gf-rgl/src/lang. This blog post contains more information.
https://inariksit.github.io/gf/2021/02/15/rgl-api-core-extensions.html#language-specific-extra-modules
There is a prioritised list of RGL functions for new resource grammars written by contributor heatherleaf. You can start by implementing the "+++" functions.
https://github.com/GrammaticalFramework/gf-rgl/issues/238
# Working pipeline example
For a pipeline, You might wish to start with implementing functions that create Noun Phrase like DetCN: Det -> CN -> NP; a function that takes a Determiner and a Common Noun and gives a Noun Phrase. In this case, the workflow is done by editing:
1. ResLang: Contains the relevant Operations (Opers) for e.g. "Noun", "mkN", "Determiner" and "Quant".
2. ParamLang: Contains the language paramters used in ResLang.
3. CatLang: CatLang will be defined in terms of Opers found in ResLang. This means that instead of Defining NP in CatLang as, say, {s: Str}, you will define NP as ResLang.NounPhrase, which points to a NounPhrase Oper in ResLang. Then you need to implement the word syntax in NounLang.
4. NounLang: Contains the relevant lins in defining sentence structure.
5. LexiconLang: Contains the lins that define the Noun words.
As you will have to define a determiner that is created from a Quant, you will have to look at the following files too.
6. StructuralLang: Contains the lins that define the Quant/Determiner words.
Note that you will have to use mkQuant instead of creating Det by mkDet directly.
# Testing your work
When you are done with your implementation, you may test that everything works by starting up LangLang and, in this case, writing something like:
```DetCN (DetQuant xxxx_Quant NumSg) (UseN xxxx_N)```
Where you replace 'xxxx' with the word in Lang.

View File

@@ -39,6 +39,7 @@ fun
n_units_AP : Card -> CN -> A -> AP ; -- x inches long
n_units_of_NP : Card -> CN -> NP -> NP ; -- x ounces of this flour
n_unit_CN : Card -> CN -> CN -> CN ; -- x gallon bottle
-- containers

View File

@@ -13,6 +13,7 @@ fun
InflectionN : N -> Inflection ;
InflectionN2 : N2 -> Inflection ;
InflectionN3 : N3 -> Inflection ;
InflectionPN : PN -> Inflection ;
InflectionA : A -> Inflection ;
InflectionA2 : A2 -> Inflection ;
InflectionV : V -> Inflection ;
@@ -27,6 +28,9 @@ fun
InflectionV2Q : V2Q -> Inflection ;
InflectionV2A : V2A -> Inflection ;
InflectionAdv : Adv -> Inflection ;
InflectionAdV : AdV -> Inflection ;
InflectionAdA : AdA -> Inflection ;
InflectionAdN : AdN -> Inflection ;
InflectionPrep : Prep -> Inflection ;
fun

View File

@@ -30,7 +30,7 @@ abstract Extend = Cat ** {
StrandQuestSlash : IP -> ClSlash -> QCl ; -- whom does John live with
StrandRelSlash : RP -> ClSlash -> RCl ; -- that he lives in
EmptyRelSlash : ClSlash -> RCl ; -- he lives in
-- $VP$ conjunction, separate categories for finite and infinitive forms (VPS and VPI, respectively)
-- covering both in the same category leads to spurious VPI parses because VPS depends on many more tenses
@@ -45,7 +45,15 @@ abstract Extend = Cat ** {
MkVPS : Temp -> Pol -> VP -> VPS ; -- hasn't slept
ConjVPS : Conj -> [VPS] -> VPS ; -- has walked and won't sleep
PredVPS : NP -> VPS -> S ; -- she [has walked and won't sleep]
SQuestVPS : NP -> VPS -> QS ; -- has she walked
QuestVPS : IP -> VPS -> QS ; -- who has walked
RelVPS : RP -> VPS -> RS ; -- which won't sleep
-- existentials that work in the absence of Cl
ExistS : Temp -> Pol -> NP -> S ; -- there was a party
ExistNPQS : Temp -> Pol -> NP -> QS ; -- was there a party
ExistIPQS : Temp -> Pol -> IP -> QS ; -- what was there
MkVPI : VP -> VPI ; -- to sleep (TODO: Ant and Pol)
ConjVPI : Conj -> [VPI] -> VPI ; -- to sleep and to walk
ComplVPIVV : VV -> VPI -> VP ; -- must sleep and walk
@@ -59,17 +67,26 @@ abstract Extend = Cat ** {
[VPI2] {2} ; -- to love, to hate
fun
MkVPS2 : Temp -> Pol -> VPSlash -> VPS2 ; -- has loved
MkVPS2 : Temp -> Pol -> VPSlash -> VPS2 ; -- has loved
ConjVPS2 : Conj -> [VPS2] -> VPS2 ; -- has loved and now hates
ComplVPS2 : VPS2 -> NP -> VPS ; -- has loved and now hates that person
ReflVPS2 : VPS2 -> RNP -> VPS ; -- have loved and now hate myself and my car
MkVPI2 : VPSlash -> VPI2 ; -- to love
MkVPI2 : VPSlash -> VPI2 ; -- to love
ConjVPI2 : Conj -> [VPI2] -> VPI2 ; -- to love and hate
ComplVPI2 : VPI2 -> NP -> VPI ; -- to love and hate that person
-- Conjunction of copula complements
cat [Comp]{2} ;
fun ConjComp : Conj -> ListComp -> Comp ;
-- Conjunction of imperatives
cat [Imp] {2} ;
fun ConjImp : Conj -> ListImp -> Imp ;
fun
ProDrop : Pron -> Pron ; -- unstressed subject pronoun becomes empty: "am tired"
ICompAP : AP -> IComp ; -- "how old"
IAdvAdv : Adv -> IAdv ; -- "how often"
@@ -88,15 +105,15 @@ abstract Extend = Cat ** {
-- participle constructions
PresPartAP : VP -> AP ; -- (the man) looking at Mary
EmbedPresPart : VP -> SC ; -- looking at Mary (is fun)
PastPartAP : VPSlash -> AP ; -- lost (opportunity) ; (opportunity) lost in space
PastPartAgentAP : VPSlash -> NP -> AP ; -- (opportunity) lost by the company
-- this is a generalization of Verb.PassV2 and should replace it in the future.
PassVPSlash : VPSlash -> VP ; -- be forced to sleep
-- the form with an agent may result in a different linearization
-- the form with an agent may result in a different linearization
-- from an adverbial modification by an agent phrase.
PassAgentVPSlash : VPSlash -> NP -> VP ; -- be begged by her to go
@@ -105,6 +122,15 @@ abstract Extend = Cat ** {
NominalizeVPSlashNP : VPSlash -> NP -> NP ;
-- counterpart to ProgrVP, for VPSlash
ProgrVPSlash : VPSlash -> VPSlash;
-- construct VPSlash from A2 and N2
A2VPSlash : A2 -> VPSlash ; -- is married to (that person)
N2VPSlash : N2 -> VPSlash ; -- is a mother of (that person)
-- existential for mathematics
ExistsNP : NP -> Cl ; -- there exists a number / there exist numbers
@@ -115,6 +141,10 @@ abstract Extend = Cat ** {
ExistMassCN : CN -> Cl ; -- there is beer / there is no beer
ExistPluralCN : CN -> Cl ; -- there are trees / there are no trees
-- generalisation of existential, with adverb as an argument
AdvIsNP : Adv -> NP -> Cl ; -- here is the tree / here are the trees
AdvIsNPAP : Adv -> NP -> AP -> Cl ; -- here are the instructions documented
-- infinitive for purpose AR 21/8/2013
PurposeVP : VP -> Adv ; -- to become happy
@@ -134,13 +164,23 @@ abstract Extend = Cat ** {
-- proper structure of "it is AP to VP"
PredAPVP : AP -> VP -> Cl ; -- it is good to walk
PredAPVP : AP -> VP -> Cl ; -- it is good to walk
-- to use an AP as CN or NP without CN
AdjAsCN : AP -> CN ; -- a green one ; en grön (Swe)
AdjAsNP : AP -> NP ; -- green (is good)
-- infinitive complement for IAdv
PredIAdvVP : IAdv -> VP -> QCl ; -- how to walk?
-- alternative to EmbedQS. For English, EmbedQS happens to work,
-- because "what" introduces question and relative. The default linearization
-- could be e.g. "the thing we did (was fun)".
EmbedSSlash : SSlash -> SC ; -- what we did (was fun)
-- reflexive noun phrases: a generalization of Verb.ReflVP, which covers just reflexive pronouns
-- This is necessary in languages like Swedish, which have special reflexive possessives.
-- However, it is also needed in application grammars that want to treat "brush one's teeth" as a one-place predicate.
@@ -148,8 +188,8 @@ abstract Extend = Cat ** {
cat
RNP ; -- reflexive noun phrase, e.g. "my family and myself"
RNPList ; -- list of reflexives to be coordinated, e.g. "my family, myself, everyone"
-- Notice that it is enough for one NP in RNPList to be RNP.
-- Notice that it is enough for one NP in RNPList to be RNP.
fun
ReflRNP : VPSlash -> RNP -> VP ; -- love my family and myself
@@ -159,15 +199,27 @@ abstract Extend = Cat ** {
PredetRNP : Predet -> RNP -> RNP ; -- all my brothers
AdvRNP : NP -> Prep -> RNP -> RNP ; -- a dispute with his wife
AdvRVP : VP -> Prep -> RNP -> VP ; -- lectured about her travels
AdvRAP : AP -> Prep -> RNP -> AP ; -- adamant in his refusal
ReflA2RNP : A2 -> RNP -> AP ; -- indifferent to their surroundings
-- NOTE: generalizes ReflA2
PossPronRNP : Pron -> Num -> CN -> RNP -> NP ; -- his abandonment of his wife and children
ConjRNP : Conj -> RNPList -> RNP ; -- my family, John and myself
Base_rr_RNP : RNP -> RNP -> RNPList ; -- my family, myself
Base_rr_RNP : RNP -> RNP -> RNPList ; -- my family, myself
Base_nr_RNP : NP -> RNP -> RNPList ; -- John, myself
Base_rn_RNP : RNP -> NP -> RNPList ; -- myself, John
Cons_rr_RNP : RNP -> RNPList -> RNPList ; -- my family, myself, John
Cons_nr_RNP : NP -> RNPList -> RNPList ; -- John, my family, myself
---- Cons_rn_RNP : RNP -> ListNP -> RNPList ; -- myself, John, Mary
-- reflexive possessive on its own right, like in Swedish, Czech, Slovak
ReflPossPron : Quant ; -- Swe sin,sitt,sina
--- from Extensions
@@ -181,8 +233,8 @@ abstract Extend = Cat ** {
GerundNP : VP -> NP ; -- publishing the document (by nature definite)
GerundAdv : VP -> Adv ; -- publishing the document (prepositionless adverb)
WithoutVP : VP -> Adv ; -- without publishing the document
ByVP : VP -> Adv ; -- by publishing the document
WithoutVP : VP -> Adv ; -- without publishing the document
ByVP : VP -> Adv ; -- by publishing the document
InOrderToVP : VP -> Adv ; -- (in order) to publish the document
ApposNP : NP -> NP -> NP ; -- Mr Macron, the president of France,
@@ -206,6 +258,10 @@ abstract Extend = Cat ** {
DetNPMasc : Det -> NP ;
DetNPFem : Det -> NP ;
UseComp_estar : Comp -> VP ; -- (Cat, Spa, Por) "está cheio" instead of "é cheio"
SubjRelNP : NP -> RS -> NP ; -- Force RS in subjunctive: lo que les *resulte* mejor
iFem_Pron : Pron ; -- I (Fem)
youFem_Pron : Pron ; -- you (Fem)
weFem_Pron : Pron ; -- we (Fem)
@@ -222,4 +278,18 @@ abstract Extend = Cat ** {
UttDatIP : IP -> Utt ; -- whom (dative)
-- UseDAP replaces DetNP from the RGL which is more limited.
-- Instead of (DetNP d) use (UseDAP (DetDAP d)). The advantage
-- is that now we can also have an adjective inserted, i.e.
-- (UseDAP (AdjDAP (DetDAP d) a). There are also versions of
-- UseDAP for different genders.
fun UseDAP : DAP -> NP ;
UseDAPMasc : DAP -> NP ;
UseDAPFem : DAP -> NP ;
cat X ; -- for words that are difficult to classify, mainly for MorphoDict
fun
CardCNCard : Card -> CN -> Card ; -- three million, four lakh, six dozen etc
}

View File

@@ -40,6 +40,7 @@ abstract Sentence = Cat ** {
-- To fix these parameters, see [Phrase Phrase.html].
ImpVP : VP -> Imp ; -- love yourselves
AdvImp : Adv -> Imp -> Imp ; -- please love yourselves
--2 Embedded sentences

View File

@@ -17,6 +17,10 @@ fun
verb_Category : Category ;
adverb_Category : Category ;
preposition_Category : Category ;
numeral_Category : Category ;
pronoun_Category : Category ;
determiner_Category : Category ;
article_Category : Category ;
number_ParameterType : ParameterType ;
gender_ParameterType : ParameterType ;
@@ -65,6 +69,7 @@ fun
active_Parameter : Parameter ;
passive_Parameter : Parameter ;
middle_Parameter : Parameter ;
present_Parameter : Parameter ;
past_Parameter : Parameter ;
@@ -99,6 +104,9 @@ fun
short_Parameter : Parameter ; -- short form of e.g. a Fin infinitive
long_Parameter : Parameter ;
strong_Parameter : Parameter ; -- German adjective declensions
weak_Parameter : Parameter ;
finite_Modifier : Modifier ;
transitive_Modifier : Modifier ;
nominal_Modifier : Modifier ;

View File

@@ -0,0 +1,153 @@
--# -path=.:../abstract:../common
concrete DocumentationAfr of Documentation = CatAfr ** open
ResAfr,
Prelude,
HTML
in {
lincat
Inflection = {t : Str; s1,s2 : Str} ;
Definition = {s : Str} ;
Document = {s : Str} ;
Tag = {s : Str} ;
lin
InflectionN, InflectionN2, InflectionN3 = \noun -> {
t = "s" ;
s1 = heading1 "Selfstandige Naamwoord" ;
s2 = frameTable (
tr (th "Enkelvoud" ++ th "Meervoud" ) ++
tr (td (noun.s ! NF Sg Nom) ++ td (noun.s ! NF Pl Nom)))
} ;
InflectionPN = \pn -> {
t = "pn" ;
s1 = heading1 "Naam" ;
s2 = paragraph (pn.s ! NPNom)
} ;
InflectionA, InflectionA2 = \adj ->
let
gforms : AForm -> Str = \a ->
td (adj.s ! Posit ! a) ++
td (adj.s ! Compar ! a) ++
case a of {
AGen => td "-" ; -- superlative partitive not used
_ => td (adj.s ! Superl ! a)
} ;
dtable : Str =
frameTable (
tr (th [] ++ th "Stellend" ++ th "Vergrotend" ++
th "Oortreffend") ++
tr (th "Predikatief" ++ gforms APred) ++
tr (th "Attributief" ++ gforms AAttr) ++
tr (th "Partitief" ++ gforms AGen)
)
in { t = "bv" ;
s1 = heading1 "Byvoeglike naamwoord" ;
s2 = dtable
} ;
InflectionAdv, InflectionAdV, InflectionAdA, InflectionAdN = \adv -> {
t = "bw" ;
s1 = heading1 "Bywoord" ;
s2 = paragraph adv.s
} ;
InflectionPrep p = {
t = "prep" ;
s1 = heading1 "Voorsetsel" ;
s2 = paragraph p.s
} ;
InflectionV v = {
t = "w" ;
s1 = heading1 "Werkwoord" ;
s2 = inflVerb v
} ;
InflectionV2 v = {
t = "v" ;
s1 = heading1 "Werkwoord" ;
s2 = inflVerb v
} ;
InflectionV3 v = {
t = "v" ;
s1 = heading1 "Werkwoord" ;
s2 = inflVerb v
} ;
InflectionV2V v = {
t = "v" ;
s1 = heading1 "Werkwoord" ;
s2 = inflVerb v
} ;
InflectionV2S v = {
t = "v" ;
s1 = heading1 "Werkwoord" ;
s2 = inflVerb v
} ;
InflectionV2Q v = {
t = "v" ;
s1 = heading1 "Werkwoord" ;
s2 = inflVerb v
} ;
InflectionV2A v = {
t = "v" ;
s1 = heading1 "Werkwoord" ;
s2 = inflVerb v
} ;
InflectionVV v = {
t = "v" ;
s1 = heading1 "Werkwoord" ;
s2 = inflVerb v
} ;
InflectionVS v = {
t = "v" ;
s1 = heading1 "Werkwoord" ;
s2 = inflVerb v
} ;
InflectionVQ v = {
t = "v" ;
s1 = heading1 "Werkwoord" ;
s2 = inflVerb v
} ;
InflectionVA v = {
t = "v" ;
s1 = heading1 "Werkwoord" ;
s2 = inflVerb v
} ;
lin
NoDefinition t = {s=t.s};
MkDefinition t d = {s="<p><b>Definisie:</b>"++t.s++d.s++"</p>"};
MkDefinitionEx t d e = {s="<p><b>Definisie:</b>"++t.s++d.s++"</p><p><b>Voorbeeld:</b>"++e.s++"</p>"};
MkDocument d i e = ss (i.s1 ++ d.s ++ i.s2 ++ paragraph e.s) ; -- explanation appended in a new paragraph
MkTag i = ss i.t ;
oper
inflVerb : VVerb -> Str = \verb ->
let
vfin : VForm -> Str = \f ->
verb.s ! f ++ verb.prefix ;
gforms : VForm -> Str = \f ->
td (vfin f) ;
in frameTable (
tr (th "Infinitief" ++ td (verb.s ! VInf)) ++
tr (th "Teenwoordige Tyd" ++ td (verb.s ! VPres)) ++
tr (th "Verlede Tyd" ++ td (verb.s ! VPast)) ++
tr (th "Perfectief" ++ td (verb.s ! VPerf))
) ;
}

View File

@@ -2,4 +2,6 @@
concrete LangAfr of Lang =
GrammarAfr,
LexiconAfr ;
LexiconAfr
,DocumentationAfr --# notpresent
;

View File

@@ -0,0 +1,9 @@
--# -path=.:alltenses:prelude
resource CombinatorsCze = Combinators with
(Cat = CatCze),
(Structural = StructuralCze),
(Constructors = ConstructorsCze)
** open MissingCze in {}

View File

@@ -0,0 +1,7 @@
--# -path=.:alltenses:prelude:src/hungarian
resource CombinatorsHun = Combinators with
(Cat = CatHun),
(Structural = StructuralHun),
(Noun = NounHun),
(Constructors = ConstructorsHun) ** open MissingHun in {} ;

View File

@@ -0,0 +1,7 @@
--# -path=.:alltenses:prelude:../korean
resource CombinatorsKor = Combinators with
(Cat = CatKor),
(Structural = StructuralKor),
(Noun = NounKor),
(Constructors = ConstructorsKor) ** open MissingKor in {} ;

View File

@@ -0,0 +1,8 @@
--# -path=.:alltenses:prelude
resource CombinatorsMay = Combinators - [ appCN, appCNc ] with
(Cat = CatMay),
(Structural = StructuralMay),
(Noun = NounMay),
(Constructors = ConstructorsMay) **
{}

View File

@@ -0,0 +1,9 @@
--# -path=.:alltenses:prelude
resource CombinatorsSlo = Combinators with
(Cat = CatSlo),
(Structural = StructuralSlo),
(Constructors = ConstructorsSlo)
** open MissingSlo in {}

View File

@@ -0,0 +1,9 @@
--# -path=.:alltenses:prelude
resource CombinatorsTam = Combinators - [ appCN, appCNc ] with
(Cat = CatTam),
(Structural = StructuralTam),
(Noun = NounTam),
(Constructors = ConstructorsTam) **
{}
}

View File

@@ -0,0 +1,9 @@
--# -path=.:alltenses:prelude
resource CombinatorsTur = Combinators with
(Cat = CatTur),
(Structural = StructuralTur),
(Noun = NounTur),
(Constructors = ConstructorsTur) **
{
}

View File

@@ -1180,6 +1180,8 @@ incomplete resource Constructors = open Grammar in { --%
= \a,p -> TUseQCl TPres a p ; --%
mkQS : (Tense) -> (Ant) -> (Pol) -> QCl -> QS -- who wouldn't have slept
= TUseQCl ; --%
mkQS : Temp -> Pol -> QCl -> QS -- who wouldn't have slept --%
= UseQCl ; --%
-- Since 'yes-no' question clauses can be built from clauses (see below),
-- we give a shortcut

View File

@@ -0,0 +1,5 @@
--# -path=.:alltenses:prelude
resource ConstructorsCze = Constructors with (Grammar = GrammarCze)
** open MissingCze in {}

View File

@@ -0,0 +1,3 @@
--# -path=.:alltenses:prelude:../hungarian
resource ConstructorsHun = Constructors with (Grammar = GrammarHun) ** open MissingHun in {} ;

View File

@@ -0,0 +1,3 @@
--# -path=.:alltenses:prelude:../korean
resource ConstructorsKor = Constructors with (Grammar = GrammarKor) ** open MissingKor in {} ;

View File

@@ -1,4 +1,4 @@
--# -path=.:alltenses:prelude:../latin
resource ConstructorsLat = Constructors with (Grammar = GrammarLat) **
open MissingLat in {}
open MissingLat in {} ;

View File

@@ -0,0 +1,4 @@
--# -path=.:alltenses:prelude:../malay
resource ConstructorsMay = Constructors with (Grammar = GrammarMay) **
open MissingMay in {} ;

View File

@@ -0,0 +1,5 @@
--# -path=.:alltenses:prelude
resource ConstructorsSlo = Constructors with (Grammar = GrammarSlo)
** open MissingSlo in {}

View File

@@ -0,0 +1,5 @@
--# -path=.:alltenses:prelude:../tamil
resource ConstructorsTam = Constructors with (Grammar = GrammarTam) **
open MissingTam in {} ;
}

View File

@@ -0,0 +1,3 @@
--# -path=.:alltenses:prelude
resource ConstructorsTur = Constructors with (Grammar = GrammarTur) ;

View File

@@ -6,8 +6,9 @@ incomplete resource Symbolic = open Symbol, Grammar, PredefCnc in {
symb : overload {
symb : Symb -> NP ; -- x
symb : Str -> NP ; -- x
symb : Int -> NP ; -- 23
symb : Int -> NP ; -- 23 (is prime)
symb : Float -> NP ; -- 0.99
symb : Int -> Card ; -- 23 (houses)
symb : N -> Digits -> NP ; -- level 4
symb : N -> Card -> NP ; -- level at least four
symb : CN -> Card -> NP ; -- advanced level at least four
@@ -45,6 +46,8 @@ incomplete resource Symbolic = open Symbol, Grammar, PredefCnc in {
= \i -> UsePN (IntPN i) ;
symb : Float -> NP
= \i -> UsePN (FloatPN i) ;
symb : Int -> Card
= \s -> SymbNum (mkSymb s.s) ;
symb : N -> Digits -> NP
= \c,i -> CNNumNP (UseN c) (NumDigits i) ;
symb : N -> Card -> NP

6
src/api/SymbolicCze.gf Normal file
View File

@@ -0,0 +1,6 @@
--# -path=.:../czech:../common:../abstract:../prelude
resource SymbolicCze = Symbolic with
(Symbol = SymbolCze),
(Grammar = GrammarCze)
** open MissingCze in {}

5
src/api/SymbolicHun.gf Normal file
View File

@@ -0,0 +1,5 @@
--# -path=.:../hungarian:../common:../abstract:../prelude
resource SymbolicHun = Symbolic with
(Symbol = SymbolHun),
(Grammar = GrammarHun) ** open MissingHun in {} ;

5
src/api/SymbolicKor.gf Normal file
View File

@@ -0,0 +1,5 @@
--# -path=.:../korean:../common:../abstract:../prelude
resource SymbolicKor = Symbolic with
(Symbol = SymbolKor),
(Grammar = GrammarKor) ** open MissingKor in {} ;

View File

@@ -1,5 +1,5 @@
--# -path=.:../icelandic:../common:../abstract:../prelude
--# -path=.:../latin:../common:../abstract:../prelude
resource SymbolicLat = Symbolic with
(Symbol = SymbolLat),
(Grammar = GrammarLat) ;
(Grammar = GrammarLat) ** open MissingLat in {} ;

5
src/api/SymbolicMay.gf Normal file
View File

@@ -0,0 +1,5 @@
--# -path=.:../malay:../common:../abstract:../prelude
resource SymbolicMay = Symbolic with
(Symbol = SymbolMay),
(Grammar = GrammarMay) ** open MissingMay in {} ;

6
src/api/SymbolicSlo.gf Normal file
View File

@@ -0,0 +1,6 @@
--# -path=.:../slovak:../common:../abstract:../prelude
resource SymbolicSlo = Symbolic with
(Symbol = SymbolSlo),
(Grammar = GrammarSlo)
** open MissingSlo in {}

6
src/api/SymbolicTam.gf Normal file
View File

@@ -0,0 +1,6 @@
--# -path=.:../tamil:../common:../abstract:../prelude
resource SymbolicTam = Symbolic with
(Symbol = SymbolTam),
(Grammar = GrammarTam) ** open MissingTam in {} ;
}

4
src/api/SyntaxCze.gf Normal file
View File

@@ -0,0 +1,4 @@
--# -path=.:./alltenses:../prelude
instance SyntaxCze of Syntax =
ConstructorsCze, CatCze, StructuralCze, CombinatorsCze ;

4
src/api/SyntaxHun.gf Normal file
View File

@@ -0,0 +1,4 @@
--# -path=.:alltenses:prelude:../hungarian
instance SyntaxHun of Syntax =
ConstructorsHun, CatHun, StructuralHun, CombinatorsHun ;

5
src/api/SyntaxKor.gf Normal file
View File

@@ -0,0 +1,5 @@
--# -path=.:alltenses:prelude:../korean
instance SyntaxKor of Syntax =
ConstructorsKor, CatKor, StructuralKor, CombinatorsKor **
open MissingKor in {} ;

5
src/api/SyntaxMay.gf Normal file
View File

@@ -0,0 +1,5 @@
--# -path=.:alltenses:prelude
instance SyntaxMay of Syntax =
ConstructorsMay, CatMay, StructuralMay, CombinatorsMay ;

4
src/api/SyntaxSlo.gf Normal file
View File

@@ -0,0 +1,4 @@
--# -path=.:./alltenses:../prelude
instance SyntaxSlo of Syntax =
ConstructorsSlo, CatSlo, StructuralSlo, CombinatorsSlo ;

6
src/api/SyntaxTam.gf Normal file
View File

@@ -0,0 +1,6 @@
--# -path=.:alltenses:prelude
instance SyntaxTam of Syntax =
ConstructorsTam, CatTam, StructuralTam, CombinatorsTam ;
}

4
src/api/SyntaxTur.gf Normal file
View File

@@ -0,0 +1,4 @@
--# -path=.:alltenses:prelude
instance SyntaxTur of Syntax = ConstructorsTur, CatTur, StructuralTur, CombinatorsTur ;

13
src/api/TryCze.gf Normal file
View File

@@ -0,0 +1,13 @@
--# -path=.:../czech:../common:../abstract:../prelude
resource TryCze = SyntaxCze, LexiconCze, ParadigmsCze -[mkAdv, mkDet,mkQuant]**
open (P = ParadigmsCze) in {
-- oper
-- mkAdv = overload SyntaxCze {
-- mkAdv : Str -> Adv = P.mkAdv ;
-- } ;
}

View File

@@ -1,6 +1,6 @@
--# -path=.:../english:../common:../abstract:../prelude
resource TryEng = SyntaxEng-[mkAdN], LexiconEng, ParadigmsEng - [mkAdv,mkAdN,mkOrd,mkQuant] **
resource TryEng = SyntaxEng-[mkAdN], LexiconEng, ParadigmsEng - [mkAdv,mkAdN,mkOrd,mkQuant,mkVoc] **
open (P = ParadigmsEng) in {
oper

View File

@@ -1,3 +1,8 @@
--# -path=.:../finnish:../common:../abstract:../prelude
resource TryFin = SyntaxFin, LexiconFin-[mkOrd], ParadigmsFin - [mkAdv,mkAdN,mkDet,mkQuant,mkPConj] ;
resource TryFin =
SyntaxFin,
LexiconFin-[mkOrd],
ParadigmsFin - [mkAdv,mkAdN,mkDet,mkQuant,mkPConj],
MakeStructuralFin - [mkDet,mkIDet,mkConj,mkSubj]
;

3
src/api/TryHun.gf Normal file
View File

@@ -0,0 +1,3 @@
--# -path=.:../hungarian:../common:../abstract:../prelude
resource TryHun = SyntaxHun, LexiconHun, ParadigmsHun - [mkAdv] ;

3
src/api/TryKor.gf Normal file
View File

@@ -0,0 +1,3 @@
--# -path=.:../korean:../common:../abstract:../prelude
resource TryKor = SyntaxKor, LexiconKor, ParadigmsKor - [mkAdv] ;

View File

@@ -1,3 +1,3 @@
--# -path=.:../latin:../common:../abstract:../prelude
resource TryLat = SyntaxLat, LexiconLat, ParadigmsLat - [mkAdv,mkAdN,mkOrd] ;
resource TryLat = SyntaxLat, LexiconLat, ParadigmsLat - [mkAdv,mkAdN,mkOrd,mkNum] ;

3
src/api/TryMay.gf Normal file
View File

@@ -0,0 +1,3 @@
--# -path=.:../malay:../common:../abstract:../prelude
resource TryMay = SyntaxMay, LexiconMay, ParadigmsMay - [mkAdv,mkAdN,mkOrd,mkNum] ;

View File

@@ -1,3 +1,3 @@
--# -path=.:../russian:../common:../abstract:../prelude
resource TryRus = SyntaxRus, LexiconRus, ParadigmsRus - [mkAdv] ;
resource TryRus = SyntaxRus, LexiconRus, ParadigmsRus - [mkAdv,mkIAdv,mkOrd,mkAdN] ;

13
src/api/TrySlo.gf Normal file
View File

@@ -0,0 +1,13 @@
--# -path=.:../slovak:../common:../abstract:../prelude
resource TrySlo = SyntaxSlo, LexiconSlo, ParadigmsSlo -[mkAdv, mkDet,mkQuant]**
open (P = ParadigmsSlo) in {
-- oper
-- mkAdv = overload SyntaxSlo {
-- mkAdv : Str -> Adv = P.mkAdv ;
-- } ;
}

4
src/api/TryTam.gf Normal file
View File

@@ -0,0 +1,4 @@
--# -path=.:../tamil :../common:../abstract:../prelude
resource TryTam = SyntaxTam, LexiconTam, ParadigmsTam - [mkAdv,mkAdN,mkOrd,mkNum] ;
}

11
src/api/TryTur.gf Normal file
View File

@@ -0,0 +1,11 @@
--# -path=.:../turkish:../common:../abstract:../prelude
resource TryTur = SyntaxTur, LexiconTur, ParadigmsTur - [mkAdN,mkAdv,mkNum,mkQuant] **
open (P = ParadigmsTur), (R = ResTur) in {
oper
mkAdv = overload SyntaxTur {
mkAdv : Str -> Adv = P.mkAdv ;
} ;
}

View File

@@ -3,7 +3,6 @@ concrete AdjectiveAra of Adjective = CatAra ** open ResAra, Prelude in {
flags coding = utf8 ;
lin
PositA a = {
s = \\h,g,n,d,c => case h of {
Hum => a.s ! APosit g n d c;
@@ -23,25 +22,23 @@ concrete AdjectiveAra of Adjective = CatAra ** open ResAra, Prelude in {
ComplA2 a np = {
s = \\sp,g,n,st,c => a.s ! APosit g n st c ++ a.c2.s ++ bindIf a.c2.binds ++ np.s ! a.c2.c ;
} ;
--
-- ReflA2 a = {
-- s = \\ag => a.s ! AAdj Posit ++ a.c2 ++ reflPron ! ag ;
-- isPre = False
-- } ;
--
-- SentAP ap sc = {
-- s = \\a => ap.s ! a ++ sc.s ;
-- isPre = False
-- } ;
--
AdAP ada ap = {
s = \\sp,g,n,st,c => ada.s ++ ap.s ! sp ! g ! n ! st ! c
-- full PerGenNum should be added to make this work properly
ReflA2 a = {
s = \\sp,g,n,st,c => a.s ! APosit g n st c ++ a.c2.s ++ reflPron c (gn2pgn {g=g;n=n})
} ;
AdAP ada ap = {
s = \\sp,g,n,st,c => ap.s ! sp ! g ! n ! st ! c ++ ada.s
} ;
AdvAP,
SentAP = \ap,ss -> AdAP ss ap ;
UseA2 = PositA ;
UseComparA a = {
s = \\h,g,n,d,c => a.s ! AComp d c
s = \\h,g,n,d,c => a.s ! AComp d c
};
-- : Ord -> AP ; -- warmest

View File

@@ -11,9 +11,9 @@ concrete AdverbAra of Adverb = CatAra ** open ResAra, Prelude in {
-- s = cadv.s ++ a.s ! AAdv ++ "مِنْ" ++ s.s
-- } ;
PrepNP prep np = {s = prep.s ++ bindIf prep.binds ++ np.s ! prep.c} ;
PrepNP prep np = {s = prep.s ++ bindIf (orB np.a.isPron prep.binds) ++ np.s ! prep.c} ;
AdAdv ad av = cc2 av ad ;
AdAdv ad av = cc2 ad av ;
-- : Subj -> S -> Adv ; -- when she sleeps
SubjS subj s = {s = subj.s ++ s.s ! subj.o} ;

View File

@@ -1,3 +1,3 @@
--# -path=.:../abstract:../common:../api:../prelude
concrete AllAra of AllAraAbs = LangAra ;
concrete AllAra of AllAraAbs = LangAra, ExtendAra ;

View File

@@ -1,3 +1,3 @@
--# -path=.:../abstract:../common:prelude
abstract AllAraAbs = Lang ;
abstract AllAraAbs = Lang, Extend ;

View File

@@ -13,7 +13,7 @@ concrete CatAra of Cat = CommonX - [Utt] ** open ResAra, Prelude, ParamX in {
SSlash,
S = {s : Order => Str} ; -- subordinate clause has nominal word order and subject in acc
QS = {s : QForm => Str} ;
RS = {s : Agr => Case => Str} ; -- case because the relative pronoun inflects in case
RS = {s : PerGenNum => Case => Str} ; -- case because the relative pronoun inflects in case
-- Sentence
@@ -26,7 +26,7 @@ concrete CatAra of Cat = CommonX - [Utt] ** open ResAra, Prelude, ParamX in {
QCl = ResAra.QCl ; -- {s : Tense => Polarity => QForm => Str} ;
IDet = ResAra.IDet ; -- {s : Gender => State => Case => Str ; n : Number} ;
IP = ResAra.IP ; -- {s : (isPred : Bool) => State => Case => Str ; n : Number} ;
IComp = ResAra.IComp ; --
IComp = ResAra.IComp ; --
IQuant = {s : State => Case => Str} ;
-- Relative
@@ -70,19 +70,19 @@ concrete CatAra of Cat = CommonX - [Utt] ** open ResAra, Prelude, ParamX in {
-- Structural
Conj = {s : Str ; n : ResAra.Number} ;
-- DConj = {s1,s2 : Str ; n : ResAra.Number} ;
Conj = {s1,s2 : Str; n : ResAra.Number} ;
Subj = {s : Str ; o : Order} ;
Prep = ResAra.Preposition ;
-- Open lexical classes, e.g. Lexicon
V, VS, VQ, VA = ResAra.Verb ; -- = {s : VForm => Str} ;
V2, V2A = ResAra.Verb2 ;
VV = ResAra.Verb2 ** {sc : Preposition} ; -- c2 is for verb
V2S, V2Q = ResAra.Verb2 ;
V, VQ, VA = ResAra.Verb ; -- = {s : VForm => Str} ;
VV = ResAra.Verb ** {s2 : Str ; sc : Preposition} ; -- s2 is complementiser
V2, V2A, V2Q = ResAra.Verb2 ;
V2V = ResAra.Verb2 ** {s2 : Str ; sc : Preposition} ; -- s2 is complementiser, c2 is for dir.obj
V2S = ResAra.Verb2 ** {s2 : Str ; o : Order} ;
VS = ResAra.Verb ** {s2 : Str ; o : Order} ;
V3 = ResAra.Verb3 ;
V2V = ResAra.Verb3 ** {sc : Preposition} ; -- c3 is for verb, c2 is for dir.obj
A = ResAra.Adj ;
A2 = ResAra.Adj2 ;
@@ -96,6 +96,6 @@ linref
CN = \cn -> uttCN cn ! Masc ;
N = \n -> uttCN (useN n) ! Masc ;
VP = \vp -> uttVP vp ! Masc ;
VP = \vp -> uttVP VPPerf vp ! Masc ;
}

View File

@@ -1,11 +1,12 @@
concrete ConjunctionAra of Conjunction =
concrete ConjunctionAra of Conjunction =
CatAra ** open ResAra, Coordination, Prelude in {
lincat
[S] = {s1,s2 : Order => Str} ;
[Adv] = {s1,s2 : Str} ;
[NP] = {s1,s2 : Case => Str ; a : Agr ; empty : Str} ;
[NP] = {s1,s2 : Case => Str ; a : Agr ; empty : Str; isHeavy : Bool} ;
[CN] = {s1,s2 : NTable ; g : Gender ; h : Species ; isDual : Bool ; np : Case => Str ; isHeavy : Bool} ;
[AP] = {s1,s2 : Species => Gender => Number => State => Case => Str} ;
lin
@@ -13,32 +14,38 @@ lin
BaseAdv = twoSS ;
ConsAdv = consrSS comma ;
ConjAdv = conjunctSS ;
ConjAdv = conjunctDistrSS ;
BaseS = twoTable Order ;
ConsS = consrTable Order comma ;
ConjS = conjunctTable Order ;
ConjS = conjunctDistrTable Order ;
BaseNP x y = twoTable Case x y ** {
a = conjAgr x.a y.a ;
empty = []
BaseNP x y = emptyNP ** twoTable Case x y ** {
a = conjAgr x.a y.a
} ;
ConsNP xs x = consrTable Case comma xs x ** {
a = conjAgr xs.a x.a ;
empty = []
ConsNP xs x = emptyNP ** consrTable Case comma xs x ** {
a = conjAgr xs.a x.a
} ;
ConjNP conj ss = conjunctTable Case conj ss ** {
a = let gn = pgn2gn ss.a.pgn in
{pgn = Per3 gn.g (conjNumber conj.n gn.n) ; isPron = False} ;
empty = []
ConjNP conj ss = emptyNP ** conjunctDistrTable Case conj ss ** {
a = let gn = pgn2gn ss.a.pgn in
{pgn = Per3 gn.g (conjNumber conj.n gn.n) ; isPron = False}
} ;
BaseAP = twoTable5 Species Gender Number State Case ;
ConsAP = consrTable5 Species Gender Number State Case comma ;
ConjAP = conjunctTable5 Species Gender Number State Case ;
ConjAP = conjunctDistrTable5 Species Gender Number State Case ;
BaseCN cn1 cn2 = leanCN cn1 ** twoTable3 Number State Case (leanCN cn1) (leanCN cn2) ;
ConsCN cn cns = leanCN cn ** consrTable3 Number State Case comma (leanCN cn) cns ;
ConjCN conj cns = cns ** conjunctDistrTable3 Number State Case conj cns ;
oper
leanCN : CN -> CN = \cn -> cn ** {
np = \\_ => [] ;
s = \\n,s,c => cn2str cn n s c
} ;
conjAgr : Agr -> Agr -> Agr = \a,b -> {
isPron = False ;
pgn = let gnA = pgn2gn a.pgn ; gnB = pgn2gn b.pgn in
@@ -53,30 +60,25 @@ oper
-- move to predef?
ListTable5 : PType -> PType -> PType -> PType -> PType -> Type = \P,Q,R,T,S ->
{s1,s2 : P => Q => R => T => S => Str} ;
ListTable5 : PType -> PType -> PType -> PType -> PType -> Type = \P,Q,R,T,S ->
{s1,s2 : P => Q => R => T => S => Str} ;
twoTable5 : (P,Q,R,T,S : PType) -> (_,_ : {s : P => Q => R => T => S => Str}) ->
ListTable5 P Q R T S =
twoTable5 : (P,Q,R,T,S : PType) -> (_,_ : {s : P => Q => R => T => S => Str}) ->
ListTable5 P Q R T S =
\_,_,_,_,_,x,y ->
{s1 = x.s ; s2 = y.s} ;
{s1 = x.s ; s2 = y.s} ;
consrTable5 :
(P,Q,R,T,S : PType) -> Str -> {s : P => Q => R => T => S => Str} ->
consrTable5 :
(P,Q,R,T,S : PType) -> Str -> {s : P => Q => R => T => S => Str} ->
ListTable5 P Q R T S -> ListTable5 P Q R T S =
\P,Q,R,T,S,c,x,xs ->
{s1 = \\p,q,r,t,s => xs.s1 ! p ! q ! r ! t ! s ++ c ++ xs.s2 ! p ! q ! r ! t ! s ;
{s1 = \\p,q,r,t,s => xs.s1 ! p ! q ! r ! t ! s ++ c ++ xs.s2 ! p ! q ! r ! t ! s ;
s2 = x.s
} ;
} ;
conjunctTable5 :
(P,Q,R,T,S : PType) -> Conjunction -> ListTable5 P Q R T S -> {s : P => Q => R => T => S => Str} =
conjunctDistrTable5 :
(P,Q,R,T,S : PType) -> ConjunctionDistr -> ListTable5 P Q R T S ->
{s : P => Q => R => T => S => Str} =
\P,Q,R,T,S,or,xs ->
{s = \\p,q,r,t,s => xs.s1 ! p ! q ! r ! t ! s ++ or.s ++ xs.s2 ! p ! q ! r ! t ! s} ;
-- conjunctDistrTable5 :
-- (P,Q,R,T,S : PType) -> ConjunctionDistr -> ListTable5 P Q R T S ->
-- {s : P => Q => R => T => S => Str} =
-- \P,Q,R,T,S,or,xs ->
-- {s = \\p,q,r,t,s => or.s1++ xs.s1 ! p ! q ! r ! t ! s ++ or.s2 ++ xs.s2 ! p ! q ! r ! t ! s} ;
{s = \\p,q,r,t,s => or.s1++ xs.s1 ! p ! q ! r ! t ! s ++ or.s2 ++ xs.s2 ! p ! q ! r ! t ! s} ;
}

View File

@@ -1,4 +1,4 @@
concrete ConstructionAra of Construction = CatAra ** open
concrete ConstructionAra of Construction = CatAra ** open
Prelude,
ParadigmsAra,
SyntaxAra,
@@ -7,7 +7,7 @@ concrete ConstructionAra of Construction = CatAra ** open
(E=ExtendAra),
(R=ResAra),
(L=LexiconAra) in {
lincat
Timeunit = N ;
Weekday = N ;
@@ -17,18 +17,25 @@ lincat
lin
timeunitAdv n time =
timeunitAdv n time =
let n_card : Card = n ;
n_hours_NP : NP = mkNP n_card time ;
in SyntaxAra.mkAdv during_Prep n_hours_NP | ParadigmsAra.mkAdv (n_hours_NP.s ! R.Nom) ;
-- random guesses
weekdayPunctualAdv w = SyntaxAra.mkAdv on_Prep (mkNP w) ; -- on Sunday
weekdayHabitualAdv w = SyntaxAra.mkAdv on_Prep (mkNP w) ; -- on Sundays
weekdayNextAdv w = SyntaxAra.mkAdv on_Prep (mkNP w) ; -- next Sunday
weekdayLastAdv w = SyntaxAra.mkAdv on_Prep (mkNP w) ; -- last Sunday
weekdayPunctualAdv w = ParadigmsAra.mkAdv ((mkNP w).s ! R.Nom) ; -- on Sunday
-- weekdayPunctualAdv w = SyntaxAra.mkAdv noPrep (mkNP w) ; -- on Sunday
-- TODO
weekdayHabitualAdv, -- on Sundays
weekdayNextAdv, -- next Sunday
weekdayLastAdv = weekdayPunctualAdv ; -- last Sunday
monthAdv january =
let january_CN : CN = mkCN month_Timeunit (mkNP (mkPN january)) ;
january_NP : NP = R.emptyNP **
{s = \\c => R.cn2str january_CN R.Sg R.Const c ;
a = {pgn = R.Per3 january_CN.g R.Sg ; isPron = False}} ;
in SyntaxAra.mkAdv R.biPrep january_NP ;
monthAdv m = SyntaxAra.mkAdv in_Prep (mkNP m) ;
yearAdv y = SyntaxAra.mkAdv in_Prep y ;
-- dummy
@@ -39,34 +46,51 @@ lin
intYear = symb ;
intMonthday = symb ;
-- n_units_AP
-- : Card -> CN -> A -> AP
n_units_AP card cn a =
let ap = mkAP a in ap ** {
s = \\s,g,n,d,c =>
ap.s ! s ! g ! n ! d ! c
++ (mkAdv R.biPrep (mkNP amount_N)).s
++ (mkNP card cn).s ! R.Bare ---- ? /IL
} ;
oper
amount_N : N = mkN "مِقْدَار" "مَقَادِير" masc nohum ;
-- hack used in the name constructions
toNP : Bool -> NP -> NP = \b -> if_then_else NP b R.emptyNP ;
lin
-- : NP -> NP -> Cl
have_name_Cl np nm =
have_name_Cl np nm =
let subjPron : Pron = R.np2pron np ;
me : NP = toNP np.a.isPron np ;
myName : NP = E.ApposNP me (mkNP (mkDet subjPron) L.name_N) ;
in mkCl myName nm ;
-- : NP -> QCl
what_name_QCl np =
what_name_QCl np =
let subjPron : Pron = R.np2pron np ;
me : R.NP = toNP np.a.isPron np ;
myName : NP = E.ApposNP me (mkNP (mkDet subjPron) L.name_N) ;
what_IP : R.IP = R.mkIP "مَا هُوَ" R.Sg ;
in mkQCl what_IP myName ;
-- how_old_QCl
how_old_QCl np =
let subjPron : Pron = R.np2pron np ;
me : R.NP = toNP np.a.isPron np ;
age_N = mkN "عُمر" ;
myAge : NP = E.ApposNP me (mkNP (mkDet subjPron) L.name_N) ;
in mkQCl what_IP myAge ;
-- hungry_VP =
-- thirsty_VP =
hungry_VP = mkVP hungry_A ;
thirsty_VP = mkVP thirsty_A ;
oper
hungry_A = mkA "جءع" "فَاعِل" ;
thirsty_A = mkA True "عطش" "فَعْلَان" "فَعْلَى" ;
lincat Language = N ;
lin InLanguage l = mkAdv in_Prep (mkNP l) ;
@@ -91,31 +115,31 @@ oper mkLanguage : Str -> N = mkN ;
lin second_Timeunit = mkN "second" ;
lin minute_Timeunit = mkN "minute" ;
lin hour_Timeunit = mkN "hour" ;
lin day_Timeunit = mkN "day" ;
lin day_Timeunit = mkN "يَوْم" ;
lin week_Timeunit = mkN "week" ;
lin month_Timeunit = mkN "month" ;
lin month_Timeunit = mkN "شَهْر" "أَشْهُر" masc nohum ;
lin year_Timeunit = mkN "year" ;
lin monday_Weekday = mkN "Monday" ;
lin tuesday_Weekday = mkN "Tuesday" ;
lin wednesday_Weekday = mkN "Wednesday" ;
lin thursday_Weekday = mkN "Thursday" ;
lin friday_Weekday = mkN "Friday" ;
lin saturday_Weekday = mkN "Saturday" ;
lin sunday_Weekday = mkN "Sunday" ;
lin monday_Weekday = mkN day_Timeunit (mkN "إثْنَيْن") ;
lin tuesday_Weekday = mkN day_Timeunit (mkN "ثُلَاثَاء") ;
lin wednesday_Weekday = mkN day_Timeunit (mkN "أَرْبَعَاء") ;
lin thursday_Weekday = mkN day_Timeunit (mkN "خَمِيس") ;
lin friday_Weekday = mkN day_Timeunit (mkN "جُمْعَة") ;
lin saturday_Weekday = mkN day_Timeunit (mkN "سَبْت") ;
lin sunday_Weekday = mkN day_Timeunit (mkN "أَحَد") ;
lin january_Month = mkN "January" ;
lin february_Month = mkN "February" ;
lin march_Month = mkN "March" ;
lin april_Month = mkN "April" ;
lin may_Month = mkN "May" ;
lin june_Month = mkN "June" ;
lin july_Month = mkN "July" ;
lin august_Month = mkN "August" ;
lin september_Month = mkN "September" ;
lin october_Month = mkN "October" ;
lin november_Month = mkN "November" ;
lin december_Month = mkN "December" ;
lin january_Month = mkN (mkN "كَانُون") (mkAP (mkOrd (mkNumeral n2_Unit))) ;
lin february_Month = mkN "شُبَاط" ;
lin march_Month = mkN "آذَار" ;
lin april_Month = mkN "نَيْسَان" ;
lin may_Month = mkN "أَيَّار" ;
lin june_Month = mkN "حَزِيرَان" ;
lin july_Month = mkN "تَمُّوز" ;
lin august_Month = mkN "آب" ;
lin september_Month = mkN "أَيْلُول" ;
lin october_Month = mkN (mkN "تِشْرِين") (mkAP (mkOrd (mkNumeral n1_Unit))) ;
lin november_Month = mkN (mkN "تِشْرِين") (mkAP (mkOrd (mkNumeral n2_Unit))) ;
lin december_Month = mkN (mkN "كَانُون") (mkAP (mkOrd (mkNumeral n1_Unit))) ;
-- lin afrikaans_Language = mkLanguage "Afrikaans" ;
-- lin amharic_Language = mkLanguage "Amharic" ;
@@ -140,7 +164,7 @@ lin finnish_Language = mkLanguage "فِنْلَنْدِيّة" ;
-- lin maltese_Language = mkLanguage "Maltese" ;
-- lin nepali_Language = mkLanguage "Nepali" ;
-- lin norwegian_Language = mkLanguage "Norwegian" ;
lin nprsian_Language = mkLanguage "فَارِسيّة" ;
lin persian_Language = mkLanguage "فَارِسيّة" ;
-- lin polish_Language = mkLanguage "Polish" ;
-- lin punjabi_Language = mkLanguage "Punjabi" ;
-- lin romanian_Language = mkLanguage "Romanian" ;

Some files were not shown because too many files have changed in this diff Show More