

def raw(self, fileids=None):
    '\n        :return: the given file(s) as a single string.\n        :rtype: str\n        '
    if (fileids is None):
        fileids = self._fileids
    elif isinstance(fileids, string_types):
        fileids = [fileids]
    raw_texts = []
    for f in fileids:
        _fin = self.open(f)
        raw_texts.append(_fin.read())
        _fin.close()
    return concat(raw_texts)

dataset/ETHPy150Open nltk/nltk/nltk/corpus/reader/plaintext.py PlaintextCorpusReader.raw/original