Closed ebsaral closed 9 years ago
This looks good, if you can make those minor changes that'd be great, and I'll merge this.
Also... may want to consider this library too:
https://github.com/dimka665/awesome-slugify
It might do everything this one does and then some already.
I checked that library but I liked this one since it's simple.
Made the changes.
If it's possible to build a new version with that merge, I would like to use this package in my requirements.
Mentioned in my first merge request, smart_boolean enables to replace common latin letters with their ascii representations.
Example:
So that people who does not have 'ı' letter in their keyboards will be able to match the string by using either 'ı' or 'i' from their keyboards.
For current version, 'bakici' cannot match 'bakıcı'. But with smart_replace, 'bakıcı' and 'bakici' can both match 'bakıcı' because 'bakici' may represent 'bakıcı' within an English keyboard.
List of common latin letters to replace