Installation¶
It’s recommended to use Anaconda and install some packages with it. Refer to miniconda homepage for links to installers for other platforms.
# Install miniconda
wget https://repo.continuum.io/miniconda/Miniconda3-3.7.3-MacOSX-x86_64.sh
sh Miniconda3-3.7.3-MacOSX-x86_64.sh -b
# Conda-install some packages
wget https://bitbucket.org/dimazest/phd-buildout/raw/tip/requirements.txt
~/miniconda3/bin/conda install -c https://conda.anaconda.org/dimazest --file requirements.txt pip
You also need NLK data:
~/miniconda3/bin/python -c 'import nltk; nltk.download("brown")'
The package itself¶
The package is available on PyPi and can be isntalled with pip:
~/miniconda3/bin/pip install fowler.corpora
It’s also possible to install a development version right from GitHub:
~/miniconda3/bin/pip install https://github.com/dimazest/fowler.corpora/archive/master.zip
The final step¶
Run the package to see whether it works.
~/miniconda3/bin/corpora -h
usage: corpora <command> [options]
commands:
help Show help for a given help topic or a help overview.
...
...
...