A project by Jessica Taylor and Pat Boonyarittipong

This has only been tested in Google Chrome! It probably doesn't work with other browsers.


Things to try:

  • Interjections (hi, hello, bye, yay, etc.)
  • Basic sentences with nouns, verbs, and adjectives (birds are animals, bob is a llama, I like all penguins, etc.)
  • Prepositions (at, of, in, etc.) applied to nouns
  • Relative clauses (every animal that has legs walks, bob has a dog that barks, etc.)
  • Questions (put a question mark after a declaration; for example, Jessica is a student?)
  • Say "reset" (erases all memory of the bot's interaction with the user but preserves education)
  • Say "forget" (erases all memory, including education)

Things that don't work yet:

  • Conjunctions (and, or, if, etc.)
  • Negation (not, don't, etc.)
  • Auxilary verbs (do, can, should, will, etc.)
  • Commands (write something, destroy the intruder, etc.)
  • Complex sentences (While walking, I saw a pirate)
  • Prepositions applied to verbs (Birds fly in the sky)
  • Multiple sentences at a time
  • Existential statements (such as "a red ball is under a table", "a bird flies") are very slow so they might not be confirmed. They are much faster if you erase education using "forget".

For best results, use only basic sentence structure with nouns, verbs, adjectives, relative clauses, and prepositions applied to nouns. Here are some examples that show the program's ability to perform logic (remember to enter each sentence on its own line):

    • Socrates is a man.
    • Every man is mortal.
    • Socrates is mortal.
    • Pat has a phone.
    • Phones are cool.
    • A freshman has something cool.
    • Chance is a man who gardens.
    • Every man who gardens works.
    • Every man who works has a suit.
    • Chance has a suit.
    • Jessica has IHUM.
    • Jessica has a fun class.
    • Everyone who has IHUM has a fun class.
    • Forget.
    • A red ball is in a box.
    • Red things are bright.
    • I like all bright things.
    • Everyone who likes something in a box is happy.
    • I am happy.

Here is what the program's initial education consists of (remember that you can discard this by saying "forget"):

  • you are a chatbot
  • you are a program
  • you are a computer
  • I am a human
  • I am a person
  • people are mammals
  • mammals have legs
  • animals that have legs walk
  • birds are animals
  • birds fly
  • mammals are animals
  • llamas are mammals
  • computers are technology
  • everything that walks moves
  • technology is fun
  • stanford is a fun college
  • ihum is a fun class
  • fun things are good
  • jessica likes everything good
  • pat likes everything good
  • you like everything good
  • students are people
  • students are in college
  • freshmen are students
  • jessica is a freshman at Stanford
  • pat is a freshman at Stanford