neveshtarنوشتار
GitHub

طبیعی‌سازی متن آکادمیکNaturalizing academic prose · v0.2.0

متنِ سفت را طبیعی کنید.Make stiff prose read naturally.

عبارت‌های قالبی، قیدهای تهی، ترجمه‌زدگی و فعل‌های سنگین را در متن آکادمیک فارسی پیدا می‌کند، می‌پرسد «دقیقاً چه می‌خواهید بگویید؟» و هر تغییر را به تصمیم شما می‌سپارد. ابزاری برای کیفیت نگارش؛ آفلاین، بدون مدل و بدون شبکه.It finds stock phrases, empty intensifiers, English-shaped wording and heavy verb constructions in Persian academic prose, asks “what exactly do you mean?”, and leaves every change to you. A writing-quality aid: offline, no model, no network.

  • Python 3.9+
  • MIT
  • 0 deps
  • offline
  • 99 tests
chapter1.txtپیش‌نویس سفتStiff draft
naturalness meter 0سنجهٔ طبیعی‌بودن (نمایشی)naturalness meter (illustrative)
متن ساختگی؛ تغییرها خروجی واقعی موتور بررسی همین صفحه است.Invented text; the changes are real output of this page’s review engine.

زنده · در مرورگر شماLive · in your browser

متن خودتان را بگذارید؛ ببینید کجا سفت است.Paste your paragraph. See where it stiffens.

بررسی و تصمیم شماReview and your decisions

