fabianvf/python-rake

seperate_words function based on \W+ re instead?

Closed this issue · 5 comments

@fabianvf Is it my imagination or could we replace the entire separate_words function better with a \W+ or \W regex instead?

@fabianvf thoughts on this?

Honestly I'm not sure, does it make a difference? Wonder if there are any edge cases related to punctuation or something that will bite us.

@fabianvf Also doing it that way is faster, easier to understand and more maintainable/pythonic