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

Character normalization for accented characters #46

Open
eugene-yang opened this issue Jun 23, 2022 · 2 comments
Open

Character normalization for accented characters #46

eugene-yang opened this issue Jun 23, 2022 · 2 comments

Comments

@eugene-yang
Copy link
Collaborator

Characters with accented characters should be normalized for better matching. Or at least should be an option for user to select.

Here is an example from CLEF.

{"id": "xxx", "lang": "eng", "query": "escap rold\u00e1n escap flight spanish civil guard - director lui rold\u00e1n", "text": "escape rold\u00e1n escape flight spanish civil guard-director luis rold\u00e1n", "report": null} 
@cash
Copy link
Member

cash commented Jun 23, 2022

Do you mean normalize diacritics or remove them? The current code normalizes them: https://github.com/hltcoe/patapsco/blob/master/patapsco/util/normalize.py#L240

@dlawrie
Copy link
Collaborator

dlawrie commented Oct 11, 2022 via email

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

No branches or pull requests

3 participants