【文件属性】:
文件名称:codenames:使用词向量的代号AI
文件大小:21KB
文件格式:ZIP
更新时间:2021-05-31 10:27:01
game nlp cli ai word2vec
玩手套代号
该存储库实现了VlaadaChvátil的代号游戏的简单单人版。 你可以扮演特工或间谍大师,手套词向量将扮演你的伙伴的角色,因为你试图在尽可能少的回合中找到 8 个标记的词。
$ git clone git@github.com:thomasahle/codenames.git
...
$ sh get_glove.sh
...
$ python3 codenames.py
...Loading vectors
...Loading words
...Making word to index dict
...Loading codenames
Ready!
Will you be agent or spymaster?: agent
buck bat pumpkin charge iron
well boot
【文件预览】:
codenames-master
----LICENSE(34KB)
----get_glove.sh(173B)
----wordlist2(2KB)
----convert.py(662B)
----.gitignore(112B)
----README.md(2KB)
----wordlist(5KB)
----codenames.py(10KB)