flashtext
flashtext copied to clipboard
added phone number regex example to docs
@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