예제 #1
0
def write_story():
    return write_generic_story(chain_length, chapter_length,
                               sentences_per_paragraph, eumaeus_base_text_path,
                               mixin_texts_dir)
예제 #2
0
def write_story():
    the_text = ''
    while random.random() >= end_prob(len(the_text)):
        the_text = the_text + " " + write_generic_story(chain_length, chapter_length, sentences_per_paragraph, penelope_base_text_path, mixin_texts_dir)
    return the_text + """\n\nTrieste-Zurich-Paris 1914—1921\nSanta Barbara 2015—%s""" % datetime.datetime.now().year
예제 #3
0
def write_story():
    return write_generic_story(chain_length, chapter_length,
                               sentences_per_paragraph,
                               scylla_and_charybdis_base_text_path,
                               mixin_texts_dir)
예제 #4
0
def write_story():
    return write_generic_story(chain_length, chapter_length, sentences_per_paragraph, lotus_eaters_base_text_path, mixin_texts_dir)
예제 #5
0
def write_story():
    return write_generic_story(chain_length, chapter_length, sentences_per_paragraph, scylla_and_charybdis_base_text_path, mixin_texts_dir)
예제 #6
0
def write_story():
    the_text = ''
    while random.random() >= end_prob(len(the_text)):
        the_text = the_text + " " + write_generic_story(chain_length, chapter_length, sentences_per_paragraph, penelope_base_text_path, mixin_texts_dir)
    return the_text + """\n\nTrieste-Zurich-Paris 1914—1921\nSanta Barbara 2015—%s""" % datetime.datetime.now().year