msvana / relatio

Code base for constructing narrative statements from text

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This Relatio fork adds printing sillhoutte score when performing k-means clustering

Relatio

A Python package to extract narrative statements from text.

Installation

Runs on Linux and macOS (x86 platform) and it requires Python 3.7 (or 3.8) and pip.
It is highly recommended to use a virtual environment (or conda environment) for the installation.

# upgrade pip, wheel and setuptools
python -m pip install -U pip wheel setuptools

# install the package
python -m pip install -U relatio

# download SpaCy and NLTK additional resources
python -m spacy download en_core_web_sm
python -m nltk.downloader punkt wordnet stopwords averaged_perceptron_tagger

In case you want to use Jupyter make sure that you have it installed in the current environment.

If you are interested in contributing to the project please read the Development Guide.

Team

relatio is brought to you by

with a special thanks for support of ETH Scientific IT Services.

About

Code base for constructing narrative statements from text

License:MIT License


Languages

Language:Jupyter Notebook 68.3%Language:Python 31.7%