Support Gesture-based Interaction Design with Metaphorical Meanings
Zhida Sun, Sitong Wang, Chengzhong Liu, and Xiaojuan Ma, Metaphoraction: Support Gesture-based Interaction Design with Metaphorical Meanings, ACM Transactions on Computer-Human Interaction (ToCHI), 2022
Set up python environment on your local computer: Please follow (f) if you have not installed python environment (>=3.6) in your local machine; if you have already deployed python environment (>=3.6), you can simply install project dependencies by typing the following command under the project path ./metaphoraction:
$pip install -r requirements.txt
Download the WordNet dataset: After installing all the required packages, you still need one more step to install the WordNet dataset if you never used the dataset before.
>>> import nltk
>>> nltk.download('wordnet')
Experience Metaphoraction: After installing all the dependencies, please go to the ./metaphoraction and start the server by
$python app.py
If everything is OK, you will see that the app is running on http://0.0.0.0:5000/
Then you can type the link http://127.0.0.1:5000/
to your local web browser (Chrome recommended) to explore Metaphoraction.
Having trouble with the code? Check out our paper/project page or contact the author.