odanoburu
2e14b90c57
Merge remote-tracking branch 'origin/master' into unittest-forgiving-parser
2020-06-04 21:35:57 -03: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
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
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
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
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
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
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
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
32bde9dd1b
(Cat) improve Catalan imperative
2019-02-06 11:19:55 -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
28a9453750
(UD treebank) fix two trees using it_Pron instead of ImpersCl
2019-02-05 09:47:10 -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
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
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
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
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
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
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
odanoburu
89f5c35df1
(UD treebank) fixes
...
- rm duplicate trees
- correct parse trees
- always use Phr as startcat
2018-12-16 10:44:39 -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
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
odanoburu
aec24a3901
(Eng) fix missing paradigm invarA
2018-12-05 09:52:07 +02:00
odanoburu
b2a0f252b0
(Construction) add timeunitRange
...
- fix documentation comments
2018-11-26 11:14:48 -02:00
odanoburu
c12afea3d4
Merge remote-tracking branch 'upstream/master'
2018-11-19 14:59:56 -02:00
odanoburu
97c9152acb
(travis) fix build script so that it can actually fail
2018-11-19 14:32:47 -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
41ec90c3fe
(travis) refactor travis CI
...
- add ubuntu, mac, and windows builds
add travis build with mac and ubuntu
- fix signature in Make.hs for compatibility with ghc<8
add windows build to travis
using haskell and bash scripts
(travis) use env variable
Make.bat works
(Make.bar) [temporary] comment some Langs
merge upstream and uncomment langs
2018-11-06 20:41:04 -02:00
odanoburu
a74460a0e1
(BeschPor) correct começar and peneirar
...
also add documentation on verb paradigms
2018-11-01 20:58:12 +00:00
odanoburu
13fa01dd06
Merge remote-tracking branch 'upstream/master'
2018-11-01 13:22:45 +00:00
odanoburu
4e8b5d6c6f
Merge remote-tracking branch 'upstream/master'
2018-10-31 13:50:23 +00: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
3581176f6c
Merge remote-tracking branch 'upstream/master' into extendlins
2018-10-29 17:47:18 +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
7aa2837dd7
(Por) add lins
...
- UttAdV, UttVPShort, PositAdVAdj, AdAdV, ComplSlashPartLast, CompVP
to Extend
- small fixes to Lexicon
2018-10-29 17:45:15 +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
f55cc00457
add Por and Ara to synopsis
2018-10-23 22:32:03 -03:00
odanoburu
95bc1637af
- mv GF 3.9 synopsis
...
- add link to GF 3.9 synopsis in nightly version
2018-10-23 21:27:03 -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
odanoburu
e4d34bff32
(Eng) update SlashV2A with new V2A lincat
2018-10-22 18:27:20 +00:00
odanoburu
8990ee80a8
(Eng) change lincat of V2A
...
- update V2A linref
- add overloaded mkV2A with backwards-compatible signature
- update lexicon V2A example
- remove old comment with Verb lincat
thanks to @inariksit for guidance!
2018-10-22 14:18:53 +00:00
odanoburu
52b9a98db6
Merge branch 'master' of github.com:GrammaticalFramework/gf-rgl
2018-10-22 13:33:00 +00:00
odanoburu
83a22ab31b
(Por) Extend: add lins
...
- add PastPartAP, PastPartAgentAP
- add PassVPSlash, PassAgentVPSlash lins from ExtraRomance
- correct CompoundN
2018-10-19 22:23:21 +00: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
37169098ef
(treebanks) add treebank with some numeral trees
...
biased towards Portuguese edge cases, naturally
2018-09-11 23:23:33 -03:00
odanoburu
37d4d3672c
(Por) corrects edge cases in NumeralPor
2018-09-11 21:11:09 +00:00
odanoburu
15f99fb258
Merge remote-tracking branch 'upstream/master'
2018-09-06 22:33:17 +00:00
odanoburu
26afd1c267
(Por) Extend : begin to add VPS
2018-09-06 22:32:57 +00:00
odanoburu
6d49437e2a
Merge remote-tracking branch 'upstream/master' into docker-ci
2018-08-10 16:30:44 +00:00
odanoburu
fe10e94c6c
( #4 ) Make.hs build prelude all
...
use bash to call Make.sh
2018-08-10 15:08:06 +00:00
odanoburu
c4f4df256b
try using bash
2018-08-09 18:19:49 +00:00
odanoburu
e76e22f35c
Merge branch 'master' into docker-ci
2018-08-09 18:05:56 +00:00
odanoburu
5ce0ad5639
( #4 ) use --verbose in travis build
...
build mongolian too
rm --dest flag from haskell build
2018-08-09 17:54:58 +00:00
odanoburu
5dff7e914a
( #4 ) reverse order, use GF_LIB_PATH
2018-08-09 00:10:25 -03:00
odanoburu
d377a0045b
change order
2018-08-08 23:59:00 -03:00
odanoburu
2c13810b84
( #4 ) travis build with docker image
...
using dockerfile in https://github.com/odanoburu/docker-gf/blob/master/haskell-gf/Dockerfile
2018-08-08 23:51:34 -03:00
odanoburu
750ab83d12
( #4 ) add .travis.yml using mac os
2018-08-08 13:58:01 -03:00
odanoburu
29c044a315
(Romance) add lins
...
- add AdVVPSlash, AdvVPSlash, CountNP, PartNP
- simplify opers using record extension
- rm CountNP from NounPor
2018-06-26 17:35:37 -03:00
odanoburu
87ed89878e
Merge remote-tracking branch 'upstream/master' into por
2018-06-20 12:33:05 -03:00
odanoburu
49a405cdb2
(Por) change mkPrep paradigm
...
- add Por to Make.hs
- rm elisDe (PhonoPor)
- change mkPrep paradigm, and make necessary changes
- rm ParsePor
2018-06-20 12:31:36 -03:00
odanoburu
acd218d39b
Merge remote-tracking branch 'upstream/master' into por
2018-06-06 09:51:42 -03:00
odanoburu
67b526b4e7
- add gennumforms to common romance
...
- try to make preposition contraction
- try to add detcn
2018-06-04 08:47:17 -03:00
odanoburu
b78bcd16ed
Merge remote-tracking branch 'upstream/master' into por
2018-05-28 16:22:54 -03:00