Commit Graph

6873 Commits

Author SHA1 Message Date
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