mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
Update lex_attrs.py (#2307)
* Update lex_attrs.py Fixed spelling mistakes of some numbers (according to Brazilian Portuguese). * Update lex_attrs.py As requested, I've included the correct spelling for both Brazilian Portuguese and Portuguese Portuguese. I will advise however, that the two are separated in the future. Brazilian Portuguese is a very different language from the original one, although most of the writing is unified, the way people talk in both countries is radically different. Keeping both languages as one may lead to bigger issues in the future, especially when it comes to spell checking.
This commit is contained in:
parent
5368ba028a
commit
be7fdc59d1
|
@ -6,10 +6,10 @@ from ...attrs import LIKE_NUM
|
|||
|
||||
_num_words = ['zero', 'um', 'dois', 'três', 'quatro', 'cinco', 'seis', 'sete',
|
||||
'oito', 'nove', 'dez', 'onze', 'doze', 'treze', 'catorze',
|
||||
'quinze', 'dezasseis', 'dezassete', 'dezoito', 'dezanove', 'vinte',
|
||||
'quinze', 'dezesseis', 'dezasseis', 'dezessete', 'dezassete', 'dezoito', 'dezenove', 'dezanove', 'vinte',
|
||||
'trinta', 'quarenta', 'cinquenta', 'sessenta', 'setenta',
|
||||
'oitenta', 'noventa', 'cem', 'mil', 'milhão', 'bilião', 'trilião',
|
||||
'quadrilião']
|
||||
'oitenta', 'noventa', 'cem', 'mil', 'milhão', 'bilhão', 'bilião', 'trilhão', 'trilião',
|
||||
'quatrilhão']
|
||||
|
||||
_ordinal_words = ['primeiro', 'segundo', 'terceiro', 'quarto', 'quinto', 'sexto',
|
||||
'sétimo', 'oitavo', 'nono', 'décimo', 'vigésimo', 'trigésimo',
|
||||
|
|
Loading…
Reference in New Issue
Block a user