1
0
forked from GitHub/gf-rgl
Commit Graph

107 Commits

Author SHA1 Message Date
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
d96db3992b (Cat,Por,Spa) Export CopulaType and {ser,estar}Copula in Paradigms 2019-03-29 12:29:48 +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
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
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
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
1d3009bc77 Merge pull request #169 from odanoburu/por-mkimperativebug
(Por) fix mkImperative
2019-02-13 13:47:16 +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
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
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
odanoburu
95eb384223 (Extend,Por,Spa) add UseComp_estar
- with default UseComp lin
2019-02-09 09:37:01 -02:00
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