A Python library to conjugate French (and many other Romance languages) verbs using Machine Learning techniques.
Project description
MLConjug
A Python library to conjugate verbs of Romance languages using Machine Learning techniques. Any verb in one of the supported language can be conjugated as the module contains a Machine Learning model of how romance verbs behave. Even completely new or made-up verbs can be successfully conjugated in this manner. The supplied pre-trained models are composed of:
a binary feature extractor,
a feature selector using Linear Support Vector Classification,
a classifier using Stochastic Gradient Descent.
MLConjug uses scikit-learn to implement the Machine Learning algorithms. Users of the library can use any compatible classifiers from scikit-learn to modify and retrain the model.
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
Spanish (coming in next update)
Italian (coming in next update)
Portuguese (coming in next update)
Features
Easy to use API.
Includes a pre-trained model with 99.53% accuracy in predicting conjugation class of unknown verbs.
Easily train new models or add new romance language.
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.
History
1.0.0 (2018-06-10)
First release on PyPI.
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.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.
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-1.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 044029f238bab89a76c21f1ca16e720d576a961c4d72a060f120f57cd6d97848 |
|
MD5 | dee37b6c4499e8acf83837713d77da7d |
|
BLAKE2b-256 | 5dd458bd5ca0fb38ee39203bdf65a0a05913110161c71080460427132eb9ae2b |