'Return all words in the opinion lexicon. Note that these words are not
sorted in alphabetical order.
:param fileids: a list or regexp specifying the ids of the files whose
words have to be returned.
:return: the given file(s) as a list of words and punctuation symbols.
:rtype: list(str)'

def words(self, fileids=None):

    if (fileids is None):
        fileids = self._fileids
    elif isinstance(fileids, string_types):
        fileids = [fileids]
    return concat([self.CorpusView(path, self._read_word_block, encoding=enc) for (path, enc, fileid) in self.abspaths(fileids, True, True)])
