def tokenize(self, text, include_punc=True):
        tokens = nltk.tokenize.word_tokenize(text)
        if include_punc:
            return tokens
        else:
            # Return each word token
            # Strips punctuation unless the word comes from a contraction
            # e.g. "Let's" => ["Let", "'s"]
            # e.g. "Can't" => ["Ca", "n't"]
            # e.g. "home." => ['home']
            return [word if word.startswith("'") else strip_punc(word, all=False)
                    for word in tokens if strip_punc(word, all=False)]
A ``GET`` to the compose view
dataset/ETHPy150Open sloria/TextBlob/textblob/tokenizers.py/WordTokenizer.tokenize--crossover with--dataset/ETHPy150Open bread-and-pepper/django-userena/userena/contrib/umessages/tests/test_views.py/MessagesViewsTests.test_compose