ReaderBench library written in python
Project description
ReaderBench Python
Install
pip3 install --user rbpy-rb
(or clone this repo master branch)- run
./install.sh
You may also need some spacy models which are downloaded through spacy.
You have to download these spacy models by yourself, using the command:
python3 -m spacy download name_of_the_model
The logger will also write instructions on which models you need, and how to download them.
Usage
For usage (parsing, lemmatization, NER, wordnet, content words, indices etc.) see file usage.py
Dev instructions
How to use the logger
In each file you have to initialize the logger:
from rb.utils.rblogger import Logger
logger = Logger.get_logger()
logger.info("info msg")
logger.warning("warning msg")
logger.error()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rbpy-rb-0.4.6.tar.gz
(1.4 MB
view hashes)