BridgesUNCC / bridges-python

Python client library for Bridges
http://bridgesuncc.github.io
MIT License
3 stars 4 forks source link

shouldn't gutenberg_book_text return just the content of the book? #98

Closed esaule closed 2 years ago

esaule commented 2 years ago

can someone look at function DataSource::gutenberg_book_text() ?

The return value seem awkward. Why do we want a dictionary as a return type? Why not directly return the text itself?

krs-world commented 2 years ago

It is a string, from what I can tell.. check the gutenberg test - the last part gets a part of Moby Dick.