diff --git a/cs101-csai-assignment3.org b/cs101-csai-assignment3.org new file mode 100644 index 0000000000000000000000000000000000000000..60e8930a7931bef609d19c719bea9f6cc766f2c1 --- /dev/null +++ b/cs101-csai-assignment3.org @@ -0,0 +1,45 @@ +# CS101/3 - CS/AI Assignment 3 + +Assignment 3 is just like Assignment 2 but with words instead of letters. + +You may wish to use the Python NLTK (https://www.nltk.org) Natural Language +Toolkit to help break the text up into tokens (words) + +You may adapt the helper functions from Assignment 2 to work with words +rather than letters or you may write your own from scratch + +Optionally, instead of doing this programming exercise, you may write a +short essay, no longer than 2000 words on one of the topics that we have +touched on in the philosophy of mind: + + - Turing's Imitation Game + - Dneprov's Game (or, equivalently, Searle's Chinese Room) + - Logical Behaviorism or Functionalism + - The Engineering End-Run + +Assignment 3 is worth 30% in total. + +## 3a word probabilities - 10% + +Given an input text, compute the word probabilities and generate a word, + + xgb21195@cafe:~$ ./assignment-3a example.txt + the + +## 3b conditional word probabilities - 10% + +Given an input text and a word, generate the next word according to the +conditional probabilities in the text, + + xgb21195@cafe:~$ ./assignment-3b example.txt the + cat + +## 3c a stochastic parrot - 10% + +Given an input text, generate a sentence of a particular length according +to the conditional word distributions, + + xgb21195@cafe:~$ ./assignment-3b example.txt 10 + the cat ate a burrito that is not a butterfly + +