2024-05-23 21:08:17 发布
网友
我在Github上找到了一个python的markov语句生成器,想把Suess博士输入其中,但我不知道如何去做。在
在github(https://github.com/hrs/markov-sentence-generator)上,它只说 “$/句-生成器.py文件名[链长度]“ 我尝试过在命令行和IDLE中输入这个,并转到文件的位置,但是我丢失了。 注:我是新来的。在
来自github reporeadme:
$ ./sentence-generator.py filename [chain length]where filename is a file containing some training text for the sentence to imitate
$ ./sentence-generator.py filename [chain length]
where filename is a file containing some training text for the sentence to imitate
将文本另存为目录中的filename
filename
来自github reporeadme:
将文本另存为目录中的
filename
相关问题 更多 >
编程相关推荐