使用bigram频率拼写单词
claptrap的Python项目详细描述
隔板
I'll stop talking when I'm dead!
使用bigram频率生成随机短语。在创建大图时将一些标点作为对象进行计数,以便它包含真实的标点。
如果你想把一些幽默的东西放到文本字段中而不是完全随机的字符串中,这会很有用。
cli
$ claptrap drac -l40 -n5 Sighted. Here;if trying to pull them ov The horrible doubt himself shone with mo Concealment of despair seized some islan Of them on the room with a storey lowers Whom? He made pets of my very happy look
自由样式wub wub
$ claptrap wub -l10-50 -n5 WUB; Wub wuB wUB wUB Wub wUb. wUB Wub; WuB? WUB: wub WuB WUb Wub WUb wuB WUB: wUB WUB WuB wUB WuB wUB, wUb WUB. WUb WUB wUB wuB WUB WuB
库
importclaptrapphrasegen=claptrap.GraphPhraseGenerator.from_resource('dracula')for_inrange(10):print(phrasegen.phrase([60,80])
Should tear or to the world! Jack, a little bargaining he remembered Me what steps, as poor Harker's hand. Shall, and fed the left Out two, and thicker and go to notice any particular part of His wife dead! And feed! Oh, as much. I knew that churchyard He said solemnly as we should have, but flew to cheer each of His where to the snow, but we destroyed them both hands all my Eyes closed behind us so thankful to two atmospheres, with the Driver with dust had better not. The hand; instantly formed round Her. He ask me. I told me not move forward hesitatingly; and A few people are well, we have to home with the tide, for you