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

Phone number regex problem #17

Open
cartesianlab opened this issue Sep 29, 2022 · 1 comment
Open

Phone number regex problem #17

cartesianlab opened this issue Sep 29, 2022 · 1 comment

Comments

@cartesianlab
Copy link

Detecting a phone number for any country is no easy task. Some Python libs are doing a great job at it using mix of regex and Machine Learning. Current implementation in lemmeknow is creating lot of obvious false positives:

image

@swanandx
Copy link
Owner

Boundaryless mode is on by default for lemmeknow binary, that is why it identified the phone number, if you add -b flag to turn it off, you will see the results only if the whole text matched.

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

1 participant