对话

时间:2021-02-14 01:20:25
【文件属性】:
文件名称:对话
文件大小:10KB
文件格式:ZIP
更新时间:2021-02-14 01:20:25
Python 对话 在Minecraft中生成NPC对话的工具 安装 安装 安装StrictYAML: pip install strictyaml==1.3.2 如何使用 创建对话文件conv.yaml : function-prefix : mynamespace:path/to/dir/ speaker-name : Erik default-speak-time-sec : 2 conversation : - say : Hello! - say : This is a very long text that requires 3 seconds of reading time speak-time-sec : 3 - say : This is the end... 运行python mconv.py conv.yaml创建一组功能文件。 将这些文件放在mydata
【文件预览】:
MConversations-main
----.gitignore(2KB)
----mconv.py(859B)
----README.md(1KB)
----mconv()
--------json_text.py(85B)
--------__init__.py(0B)
--------create_functions.py(4KB)
--------parse_conversation.py(2KB)
--------function.py(835B)
--------conversation.py(680B)
--------line.py(344B)
----example()
--------conv.yaml(240B)
--------conv-with-json-text.yaml(167B)
----test()
--------test_parse_conversation.py(1KB)
--------__init__.py(0B)
--------fixture.py(4KB)
--------test_mconv.py(1009B)
--------test_create_functions.py(882B)

网友评论