1
0
forked from GitHub/gf-rgl
Commit Graph

94 Commits

Author SHA1 Message Date
odanoburu
b976158388 (Por) also bind clitic with hyphen in imperative 2019-02-06 13:23:23 -02: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
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
odanoburu
162d010c1c (Por) correct examples
+ comment unnecessary cases
in noun paradigms
2019-01-15 11:57:49 -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
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
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
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
a79c1cfc5f Merge pull request #135 from odanoburu/morpho
(Por) improve adjective smart paradigms
2019-01-10 13:24:19 +01: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
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
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
Inari Listenmaa
dd8c604996 Merge pull request #125 from odanoburu/term
(Por) misc fixes
2019-01-05 21:37:37 +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
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
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
odanoburu
d2de495bbf (Por) avoid use of Extra in lang 2018-12-22 16:20:59 -02: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
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
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
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
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
odanoburu
b2a0f252b0 (Construction) add timeunitRange
- fix documentation comments
2018-11-26 11:14:48 -02:00
odanoburu
08c5914466 (Por)
- add AdjAsCN AdjAsNP
- copied VPS functions from ExtraRomance
- fixes to Lexicon
2018-11-13 15:46:50 -02:00
odanoburu
50188b6827 Merge remote-tracking branch 'origin/mk2A' 2018-11-13 11:23:51 -02:00
odanoburu
a74460a0e1 (BeschPor) correct começar and peneirar
also add documentation on verb paradigms
2018-11-01 20:58:12 +00:00
Inari Listenmaa
204d26a919 Merge pull request #56 from odanoburu/time
(Construction{Eng,Por}) add timeHour and timeHourMinute
2018-11-01 11:44:52 +01:00
odanoburu
1427b1bbb8 (Por) change mk2A paradigm
(such that the second argument is the adverb string, not the feminine
form, which is easier to predict)
- fix bug in adjVo paradigm
- add two cases to mkAdjReg smart paradigm
- update lexicon

tbh, it is much more common to need to correct the adverbial form
because it doesn't have the accents that the adjectival forms may
have, so if there's a way of removing accents easily, that might be
better.
2018-10-30 13:48:26 +00:00
odanoburu
ebe411c654 (Por) add lins
- UttAdV, UttVPShort, PositAdVAdj, AdAdV, ComplSlashPartLast, CompVP
  to Extend
- small fixes to Lexicon
2018-10-29 17:47:13 +00:00