italian-csv-type-prediction

Attempt at predicting common types in CSVs about Italian people and places using Spacy NLP tool.


License
MIT
Install
pip install italian-csv-type-prediction==1.1.63

Documentation

italian_csv_type_prediction

Travis CI build SonarCloud Quality SonarCloud Maintainability Codacy Maintainability Maintainability Pypi project Pypi total project downloads

This package is an attempt at predicting common types in CSVs about Italian people and places using ensemble heuristics with Decision Random Forests and Spacy NLP tool.

How do I install this package?

As usual, just download it using pip:

apt-get update -y
apt-get install -qyy apt-utils build-essential software-properties-common locales locales-all curl autoconf automake libtool python-dev pkg-config
curl https://raw.githubusercontent.com/LucaCappelletti94/italian_csv_type_prediction/master/setup.sh | sh

pip install italian_csv_type_prediction

Tests Coverage

Since some software handling coverages sometimes get slightly different results, here's three of them:

Coveralls Coverage SonarCloud Coverage Code Climate Coverate

Usage examples

To get the typization of a list of data you can use:

from italian_csv_type_prediction import predict_types

predictions = predict_types([
    #list of words to predict goes here
])