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: improve ad detection with normalization #327

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

polomarcus
Copy link
Collaborator

@polomarcus polomarcus commented Jan 30, 2025

#326

To do :

  • normalize existing context stored inside stop_word table to avoid duplicates
UPDATE stop_word
SET 
    context = TRANSLATE(context, 'éèêëàáâäôöûüîï', 'eeeeaaaaoouuii'),
    id = ENCODE(SHA256(id::TEXT::BYTEA), 'hex');

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.

1 participant