پرکننده قالبی / تأکید تهی ترجمه‌زدگی / اسم‌محوری ریتمfiller stock / empty emphasis calque / nominalised rhythm

    چه چیزی در مرورگر اجرا می‌شود؟ هفت بررسی (R101 تا R104، R201، R401، R501) و اعداد ریتم؛ همان الگوهایی که مستقیم از بستهٔ پایتون ساخته شده‌اند. متن شما هیچ‌جا فرستاده نمی‌شود. بررسی‌های R202، R301، R302 و R601، خروجی .docx با تغییرات ردیابی‌شده و یادداشت‌های ورد، و بررسی نگارش گفتاری فقط در خط فرمان هستند.What runs in your browser? Seven checks (R101–R104, R201, R401, R501) and the rhythm numbers, with patterns generated straight from the Python package. Your text is never sent anywhere. The checks R202, R301, R302 and R601, the .docx output with tracked changes and Word comments, and the spoken-register check run only in the command line.

    ابزار کیفیت نگارش است: پیشنهاد می‌دهد و شما تصمیم می‌گیرید. دربارهٔ تشخیص‌دهنده‌های هوش مصنوعی هیچ ادعایی ندارد، برای دور زدن آن‌ها ساخته نشده و برای پنهان‌کردن نویسندهٔ متن هم نیست. مسئولیت متن و رعایت مقررات دانشگاه شما دربارهٔ استفاده از هوش مصنوعی و اعلام آن با خود شماست.This is a writing-quality aid: it suggests, you decide. It makes no claim about AI detectors, is not built to evade them, and is not for hiding who wrote a text. You remain responsible for the text and for your university’s rules on AI assistance and disclosure.

    عادت‌های سفت‌کنندهWhat makes prose stiff

    شش عادتی که متن را مکانیکی می‌کند.Six habits that make prose mechanical.

    هرکدام به‌تنهایی بی‌ضرر است؛ تکرارشان در یک بند، قالب را به جای محتوا نشان می‌دهد. نمونه‌ها ساختگی‌اند و هر پیشنهاد را موتور همین صفحه ساخته است.Each one alone is harmless; stacked in one paragraph they show the template instead of the content. The examples are invented and each suggestion comes from this page’s engine.

    R101

    R102

    R103

    R104

    R401

    R501

    چطور کار می‌کندHow it works

    پیدا می‌کند، می‌پرسد، شما تصمیم می‌گیرید.It finds, it asks, you decide.

    1. 1

      پیدا می‌کندIt finds

      الگوها عبارت‌های باقاعدهٔ خوانا و فهرست واژه‌اند که با دست نوشته شده‌اند. مدل زبانی در کار نیست، پس نتیجه همیشه قابل توضیح است.Hand-written, readable regexes and word lists. There is no language model, so every finding can be explained.

    2. 2

      می‌پرسدIt asks

      جایی که تنها نویسنده می‌داند چه می‌خواهد بگوید، ابزار «چقدر؟»، «کدام نتیجه؟» یا «چه کسی؟» می‌پرسد؛ ادعایی از خودش نمی‌سازد.Where only the author knows the point, it asks “how much?”, “which result?” or “who?” instead of inventing a claim.

    3. 3

      شما تصمیم می‌گیریدYou decide

      هر پیشنهاد را بپذیرید یا نگه دارید. روی .docx هم خروجی، نسخهٔ کپی با تغییرات ردیابی‌شدهٔ ورد و یادداشت برای پرسش‌های باز است.Accept or keep each one. On a .docx the output is a copy with Word tracked changes and comments for the open questions.

    حالت‌هاModes

    safe فقط موارد بدون ابهام را اعمال می‌کند؛ balanced پیشنهادهای میانی را هم؛ all همه را. دکمه‌های «اعمال موارد مطمئن» و «اعمال متوازن» در نمایش زنده، همین منطق را شبیه‌سازی می‌کنند.safe applies only the unambiguous ones; balanced adds the medium-confidence rewrites; all applies everything. The “Apply safe ones” and “Apply balanced” buttons in the live demo mirror that logic.

    محدودیت‌های صادقانهHonest limits

    چه کارهایی نمی‌کند. لطفاً بخوانید.What it does not do. Please read.

    • ابزار پیدا کردن الگوست، نه فهم متن. حدود چند ده الگوی نگارشی و حدود ۱۳۰۰ شکل گفتاری؛ بدون تحلیلگر ریخت‌شناسی و بدون مدل بافتار. عبارتی که در فهرست نیست، علامت نمی‌خورد.It matches patterns; it does not understand the text. A few dozen naturalness patterns and about 1,300 spoken forms, no morphological analyser, no context model. A phrase it does not list is not flagged.
    • عبارت قالبی که عمداً به کار برده‌اید هم علامت می‌خورد (با --skip کنارش بگذارید). معیار دقت منتشرشده‌ای وجود ندارد؛ آزمون‌ها قاعده‌ها را می‌سنجند، نه فارسی را به‌طور کلی.A stock phrase you use on purpose is still flagged (skip it with --skip). There is no published accuracy benchmark; the tests check the rules, not Persian in general.
    • «سنجهٔ طبیعی‌بودن» فقط خوانش نمایشی همین صفحه است، نه امتیاز کیفیت و نه تشخیص هوش مصنوعی. هیچ عددی دربارهٔ اینکه متن «انسانی» به نظر می‌رسد یا «ماشینی» وعده داده نمی‌شود.The “naturalness meter” is only this page’s illustrative readout, not a quality grade and not AI detection. No number promises whether a text “looks human” or “looks machine-made”.
    • در مرورگر ۷ بررسی از ۱۱ بررسی اجرا می‌شود؛ بقیه فقط در خط فرمان‌اند. خروجی .docx با تغییرات ردیابی‌شده و یادداشت‌ها فقط با ساختار OOXML و python-docx بررسی شده؛ در Word یا LibreOffice باز نشده است. هنوز روی PyPI نیست.In the browser 7 of the 11 checks run; the rest are CLI-only. The .docx output with tracked changes and comments was checked only through the OOXML structure and python-docx; it has not been opened in Word or LibreOffice. Not on PyPI yet.
    • این ابزار با هیچ تشخیص‌دهندهٔ هوش مصنوعی آزموده نشده، برای دور زدن آن‌ها ساخته نشده، و نمی‌خواهد مالکیت متن را پنهان کند. مسئولیت متن و رعایت مقررات دانشگاه شما دربارهٔ استفاده از هوش مصنوعی و اعلام آن با شماست.It has not been tested against any AI detector, is not built to evade them, and does not aim to hide authorship. You remain responsible for the text and for your university’s rules on AI assistance and disclosure.

    نصب و شروع سریعInstall & quick start

    در یک دقیقه راه بیندازید.Up and running in a minute.

    1. نصبInstall

      pipx install git+https://github.com/mrzroot/neveshtar        # PyPI release not published yet
      uvx --from git+https://github.com/mrzroot/neveshtar neveshtar demo
    2. یک پیش‌نویس سفتِ ساختگی بسازید و بررسی کنیدMake an invented stiff draft and check it

      neveshtar sample draft.txt --natural
      neveshtar natural draft.txt
    3. روی فایل ورد: کپی با تغییرات ردیابی‌شده و یادداشتOn a Word file: a copy with tracked changes and comments

      neveshtar natural chapter.docx --fix --mode safe