python-negar


Namepython-negar JSON
Version 1.2.8 PyPI version JSON
download
home_pagehttp://github.com/shahinism/python-negar
SummaryNegar is a spell corrector and Persian text editor
upload_time2023-09-21 11:53:18
maintainerJavad Razavian, Alireza Savand
docs_urlNone
authorShahin Azad
requires_python>=3.6
licenseGPL
keywords spellcheck persian editor
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Negar
==========
[![PyPI](https://img.shields.io/pypi/v/python-negar)](https://pypi.org/project/python-negar/)
[![repo size](https://img.shields.io/github/repo-size/shahinism/python-negar.svg)](https://github.com/shahinism/python-negar/archive/master.zip)
[![GitHub forks](https://img.shields.io/github/forks/shahinism/python-negar)](https://github.com/shahinism/python-negar/network)
[![GitHub issues](https://img.shields.io/github/issues/shahinism/python-negar)](https://github.com/shahinism/python-negar/issues)
[![GitHub license](https://img.shields.io/github/license/shahinism/python-negar)](https://github.com/shahinism/python-negar/blob/main/LICENSE)
[![Downloads](https://pepy.tech/badge/python-negar)](https://pepy.tech/project/python-negar)
[![Downloads](https://pepy.tech/badge/python-negar/month)](https://pepy.tech/project/python-negar)

Negar is an editor(=virastar in Persian) for Persian text. The project is initially inspired by [virastar](https://github.com/aziz/virastar/blob/master/lib/virastar.rb). Thank you [Aziz](https://github.com/aziz) for your great job.

Installation
==============

## PyPi

**python-negar** is available on [PyPi](http://pypi.python.org/pypi/python-negar):

    $ pip install python-negar

## Git

You can get latest stable changes from github server:

    $ git clone https://github.com/shahinism/python-negar.git
    $ cd python-negar
    $ python setup.py install

## Zip, Tarball

You can download the latest tarball.

### *nix

Get the latest tarball & install:

    $ wget -O python-negar-master.tar.gz https://github.com/shahinism/python-negar/archive/master.tar.gz
    $ tar xvzf python-negar-master.tar.gz && cd python-negar-master
    $ python setup.py install

### Windows

Download latest zip archive.

https://github.com/shahinism/python-negar/archive/master.zip

Decompress it, and run the following command in root directory of `python-negar`

    $ python setup.py install

#### Requirements

    $ pip install regex

Usage
======

Calling by default options:

    from negar.virastar import PersianEditor

    test = r"""قابلیت های ویراستار ' نگار  ':
    * جایگزینی
    + خط تیره های پیاپی نظیر (--) و (---) با معادل های استاندارد شان
    + سه نقطه ی پیاپی (...) با کاراکتر استانداردش در زبان فارسی
        + علایمی نظیر کتیشن فارسی با گیومه ؛  'نگار'
        + اعداد عربی '١٢٣٤٥٦٧٨٩٠' و انگلیسی '1234567890'  با معادل فارسی
        + کاراکتر های غیر فارسی نظیر ',;%يةك' با معادل های فارسی

    * تنظیم فاصله
        + کلماتی که با 'ی' پسوند همراه هستند مانند 'همه ی ' -- و البته امکان جایگزینی آن با حمزه 'ء' ( در صورت انتخاب کاربر )
        + پرانتز ها  یا دیگر علایم ؛ ( نگار )
        + علائم نقطه‌گذاری ؛ بدون فاصله از قبل و با یک فاصله از بعد به استثنای اعداد اعشاری مانند 12.4
        + در پیشوند کلمات با نیم‌فاصله نظیر ' می شود '، ' میشود '، ' بی شک '، ' بیشک ' , ' خانه اش '، ' وظیفه شناس ' ، ' کمک تان '  و یا ' نمیرود '
        + در پسوند کلمات با نیم‌فاصله نظیر کتابها، خوشترین -- و البته امکان عدم تنظیم (در صورت انتخاب کاربر)

    * جلوگیری از
        + استفاده ی بیش از یک علامت ؟؟؟؟ یا !!!
        + کشیـــــــــدگـــــــــــــــــی در کــــــــــــلمــــات
        + فضا های         خالی     بیش          از       حد"""

    print(PersianEditor(text))

result:

    قابلیت‌های ویراستار «نگار»:
    * جایگزینی
    + خط تیره‌های پیاپی نظیر (–) و (—) با معادل‌های استانداردشان
    + سه نقطه‌ی پیاپی (…) با کاراکتر استانداردش در زبان فارسی
        + علایمی نظیر کتیشن فارسی با گیومه؛ «نگار»
        + اعداد عربی «۱۲۳۴۵۶۷۸۹۰» و انگلیسی «۱۲۳۴۵۶۷۸۹۰» با معادل فارسی
        + کاراکترهای غیر فارسی نظیر «، ؛ ٪یهک» با معادل‌های فارسی

    * تنظیم فاصله
        + کلماتی که با «ی» پسوند همراه هستند مانند «همه‌ی» – و البته امکان جایگزینی آن با حمزه «ء» (در صورت انتخاب کاربر)
        + پرانتزها یا دیگر علایم؛ (نگار)
        + علائم نقطه‌گذاری؛ بدون فاصله از قبل و با یک فاصله از بعد به استثنای اعداد اعشاری مانند ۱۲.۴
        + در پیشوند کلمات با نیم‌فاصله نظیر «می‌شود»، «می‌شود»، «بی‌شک»، «بی‌شک»، «خانه‌اش»، «وظیفه‌شناس»، «کمک‌تان» و یا «نمی‌رود»
        + در پسوند کلمات با نیم‌فاصله نظیر کتاب‌ها، خوش‌ترین – و البته امکان عدم تنظیم (در صورت انتخاب کاربر)

    * جلوگیری از
        + استفاده‌ی بیش از یک علامت؟ یا!
        + کشیدگی در کلمات
        + فضاهای خالی بیش از حد

Enabling extra features/args:

    ##
    args = []
    args.append('fix-english-quotes')
    args.append('cleanup-spacing')
    print(PersianEditor(text, *args))


Full list of args with description:

    --fix-dashes                 Disable fix dashes feature
    --fix-three-dots             Disable fix three dots feature
    --fix-english-quotes         Disable fix english quotes feature
    --fix-hamzeh                 Disable fix hamzeh feature
    --hamzeh-with-yeh            Use 'Hamzeh' instead of 'yeh' for fix hamzeh feature
    --fix-spacing-bq             Disable fix spacing braces and qoutes feature
    --fix-arabic-num             Disable fix arabic num feature
    --fix-english-num            Disable fix english num feature
    --fix-non-persian-chars      Disable fix misc non persian chars feature
    --fix-p-spacing              Disable fix prefix spacing feature
    --fix-p-separate             Disable fix prefix separating feature
    --fix-s-spacing              Disable fix suffix spacing feature
    --fix-s-separate             Disable fix suffix separating feature
    --aggresive                  Disable aggresive feature
    --cleanup-kashidas           Disable cleanup kashidas feature
    --cleanup-ex-marks           Disable cleanup extra marks feature
    --cleanup-spacing            Disable cleanup spacing feature
    --trim-lt-whitespaces        Disable Trim leading trailing whitespaces
    --exaggerating_zwnj          Disable suffix separation as much as possible

GUI & CLI
======
There are two companions with this repository to support GUI and CLI, named `negar-gui` and `negar-cli`, respectively.

Both of them are available on PyPI.

* https://pypi.org/project/negar-gui/

* https://pypi.org/project/negar-cli/


## Contributors

<a href="https://github.com/shahinism/python-negar/graphs/contributors">
  <img src="https://contrib.rocks/image?repo=shahinism/python-negar" />
</a>



            

Raw data

            {
    "_id": null,
    "home_page": "http://github.com/shahinism/python-negar",
    "name": "python-negar",
    "maintainer": "Javad Razavian, Alireza Savand",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "javadr@gmail.com, alireza.savand@gmail.com",
    "keywords": "spellcheck Persian editor",
    "author": "Shahin Azad",
    "author_email": "ishahinism@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/9b/20/450b929dfcb14eb6919689d6b9f2e95c2a8e99fe6d4057d0167d08f5d5e1/python-negar-1.2.8.tar.gz",
    "platform": null,
    "description": "\ufeffNegar\n==========\n[![PyPI](https://img.shields.io/pypi/v/python-negar)](https://pypi.org/project/python-negar/)\n[![repo size](https://img.shields.io/github/repo-size/shahinism/python-negar.svg)](https://github.com/shahinism/python-negar/archive/master.zip)\n[![GitHub forks](https://img.shields.io/github/forks/shahinism/python-negar)](https://github.com/shahinism/python-negar/network)\n[![GitHub issues](https://img.shields.io/github/issues/shahinism/python-negar)](https://github.com/shahinism/python-negar/issues)\n[![GitHub license](https://img.shields.io/github/license/shahinism/python-negar)](https://github.com/shahinism/python-negar/blob/main/LICENSE)\n[![Downloads](https://pepy.tech/badge/python-negar)](https://pepy.tech/project/python-negar)\n[![Downloads](https://pepy.tech/badge/python-negar/month)](https://pepy.tech/project/python-negar)\n\nNegar is an editor(=virastar in Persian) for Persian text. The project is initially inspired by [virastar](https://github.com/aziz/virastar/blob/master/lib/virastar.rb). Thank you [Aziz](https://github.com/aziz) for your great job.\n\nInstallation\n==============\n\n## PyPi\n\n**python-negar** is available on [PyPi](http://pypi.python.org/pypi/python-negar):\n\n    $ pip install python-negar\n\n## Git\n\nYou can get latest stable changes from github server:\n\n    $ git clone https://github.com/shahinism/python-negar.git\n    $ cd python-negar\n    $ python setup.py install\n\n## Zip, Tarball\n\nYou can download the latest tarball.\n\n### *nix\n\nGet the latest tarball & install:\n\n    $ wget -O python-negar-master.tar.gz https://github.com/shahinism/python-negar/archive/master.tar.gz\n    $ tar xvzf python-negar-master.tar.gz && cd python-negar-master\n    $ python setup.py install\n\n### Windows\n\nDownload latest zip archive.\n\nhttps://github.com/shahinism/python-negar/archive/master.zip\n\nDecompress it, and run the following command in root directory of `python-negar`\n\n    $ python setup.py install\n\n#### Requirements\n\n    $ pip install regex\n\nUsage\n======\n\nCalling by default options:\n\n    from negar.virastar import PersianEditor\n\n    test = r\"\"\"\u0642\u0627\u0628\u0644\u06cc\u062a \u0647\u0627\u06cc \u0648\u06cc\u0631\u0627\u0633\u062a\u0627\u0631 ' \u0646\u06af\u0627\u0631  ':\n    * \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646\u06cc\n    + \u062e\u0637 \u062a\u06cc\u0631\u0647 \u0647\u0627\u06cc \u067e\u06cc\u0627\u067e\u06cc \u0646\u0638\u06cc\u0631 (--) \u0648 (---) \u0628\u0627 \u0645\u0639\u0627\u062f\u0644 \u0647\u0627\u06cc \u0627\u0633\u062a\u0627\u0646\u062f\u0627\u0631\u062f \u0634\u0627\u0646\n    + \u0633\u0647 \u0646\u0642\u0637\u0647 \u06cc \u067e\u06cc\u0627\u067e\u06cc (...) \u0628\u0627 \u06a9\u0627\u0631\u0627\u06a9\u062a\u0631 \u0627\u0633\u062a\u0627\u0646\u062f\u0627\u0631\u062f\u0634 \u062f\u0631 \u0632\u0628\u0627\u0646 \u0641\u0627\u0631\u0633\u06cc\n        + \u0639\u0644\u0627\u06cc\u0645\u06cc \u0646\u0638\u06cc\u0631 \u06a9\u062a\u06cc\u0634\u0646 \u0641\u0627\u0631\u0633\u06cc \u0628\u0627 \u06af\u06cc\u0648\u0645\u0647 \u061b  '\u0646\u06af\u0627\u0631'\n        + \u0627\u0639\u062f\u0627\u062f \u0639\u0631\u0628\u06cc '\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660' \u0648 \u0627\u0646\u06af\u0644\u06cc\u0633\u06cc '1234567890'  \u0628\u0627 \u0645\u0639\u0627\u062f\u0644 \u0641\u0627\u0631\u0633\u06cc\n        + \u06a9\u0627\u0631\u0627\u06a9\u062a\u0631 \u0647\u0627\u06cc \u063a\u06cc\u0631 \u0641\u0627\u0631\u0633\u06cc \u0646\u0638\u06cc\u0631 ',;%\u064a\u0629\u0643' \u0628\u0627 \u0645\u0639\u0627\u062f\u0644 \u0647\u0627\u06cc \u0641\u0627\u0631\u0633\u06cc\n\n    * \u062a\u0646\u0638\u06cc\u0645 \u0641\u0627\u0635\u0644\u0647\n        + \u06a9\u0644\u0645\u0627\u062a\u06cc \u06a9\u0647 \u0628\u0627 '\u06cc' \u067e\u0633\u0648\u0646\u062f \u0647\u0645\u0631\u0627\u0647 \u0647\u0633\u062a\u0646\u062f \u0645\u0627\u0646\u0646\u062f '\u0647\u0645\u0647 \u06cc ' -- \u0648 \u0627\u0644\u0628\u062a\u0647 \u0627\u0645\u06a9\u0627\u0646 \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646\u06cc \u0622\u0646 \u0628\u0627 \u062d\u0645\u0632\u0647 '\u0621' ( \u062f\u0631 \u0635\u0648\u0631\u062a \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0627\u0631\u0628\u0631 )\n        + \u067e\u0631\u0627\u0646\u062a\u0632 \u0647\u0627  \u06cc\u0627 \u062f\u06cc\u06af\u0631 \u0639\u0644\u0627\u06cc\u0645 \u061b ( \u0646\u06af\u0627\u0631 )\n        + \u0639\u0644\u0627\u0626\u0645 \u0646\u0642\u0637\u0647\u200c\u06af\u0630\u0627\u0631\u06cc \u061b \u0628\u062f\u0648\u0646 \u0641\u0627\u0635\u0644\u0647 \u0627\u0632 \u0642\u0628\u0644 \u0648 \u0628\u0627 \u06cc\u06a9 \u0641\u0627\u0635\u0644\u0647 \u0627\u0632 \u0628\u0639\u062f \u0628\u0647 \u0627\u0633\u062a\u062b\u0646\u0627\u06cc \u0627\u0639\u062f\u0627\u062f \u0627\u0639\u0634\u0627\u0631\u06cc \u0645\u0627\u0646\u0646\u062f 12.4\n        + \u062f\u0631 \u067e\u06cc\u0634\u0648\u0646\u062f \u06a9\u0644\u0645\u0627\u062a \u0628\u0627 \u0646\u06cc\u0645\u200c\u0641\u0627\u0635\u0644\u0647 \u0646\u0638\u06cc\u0631 ' \u0645\u06cc \u0634\u0648\u062f '\u060c ' \u0645\u06cc\u0634\u0648\u062f '\u060c ' \u0628\u06cc \u0634\u06a9 '\u060c ' \u0628\u06cc\u0634\u06a9 ' , ' \u062e\u0627\u0646\u0647 \u0627\u0634 '\u060c ' \u0648\u0638\u06cc\u0641\u0647 \u0634\u0646\u0627\u0633 ' \u060c ' \u06a9\u0645\u06a9 \u062a\u0627\u0646 '  \u0648 \u06cc\u0627 ' \u0646\u0645\u06cc\u0631\u0648\u062f '\n        + \u062f\u0631 \u067e\u0633\u0648\u0646\u062f \u06a9\u0644\u0645\u0627\u062a \u0628\u0627 \u0646\u06cc\u0645\u200c\u0641\u0627\u0635\u0644\u0647 \u0646\u0638\u06cc\u0631 \u06a9\u062a\u0627\u0628\u0647\u0627\u060c \u062e\u0648\u0634\u062a\u0631\u06cc\u0646 -- \u0648 \u0627\u0644\u0628\u062a\u0647 \u0627\u0645\u06a9\u0627\u0646 \u0639\u062f\u0645 \u062a\u0646\u0638\u06cc\u0645 (\u062f\u0631 \u0635\u0648\u0631\u062a \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0627\u0631\u0628\u0631)\n\n    * \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u0627\u0632\n        + \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06cc \u0628\u06cc\u0634 \u0627\u0632 \u06cc\u06a9 \u0639\u0644\u0627\u0645\u062a \u061f\u061f\u061f\u061f \u06cc\u0627 !!!\n        + \u06a9\u0634\u06cc\u0640\u0640\u0640\u0640\u0640\u0640\u0640\u0640\u0640\u062f\u06af\u0640\u0640\u0640\u0640\u0640\u0640\u0640\u0640\u0640\u0640\u0640\u0640\u0640\u0640\u0640\u0640\u0640\u06cc \u062f\u0631 \u06a9\u0640\u0640\u0640\u0640\u0640\u0640\u0640\u0640\u0640\u0640\u0640\u0640\u0644\u0645\u0640\u0640\u0640\u0640\u0627\u062a\n        + \u0641\u0636\u0627 \u0647\u0627\u06cc         \u062e\u0627\u0644\u06cc     \u0628\u06cc\u0634          \u0627\u0632       \u062d\u062f\"\"\"\n\n    print(PersianEditor(text))\n\nresult:\n\n    \u0642\u0627\u0628\u0644\u06cc\u062a\u200c\u0647\u0627\u06cc \u0648\u06cc\u0631\u0627\u0633\u062a\u0627\u0631 \u00ab\u0646\u06af\u0627\u0631\u00bb:\n    * \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646\u06cc\n    + \u062e\u0637 \u062a\u06cc\u0631\u0647\u200c\u0647\u0627\u06cc \u067e\u06cc\u0627\u067e\u06cc \u0646\u0638\u06cc\u0631 (\u2013) \u0648 (\u2014) \u0628\u0627 \u0645\u0639\u0627\u062f\u0644\u200c\u0647\u0627\u06cc \u0627\u0633\u062a\u0627\u0646\u062f\u0627\u0631\u062f\u0634\u0627\u0646\n    + \u0633\u0647 \u0646\u0642\u0637\u0647\u200c\u06cc \u067e\u06cc\u0627\u067e\u06cc (\u2026) \u0628\u0627 \u06a9\u0627\u0631\u0627\u06a9\u062a\u0631 \u0627\u0633\u062a\u0627\u0646\u062f\u0627\u0631\u062f\u0634 \u062f\u0631 \u0632\u0628\u0627\u0646 \u0641\u0627\u0631\u0633\u06cc\n        + \u0639\u0644\u0627\u06cc\u0645\u06cc \u0646\u0638\u06cc\u0631 \u06a9\u062a\u06cc\u0634\u0646 \u0641\u0627\u0631\u0633\u06cc \u0628\u0627 \u06af\u06cc\u0648\u0645\u0647\u061b \u00ab\u0646\u06af\u0627\u0631\u00bb\n        + \u0627\u0639\u062f\u0627\u062f \u0639\u0631\u0628\u06cc \u00ab\u06f1\u06f2\u06f3\u06f4\u06f5\u06f6\u06f7\u06f8\u06f9\u06f0\u00bb \u0648 \u0627\u0646\u06af\u0644\u06cc\u0633\u06cc \u00ab\u06f1\u06f2\u06f3\u06f4\u06f5\u06f6\u06f7\u06f8\u06f9\u06f0\u00bb \u0628\u0627 \u0645\u0639\u0627\u062f\u0644 \u0641\u0627\u0631\u0633\u06cc\n        + \u06a9\u0627\u0631\u0627\u06a9\u062a\u0631\u0647\u0627\u06cc \u063a\u06cc\u0631 \u0641\u0627\u0631\u0633\u06cc \u0646\u0638\u06cc\u0631 \u00ab\u060c \u061b \u066a\u06cc\u0647\u06a9\u00bb \u0628\u0627 \u0645\u0639\u0627\u062f\u0644\u200c\u0647\u0627\u06cc \u0641\u0627\u0631\u0633\u06cc\n\n    * \u062a\u0646\u0638\u06cc\u0645 \u0641\u0627\u0635\u0644\u0647\n        + \u06a9\u0644\u0645\u0627\u062a\u06cc \u06a9\u0647 \u0628\u0627 \u00ab\u06cc\u00bb \u067e\u0633\u0648\u0646\u062f \u0647\u0645\u0631\u0627\u0647 \u0647\u0633\u062a\u0646\u062f \u0645\u0627\u0646\u0646\u062f \u00ab\u0647\u0645\u0647\u200c\u06cc\u00bb \u2013 \u0648 \u0627\u0644\u0628\u062a\u0647 \u0627\u0645\u06a9\u0627\u0646 \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646\u06cc \u0622\u0646 \u0628\u0627 \u062d\u0645\u0632\u0647 \u00ab\u0621\u00bb (\u062f\u0631 \u0635\u0648\u0631\u062a \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0627\u0631\u0628\u0631)\n        + \u067e\u0631\u0627\u0646\u062a\u0632\u0647\u0627 \u06cc\u0627 \u062f\u06cc\u06af\u0631 \u0639\u0644\u0627\u06cc\u0645\u061b (\u0646\u06af\u0627\u0631)\n        + \u0639\u0644\u0627\u0626\u0645 \u0646\u0642\u0637\u0647\u200c\u06af\u0630\u0627\u0631\u06cc\u061b \u0628\u062f\u0648\u0646 \u0641\u0627\u0635\u0644\u0647 \u0627\u0632 \u0642\u0628\u0644 \u0648 \u0628\u0627 \u06cc\u06a9 \u0641\u0627\u0635\u0644\u0647 \u0627\u0632 \u0628\u0639\u062f \u0628\u0647 \u0627\u0633\u062a\u062b\u0646\u0627\u06cc \u0627\u0639\u062f\u0627\u062f \u0627\u0639\u0634\u0627\u0631\u06cc \u0645\u0627\u0646\u0646\u062f \u06f1\u06f2.\u06f4\n        + \u062f\u0631 \u067e\u06cc\u0634\u0648\u0646\u062f \u06a9\u0644\u0645\u0627\u062a \u0628\u0627 \u0646\u06cc\u0645\u200c\u0641\u0627\u0635\u0644\u0647 \u0646\u0638\u06cc\u0631 \u00ab\u0645\u06cc\u200c\u0634\u0648\u062f\u00bb\u060c \u00ab\u0645\u06cc\u200c\u0634\u0648\u062f\u00bb\u060c \u00ab\u0628\u06cc\u200c\u0634\u06a9\u00bb\u060c \u00ab\u0628\u06cc\u200c\u0634\u06a9\u00bb\u060c \u00ab\u062e\u0627\u0646\u0647\u200c\u0627\u0634\u00bb\u060c \u00ab\u0648\u0638\u06cc\u0641\u0647\u200c\u0634\u0646\u0627\u0633\u00bb\u060c \u00ab\u06a9\u0645\u06a9\u200c\u062a\u0627\u0646\u00bb \u0648 \u06cc\u0627 \u00ab\u0646\u0645\u06cc\u200c\u0631\u0648\u062f\u00bb\n        + \u062f\u0631 \u067e\u0633\u0648\u0646\u062f \u06a9\u0644\u0645\u0627\u062a \u0628\u0627 \u0646\u06cc\u0645\u200c\u0641\u0627\u0635\u0644\u0647 \u0646\u0638\u06cc\u0631 \u06a9\u062a\u0627\u0628\u200c\u0647\u0627\u060c \u062e\u0648\u0634\u200c\u062a\u0631\u06cc\u0646 \u2013 \u0648 \u0627\u0644\u0628\u062a\u0647 \u0627\u0645\u06a9\u0627\u0646 \u0639\u062f\u0645 \u062a\u0646\u0638\u06cc\u0645 (\u062f\u0631 \u0635\u0648\u0631\u062a \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0627\u0631\u0628\u0631)\n\n    * \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u0627\u0632\n        + \u0627\u0633\u062a\u0641\u0627\u062f\u0647\u200c\u06cc \u0628\u06cc\u0634 \u0627\u0632 \u06cc\u06a9 \u0639\u0644\u0627\u0645\u062a\u061f \u06cc\u0627!\n        + \u06a9\u0634\u06cc\u062f\u06af\u06cc \u062f\u0631 \u06a9\u0644\u0645\u0627\u062a\n        + \u0641\u0636\u0627\u0647\u0627\u06cc \u062e\u0627\u0644\u06cc \u0628\u06cc\u0634 \u0627\u0632 \u062d\u062f\n\nEnabling extra features/args:\n\n    ##\n    args = []\n    args.append('fix-english-quotes')\n    args.append('cleanup-spacing')\n    print(PersianEditor(text, *args))\n\n\nFull list of args with description:\n\n    --fix-dashes                 Disable fix dashes feature\n    --fix-three-dots             Disable fix three dots feature\n    --fix-english-quotes         Disable fix english quotes feature\n    --fix-hamzeh                 Disable fix hamzeh feature\n    --hamzeh-with-yeh            Use 'Hamzeh' instead of 'yeh' for fix hamzeh feature\n    --fix-spacing-bq             Disable fix spacing braces and qoutes feature\n    --fix-arabic-num             Disable fix arabic num feature\n    --fix-english-num            Disable fix english num feature\n    --fix-non-persian-chars      Disable fix misc non persian chars feature\n    --fix-p-spacing              Disable fix prefix spacing feature\n    --fix-p-separate             Disable fix prefix separating feature\n    --fix-s-spacing              Disable fix suffix spacing feature\n    --fix-s-separate             Disable fix suffix separating feature\n    --aggresive                  Disable aggresive feature\n    --cleanup-kashidas           Disable cleanup kashidas feature\n    --cleanup-ex-marks           Disable cleanup extra marks feature\n    --cleanup-spacing            Disable cleanup spacing feature\n    --trim-lt-whitespaces        Disable Trim leading trailing whitespaces\n    --exaggerating_zwnj          Disable suffix separation as much as possible\n\nGUI & CLI\n======\nThere are two companions with this repository to support GUI and CLI, named `negar-gui` and `negar-cli`, respectively.\n\nBoth of them are available on PyPI.\n\n* https://pypi.org/project/negar-gui/\n\n* https://pypi.org/project/negar-cli/\n\n\n## Contributors\n\n<a href=\"https://github.com/shahinism/python-negar/graphs/contributors\">\n  <img src=\"https://contrib.rocks/image?repo=shahinism/python-negar\" />\n</a>\n\n\n",
    "bugtrack_url": null,
    "license": "GPL",
    "summary": "Negar is a spell corrector and Persian text editor",
    "version": "1.2.8",
    "project_urls": {
        "Homepage": "http://github.com/shahinism/python-negar"
    },
    "split_keywords": [
        "spellcheck",
        "persian",
        "editor"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9b20450b929dfcb14eb6919689d6b9f2e95c2a8e99fe6d4057d0167d08f5d5e1",
                "md5": "ed8ead0bdbbc770264248606a2784023",
                "sha256": "9ee822311cc07a5e358cb135628ad827d77447cdbbf49db0e8d090ddce750ae1"
            },
            "downloads": -1,
            "filename": "python-negar-1.2.8.tar.gz",
            "has_sig": false,
            "md5_digest": "ed8ead0bdbbc770264248606a2784023",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 36053,
            "upload_time": "2023-09-21T11:53:18",
            "upload_time_iso_8601": "2023-09-21T11:53:18.349526Z",
            "url": "https://files.pythonhosted.org/packages/9b/20/450b929dfcb14eb6919689d6b9f2e95c2a8e99fe6d4057d0167d08f5d5e1/python-negar-1.2.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-21 11:53:18",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "shahinism",
    "github_project": "python-negar",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "python-negar"
}
        
Elapsed time: 0.12600s