1

如何将 ChatScript [脚本语言] 与我的 python 界面集成?

4

1 回答 1

1

“我的 Python 界面”是什么意思?

关于如何将 CS 封装在 Python 应用程序中,您可能想要实现客户端/服务器接口(在 Python 中实现客户端):

https://github.com/bwilcox-1234/ChatScript/blob/master/WIKI/CLIENTS-AND-SERVERS/ChatScript-ClientServer-Manual.md

顺便说一句,我实现了一个客户端 Ruby gem(也许有帮助):

http://www.github.com/solyaris/rChatscript

否则,如果您想从 CS 脚本调用 Python 方法,您可以使用 ^TCPopen(...),实现 HTTP Server Python 端...

于 2017-03-21T14:29:58.660 回答