A Python library to conjugate French, English, Spanish, Italian, Portuguese and Romanian verbs using Machine Learning techniques.
Project description
MLConjug
a binary feature extractor,
a feature selector using Linear Support Vector Classification,
a classifier using Stochastic Gradient Descent.
The training data is based on Verbiste https://perso.b2b2c.ca/~sarrazip/dev/verbiste.html .
Free software: MIT license
Documentation: https://mlconjug.readthedocs.io.
Supported Languages
French
English
Spanish
Italian
Portuguese
Romanian
Features
Easy to use API.
Includes pre-trained models with 99% + accuracy in predicting conjugation class of unknown verbs.
Easily train new models or add new languages.
Easily integrate MLConjug in your own projects.
Can be used as a command line tool.
Credits
This package was created with the help of Verbiste and scikit-learn.
Installation
Stable release
To install MLConjug, run this command in your terminal:
$ pip install mlconjug
This is the preferred method to install MLConjug, as it will always install the most recent stable release.
If you don’t have pip installed, this Python installation guide can guide you through the process.
From sources
The sources for MLConjug can be downloaded from the Github repo.
You can either clone the public repository:
$ git clone git://github.com/SekouD/mlconjug
Or download the tarball:
$ curl -OL https://github.com/SekouD/mlconjug/tarball/master
Once you have a copy of the source, you can install it with:
$ python setup.py install
History
2.1.2 (2018-06-15)
Added invalid verb detection.
2.1.0 (2018-06-15)
Updated all language models for compatibility with scikit-learn 0.19.1.
2.0.0 (2018-06-14)
Includes English conjugation model.
Includes Spanish conjugation model.
Includes Italian conjugation model.
Includes Portuguese conjugation model.
Includes Romanian conjugation model.
1.2.0 (2018-06-12)
Refactored the API. Now a Single class Conjugator is needed to interface with the module.
Includes improved french conjugation model.
Added support for multiple languages.
1.1.0 (2018-06-11)
Refactored the API. Now a Single class Conjugator is needed to interface with the module.
Includes improved french conjugation model.
1.0.0 (2018-06-10)
First release on PyPI.
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
Built Distribution
Hashes for mlconjug-2.1.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d828aa9747986a63cd2ec89afaeeaa2e0cb3acd35e433de7991040eb9e5d4bd5 |
|
MD5 | 5462f222492fc9373d0f065927a535a4 |
|
BLAKE2b-256 | 4db2b013f9cdcb8e53ad1bf9e87ce9a6bb5945c955e7b741bc988be0b2e5525b |