A python interface to text-based adventure games.
Project description
A lightweight python-based interface connecting learning agents with interactive fiction games.
Requirements
Linux, Python 3.9+, Spacy, and basic build tools like gcc,make & curl.
Install
conda create -n jericho python=3
conda activate jericho
python -m pip install jericho
python -m spacy download en_core_web_sm
Documentation
- Quickstart
- Frotz Environment
- Object Tree
- Game Dictionary
- Template Action Generator
- Utilities
- Defines
Agents
- Reading Comprehension Deep Q-Network (RCDQN)
- Contextual Action Language Model (CALM)
- Q*BERT
- Knowledge Graph Advantage Actor Critic (KG-A2C)
- Template-DQN and DRRN
Citing Jericho
If Jericho is used in your research, please cite the following:
@article{hausknecht19,
title={Interactive Fiction Games: A Colossal Adventure},
author={Hausknecht, Matthew and Ammanabrolu, Prithviraj and C\^ot\'{e} Marc-Alexandre and Yuan Xingdi},
journal={CoRR},
year={2019},
url={http://arxiv.org/abs/1909.05398},
volume={abs/1909.05398}
}
Contributing
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file jericho-3.2.1.tar.gz
.
File metadata
- Download URL: jericho-3.2.1.tar.gz
- Upload date:
- Size: 1.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d38652c17c298412ee06731d48e1bbda1d3786f92f819b4a7f890ebfaf467e1 |
|
MD5 | 2f0bc5c1e71ae3cc3be60e6cf42b3a34 |
|
BLAKE2b-256 | ef44c201a8dea6e8eb69140424dd212c32bb936590f4a4a7fdfd39e5746b4039 |