Yould 0.3

2007-06-16 (permalink tags: , , )

Yould 0.3 is out. I improved the command line interface and included trained engines for English, French, German, and more. There is also a web interface to automate domain availability checks, thanks to Register 4 Less.

Comments

2007-07-05 07:09:15 by Arne Babenhauserheide (direct link | reply)

You just got me cold :)

I wrote quite much with your old version, and as I managed to adapt it to do what i need, I find your new one with different API :)

Seem I'll have to adapt my name-generation container...

We're using yould in a battle simulator which works well for battles with up to 10.000 fighters: http://rpg-tools-1d6.sf.net

2007-07-05 07:09:50 by Arne Babenhauserheide (direct link | reply)

How can I call it with python to generate a given number of words?

2007-07-05 07:18:48 by Arne Babenhauserheide (direct link | reply)

This is my current call:

import yould.yould as yould

yould.generate_names(eval(open("yould/gutenberg_esperanto.prob").read()), 5, 12, self.anzahl * 2, 0, min_prob=0.000000001, max_prob=0.00001)

equals: yould.generate_names(eval(open("path").read()), min_length, max_length, number-of-words, domain_check, min_prob, max_prob)

2007-07-05 07:33:43 by Arne Babenhauserheide (direct link | reply)

And we're heavily stresstesting it by using it to generate a few tens of thousand names instead of a few random words, and it's great!

2007-07-05 08:06:22 by Arne Babenhauserheide (direct link | reply)

Creating 100.000 Names in chunks of 500 names each takes about 2 minutes with the old version of yould.

2007-07-05 13:19:29 by Yannick (direct link | reply)

You would do something like:

from yould import prob

en = prob.find_trainset("en")

en.init_cache(10000)

words = [en.gen() for i in xrange(10000)]

Leave a comment