Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pt] Improve compound rules #9179

Merged
merged 9 commits into from
Aug 25, 2023
Merged

[pt] Improve compound rules #9179

merged 9 commits into from
Aug 25, 2023

Conversation

p-goulart
Copy link
Collaborator

  • move entries from wikipedia.txt to the compound TXT for better user messages;

  • add custom Portuguese logic for changes like ultra+som->ultrassom;

  • add new tests.

Supersedes #9178 (closed).

 - move entries from wikipedia.txt to the compound TXT for better user
   messages;

 - add custom Portuguese logic for changes like ultra+som->ultrassom;

 - add new tests.
 - remove hardcoded centuries from wikipedia.txt;
 - add rule filter for conversion of arabic to roman numerals.
* [pt] Add ENCIMA_LOCUCAO rule

* [pt] Improve coverage of HAVER rule

 - there were many instances of impersonal 'haver' in the plural not
   caught by the HAVER rule;

 - I've also removed a partially matching 'havia (muitos|poucos|vários)'
   line from the wikipedia.txt replacement file.
@p-goulart p-goulart merged commit 6b598c3 into master Aug 25, 2023
1 check passed
@p-goulart p-goulart deleted the pt/grammar/hyphenation branch August 25, 2023 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants