languagetool-org / portuguese-pos-dict

Portuguese POS tagger
GNU Lesser General Public License v2.1
5 stars 2 forks source link

contractions #3

Closed jaumeortola closed 7 months ago

jaumeortola commented 2 years ago

I have created new POS tags for contractions.

See: https://github.com/languagetool-org/portuguese-pos-dict/commit/55cc9264aa5d399cf3a5d982235aec701ff652be The full file: https://github.com/languagetool-org/portuguese-pos-dict/blob/main/src-dict/resta-lt.txt

The char '+' has been replaced with ':' because '+' is problematic for regular expressions (in synthesis).

Does it look complete? @marcoagpinto

marcoagpinto commented 2 years ago

Yes, it looks complete, but I have one suggestion:

#fê-lo fê:lo V:PP
#fê-los fê:los V:PP

Can it use V:PPS for singular and V:PPP for plural, or something like that?

Thanks!

marcoagpinto commented 2 years ago

And we need gender too.

marcoagpinto commented 2 years ago

As I said, it gives a ton of hard work, but it is useful 🙂

p-goulart commented 7 months ago

Doesn't appear relevant as of Jan 2024, I'm closing. @marcoagpinto we do need a decision about pronoun+pronoun contractions in pt-PT, though, maybe in a separate issue.