'Truncate a string after a certain number of words. `truncate` specifies
what should be used to notify that the string has been truncated,
defaulting to ellipsis (...).'

def words(self, num, truncate=None, html=False):

    self._setup()
    length = int(num)
    if html:
        return self._truncate_html(length, truncate, self._wrapped, length, True)
    return self._text_words(length, truncate)
