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

Cjk corpora fixes #937

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Cjk corpora fixes #937

wants to merge 3 commits into from

Conversation

ZJaume
Copy link
Collaborator

@ZJaume ZJaume commented Nov 21, 2024

I'm in progress of having a normalization regex to full-width punctuation. So far I've been able to normalize exclamation mark, question mark and fullstop. I may add more punctuation but commas I do not have a reliable regex because the Chinese comma for enumerations is different than the normal comma. I have doubts whether this is too aggressive or not to apply it for all corpora.

It is removing a lot of sentences that have exactly the same numbers.
Seems that is happenning when the Chinese side has the numbers glued to
the Chinese characters.
@@ -56,14 +83,6 @@
},
"language": null
},
{
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Numbers mismatch was a big problem for our users. It makes translations unreliable and its' hard to catch this issue. I think the right solution here is to fix the Chinese edge case on OpusCleaner side.

Copy link
Collaborator Author

@ZJaume ZJaume Nov 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Disable this rule and other rules that can be very tricky and let BCAI do its job is another way. But not sure which one is better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants