Recursive Transition Network from the book Godel, Escher, Bach
Find a file
2018-05-18 23:05:02 -04:00
words Add support for recursion 2018-05-16 20:49:22 -04:00
.gitignore Initial commit 2018-01-29 13:47:02 -05:00
README.md Create README.md 2018-05-18 23:05:02 -04:00
RTN.py Add support for recursion 2018-05-16 20:49:22 -04:00

RTN

Recursive Transition Network from the book Godel, Escher, Bach

This program implements a recursive transition network and uses it to generate random english phrases given a structure.

I've implemented the following two RTNs in this program:

taken from Douglas Hofstadter's Godel, Escher, Bach (Note how the second one includes self-reference).

My intention with this project was to create an RTN representing all possibilities for a full english sentence, and using it to generate random structurally correct sentences.

Sample Ornate Nouns:

the scaled soothing bijou
square excusable effect
colonial bruising scraper
a undemocratic unmodernized stag
the hastate gazelle
muscular gallinaceous nonvolatile dependent stove
northwesterly boxspring
an bacon
superficial choppy cornet
the terminative sleazy fathomable normal Deweyan icebreaker

Sample Fancy Nouns:

an synod
unverified increase
bassinet
an swimming underneath xylophone who stone which constitutionalize the bungalow transgress
starchlike injured backhand unpremeditated cogent haptic savior
prelude
dash whoever behold celebration
sick towards thorn
choosy unsalted mirrorlike potent faucet that diverge a earthworm whichever inferior pheasant within celiac affecting masked slipping desperate beauty as headline consort
anarchistic hard hobbies