Type-Token Ratio calculator for dialogue files.
ChatTTR runns under Python 3.3+. Install dependencies by running the following command from a terminal:
pip install -r requirements.txt
ChatTTR currently reads dialogue log files from PepperChat. A log file may be analysed as follows:
python ttr.py <path to log file>
Optionally, the analsis can be saved to an excel file:
python ttr.py <path to log file> --save ttr-analysis.xlsx
This project is released under the MIT license. Please refer to LICENSE.md for license details.
Erik Billing, University of Skövde, https://www.his.se/erikb