I\'m tokenizing text with nltk, just sentences fed to wordpunct_tokenizer. This splits contractions (e.g. \'don\'t\' to \'don\' +\" \' \"+\'t\') but I want to keep them as one w
I've worked with NLTK before on this project. When I did, I found that contractions were useful to consider.
However, I did not write custom tokenizer, I simply handled it after POS tagging.
I suspect this is not the answer that you are looking for, but I hope it helps somewhat