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

added phone number regex example to docs #122

Open
wants to merge 47 commits into
base: master
Choose a base branch
from

Conversation

gracerosemary
Copy link

No description provided.

vi3k6i5 and others added 30 commits November 10, 2017 20:47
added reference to flashtext paper
  `charactes` | `characters`
  `explaination` | `explanation`
  `matche` | `match`
Fix issue with incomplete keyword at the end of the sentence
Performances improvement for strings manipulations
@remiadon
Copy link
Contributor

remiadon commented May 8, 2021

@gracerosemary I think your example can be done via fuzzy matching
If I take your example

phone_dictionary = {
    '(123)456-7890': ['123-456-7890', '123-4567890', '123456-7890', '(123)4567890'],
    }

calling add_keyword("'(123)456-7890") and setting very low costs for "(", ")", and "-" would do the trick I think

But this would require passing individual costs for additions/deletions

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.

6 participants