Run Example Texts of Repository
These are instructions to run the standalone application with texts of Arthur Conan Doyle that are part of the repository. You find them in data/texts/example. In the example data, Doyle's detective novels are compared to his other novels in order to identify words that are distinctive for this genre.
Clone the Repository
Open a terminal and clone the repository:
bash
git clone https://gitlab.com/leongluesing/pydistintox.git
cd pydistintox
Alternatively, you may download the code directly and go in a terminal into the project directory.
Installation
pip install pipx
pipx install pydistintox
Setup
pydistintox --download en_core_web_sm
Run
Go into the project root and run
pydistintox -v --model en_core_web_sm --tar ./data/example_texts/tar --ref ./data/example_texts/ref