Last active
August 3, 2017 04:04
-
-
Save alexpghayes/d6a8d7a0fc571ad3627cf40174081352 to your computer and use it in GitHub Desktop.
sophisticated bi-directional LTSM to simulate something marc would say
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
phrases = [ \ | |
"I don't like Guerra", \ | |
"Roberto is excellent. I like Roberto.", \ | |
"Dobelman is a great teacher! How could you not like Dobelman!", \ | |
"I don't like Devika. She's not a very good teacher.", \ | |
"Noon is too early to go to class.", \ | |
"I like Ms. Poon :)", \ | |
"!"] | |
print(np.random.choice(phrases)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment