mental-models

Extracts human mental models from text and facilitates mental model comparison and contrasting. (See J Diesner 2003)


Keywords
mental, model, cognitative, nlp
License
MIT
Install
pip install mental-models==0.1.5

Documentation

mental_models

Extracts human mental models from text and facilitates mental model comparison and contrasting. An alternative implementation of "AutoMap," see: J Diesner, K M Carley, "AutoMap1.2 - Extract, analyze, represent, and compare mental models from texts" (2003) for more background details.

Install

pip install mental_models
#  then Build as below

Build

This library assumes that several models and datasets are available. You can run the command below to build them.

#  ... need a small language model 
python -m spacy download en_core_web_sm
# ... adds in WordNet tokenization for spaCy
python -m nltk.downloader wordnet
python -m nltk.downloader omw