Skip to content

learn-co-curriculum/cssi-5-python-stretch-alice-challenge-2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#More Text Analysis with ALICE

Dive deeper into the text analysis looking glass with Alice!

Instructions:

Take the Alice in Wonderland exercise and start working on the two challenge problems there. Once you have a system for analyzing the properties of book-length texts and a system for generating random text based on those properties, do the following:

  1. Modify your text analysis code to distinguish between text written by humans and text generated randomly by your book-generator program. You can use the public-domain works from Project Gutenberg as examples of genuine human writing (note that "Ulysses" by James Joyce may not be the best choice of training data).
  2. Once you have a program capable of determining that, say, "Huck Finn" was written by a human and "Red Adventure Sunshine Hat" was generated randomly by a machine, improve your random text generator so that it fools your detector.
  3. Pit the detector and the generator against one another in a kind of Turing Test arms race, making successive improvements to each so that one side gains the upper hand, and then the other.
  4. How does your detector handle text in languages other than English? If you used Project Gutenberg as your training data, how well does your detector handle more modern texts like blog posts or tweets?
  5. Feed the detector one of your term papers from your senior year; are you human? How do you feel about the result?
  6. Read about Searle's Chinese Box.

View More Text Analysis with ALICE on Learn.co and start learning to code for free.

About

Dive deeper into the text analysis looking glass with Alice!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages