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.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 515f00925b21f0c76ce95500df0550147479a8e0611526a92339710266db82ea |
|
MD5 | ea68e9245aafc6e80857effaa4f6750a |
|
BLAKE2b-256 | 608413d540d8b2e22e61e7b17c77f71ab1f10f9cd40f2b5a4ecb0407155624ed |