vi3k6i5 / flashtext

Extract Keywords from sentence or Replace keywords in sentences.
MIT License
5.59k stars 599 forks source link

Feature request: Still match even if multiple spaces #66

Closed sloev closed 5 years ago

sloev commented 5 years ago

i want to match customer_service and customer______service (both with spaces instead of underscore, but github squashes spaces) preferably without having a keyword for both of them, could that be made possible with a flag multiple spaces solution or something

vi3k6i5 commented 5 years ago

replace multiple spaces in input sentence with single space to match it. This feature request doesn't make sense to me, closing it.