File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 1+ # https://deeplearningcourses.com/c/data-science-natural-language-processing-in-python
2+ # https://www.udemy.com/data-science-natural-language-processing-in-python
3+
4+ # Author: http://lazyprogrammer.me
5+
6+ # Get the data from here:
7+ # https://lazyprogrammer.me/course_files/moby_dick.txt
8+
9+ ### encode a message
10+
11+ # this is a random excerpt from Project Gutenberg's
12+ # The Adventures of Sherlock Holmes, by Arthur Conan Doyle
13+ # https://www.gutenberg.org/ebooks/1661
14+
15+ original_message = '''I then lounged down the street and found,
16+ as I expected, that there was a mews in a lane which runs down
17+ by one wall of the garden. I lent the ostlers a hand in rubbing
18+ down their horses, and received in exchange twopence, a glass of
19+ half-and-half, two fills of shag tobacco, and as much information
20+ as I could desire about Miss Adler, to say nothing of half a dozen
21+ other people in the neighbourhood in whom I was not in the least
22+ interested, but whose biographies I was compelled to listen to.
23+ '''
You can’t perform that action at this time.
0 commit comments