ro-diacritics 0.9.4.2

Creator: railscoder56

Last updated:

0 purchases

ro-diacritics 0.9.4.2 Image
ro-diacritics 0.9.4.2 Images
Add to Cart

Description:

rodiacritics 0.9.4.2

RO Diacritics module
RO Diacritics is a straightforward diacritics restoration module for Romanian Language
from ro_diacritics import restore_diacritics
print(restore_diacritics("fara poezie, viata e pustiu"))

or correcting a pandas dataframe:
from ro_diacritics import restore_diacritics
df['text-diacritice'] = df['text'].apply(restore_diacritics)

Installing
$ python -m pip install ro-diacritics

or
$ pip install ro-diacritics

Requirements

torch and torchtext
numpy
nltk and scikit-learn (for training)
needs nltk.download('punkt') for tokenization

References

Ruseti, S., Cotet, T. M., & Dascalu, M. (2020). Romanian Diacritics Restoration Using Recurrent Neural Networks. arXiv preprint arXiv:2009.02743.
https://github.com/teodor-cotet/DiacriticsRestoration

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.