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

Feat/filtering #22

Merged
merged 38 commits into from
Sep 27, 2023
Merged

Feat/filtering #22

merged 38 commits into from
Sep 27, 2023

Conversation

onadegibert
Copy link
Collaborator

This pull requests is related to Issue 13: #13

After much discussion on whether we should use opusfilter or not, I have implemented some filters from scratch as it seemed the fastest way. Filters implemented:

  • Word ratio filter
  • Repetition filter
  • Terminal punctuation filter
  • Non zero numerals filter

Not implemented:

  • Similarity filter: it was discussed it would take a long time


@classmethod
def add_options(cls, parser):
"""Avalilable options relate to this Transform."""
Copy link
Collaborator

@TimotheeMickus TimotheeMickus Sep 26, 2023

Choose a reason for hiding this comment

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

Avalilable > Available, relate > relating

Copy link
Collaborator

@TimotheeMickus TimotheeMickus left a comment

Choose a reason for hiding this comment

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

LGTM.

Please rebase so that the PR is mergeable.

@TimotheeMickus TimotheeMickus linked an issue Sep 26, 2023 that may be closed by this pull request
7 tasks
Copy link
Collaborator

@TimotheeMickus TimotheeMickus left a comment

Choose a reason for hiding this comment

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

LGTM!

Can be merged

@onadegibert onadegibert merged commit 61910fc into main Sep 27, 2023
@TimotheeMickus TimotheeMickus deleted the feat/filtering branch September 27, 2023 08:21
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.

Developping data filtering transforms
2 participants