Commit Graph

130 Commits

Author SHA1 Message Date
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
odanoburu fa34877ea3 (Por) fix Portuguese time 2018-10-26 18:28:22 +00:00
odanoburu 7e60a931c8 WIP: incorporate @aarneranta's comments 2018-10-25 18:59:01 +00:00
odanoburu 425f3c71e9 (Construction{Eng,Por}) add timeHour and timeHourMinute 2018-10-24 21:57:11 -03:00
odanoburu 05cd9c53ce (ExtendPor) add lins
- add ApposNP, ByVP, CompBareCN, ComplBareVS, GerundAdv, GerundNP, InOrderTo, PresPartAP, PurposeVP, WithoutVP
- added EmptyRelSlash but fails linking phase, so not exported
2018-10-22 20:59:26 +00:00
bruno cuconato 2d5655aa50 (Por) Extend: add lins (#49)
- add PastPartAP, PastPartAgentAP
- add PassVPSlash, PassAgentVPSlash lins from ExtraRomance
- correct CompoundN
2018-10-21 19:42:05 +02:00
bruno cuconato d4f2df8aa4 (Por) add lins (#35)
* (Por) correct paradigm and use overloaded paradigms in Lexicon

* (Por) add Str -> V3 paradigm

* (Por) small fixes

* adjust import list and add Mood to VPS

* (Por) add compoundN to ExtendPor

* (Por) add CompoundAP GerundCN ICompAP IAdvAdv CompIQuant PrepCN
2018-10-06 06:14:24 +02:00
bruno cuconato 63587ac745 (Romance) add subjVS oper to Cat,Ita,Por,Spa (#37)
* (Por) correct paradigm and use overloaded paradigms in Lexicon

* (Romance) add subjVS oper to Cat,Ita,Por,Spa

already present in French
2018-10-06 06:12:54 +02:00
bruno cuconato c410abfa6b (ExtendPor) add CompoundN (#31)
* (Por) add Str -> V3 paradigm

* (Por) small fixes

* adjust import list and add Mood to VPS

* (Por) add compoundN to ExtendPor
2018-10-03 12:51:16 +02:00
bruno cuconato 3a429730bc (Por) small fixes and add missing paradigm (#28)
* (Por) add Str -> V3 paradigm

* (Por) small fixes
2018-09-28 07:11:01 +02:00
bruno cuconato 0fa80d0f85 (Por) correct paradigm and use overloaded paradigms in Lexicon (#24) 2018-09-21 14:28:18 +02:00
odanoburu 625bf5485f (Por) Numeral: add spacing and handle case of millions (not in RGL, only in ParseExtend) 2018-09-12 18:02:49 +00:00
odanoburu 6fc46c2176 (Por) Numeral: create new oper and use it 2018-09-12 17:07:07 +00:00
odanoburu 37d4d3672c (Por) corrects edge cases in NumeralPor 2018-09-11 21:11:09 +00:00
odanoburu 26afd1c267 (Por) Extend : begin to add VPS 2018-09-06 22:32:57 +00:00