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

Fuzzy text matching #15

Open
lorey opened this issue Jun 21, 2022 · 1 comment
Open

Fuzzy text matching #15

lorey opened this issue Jun 21, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@lorey
Copy link
Owner

lorey commented Jun 21, 2022

Specifically for text matching something fuzzy would be great to reduce errors, e.g. checking for similarity of long texts to avoid whitespace-based errors, etc.

Options

  • generic fuzzy matching for text
  • passing samples that have StartOfText('In a country far far away') instead of the full string, so we can match nodes with the given text in the beginning

Also it needs to be considered when checking for correctness later as scraper.get(page) == expected_result could turn out to be false.

@lorey lorey added the enhancement New feature or request label Jun 21, 2022
@lorey lorey changed the title Fuzzy matching Fuzzy text matching Jun 21, 2022
@lorey lorey mentioned this issue Jul 7, 2022
@lorey
Copy link
Owner Author

lorey commented Jul 7, 2022

#19 raised a case where it looks like a match with   instead of spaces is not found.

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

No branches or pull requests

1 participant