I hereby claim:
- I am lizrush on github.
- I am lizmrush (https://keybase.io/lizmrush) on keybase.
- I have a public key ASB6-gzJP3cpfNim4uQAcLQM3-eycPIPOvzVtnxc1MCaHwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
import Algorithmia | |
def apply(input): | |
trigrams = input[0] | |
beginToken = input[1] | |
endToken = input[2] | |
paragraphLength = input[3] | |
triInput = [trigrams, beginToken, endToken] |
import Algorithmia | |
import os | |
import re | |
from random import randint | |
client = Algorithmia.client('YOUR_API_KEY_HERE') | |
trigrams_file = 'data://.algo/ngram/GenerateTrigramFrequencies/temp/right-ho-trigrams.txt' | |
book_title = 'full_book.txt' | |
book = '' | |
book_word_length = 7500 |