def load_nietzsche_dataset(path='data/nietzsche/'):
 print 'Load or Download nietzsche dataset > {}'.format(path)
 filename = 'nietzsche.txt'
 url = 'https://s3.amazonaws.com/text-datasets/'
 filepath = maybe_download_and_extract(filename, path, url)
 with open(filepath, 'r') as f:
  words = f.read()
  return words

def load_nietzsche_dataset ( path = 'data/nietzsche/' ) : print 'Load or Download nietzsche dataset > {}' . format ( path ) filename = 'nietzsche.txt' url = 'https://s3.amazonaws.com/text-datasets/' filepath = maybe_download_and_extract ( filename , path , url ) with open ( filepath , 'r' ) as f : words = f . read ( ) return words
load nietzsche dataset .