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.
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.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1d4c6066f5c541e563e4be159de9654443b2c06dd25bca96638be7750eff334 |
|
MD5 | babd87cdc06e0fa7a5bf065be4d78cae |
|
BLAKE2b-256 | c4ce30dd4f9d60048110af62ebc821dc19a5c2143e7f442a3623275525cbbc53 |