Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/meyt/neviseh
Simple text processing tools in persian
https://github.com/meyt/neviseh
Last synced: about 1 month ago
JSON representation
Simple text processing tools in persian
- Host: GitHub
- URL: https://github.com/meyt/neviseh
- Owner: meyt
- License: mit
- Created: 2018-02-28T20:32:42.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-02-28T20:54:37.000Z (over 6 years ago)
- Last Synced: 2024-09-26T08:23:12.796Z (about 2 months ago)
- Language: Python
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
Neviseh
=======.. image:: https://travis-ci.org/meyt/neviseh.svg?branch=master
:target: https://travis-ci.org/meyt/neviseh.. image:: https://coveralls.io/repos/github/meyt/neviseh/badge.svg?branch=master
:target: https://coveralls.io/github/meyt/neviseh?branch=masterSimple text processing tools in persian.
Features
--------- Text normalization
- Keyboard layout mapping translation
- Calendar translationUsage
-----Currently we have two base modules for English and Persian texts,
each of these modules contains chaining-methods that apply on
initial value.Example:
.. code:: python
from neviseh import PersianText
print(str(
PersianText('123').translate_latin_numbers()
))
# output: ۱۲۳print(str(
PersianText('123.45').replace_decimal_dots().translate_latin_numbers()
))
# output: ۱۲۳٫۴۵for complete samples look tests.
TODO:
------ Affix spacing (`more `__)
- Calendar month names translation.. - Normalize nowadays style using on social networks (like: خـٍـٍـٍـٍـٍْـٍْـٍْـٍْـٍْـٍـٍـٍـٍـٍورشیـב) (`more `__)
Related projects
----------------- `Hazm `__
- `persian.js `__
- `persianize.js `__