Skip to content

Commit 48b5b3e

Browse files
committed
update
1 parent 6059c2d commit 48b5b3e

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

Diff for: nlp_class/cipher_placeholder.py

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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+
'''

0 commit comments

Comments
 (0)