robinsonkwame / 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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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.

License:MIT License


Languages

Language:Python 100.0%