Basically, my question is the same as this but in Python (and GAE), not C#.
Requirements:
- Separate each word by a dash and remove all punctuation (taking into account not all words are separated by spaces.)
- Function takes in a max length, and gets all tokens below that max length. Example: ToSeoFriendly("hello world hello world", 14) returns "hello-world"
- All words are converted to lower case.