python-negar icon indicating copy to clipboard operation
python-negar copied to clipboard

Bug Report: Error in Suffix Separating Feature

Open MahtaFetrat opened this issue 1 year ago • 0 comments

Description

When the suffix separating feature is not turned off, some words that have a plural suffix as a part of them are edited wrong. For example نهایی is edited to ن‌هایی.

Steps to Reproduce

from negar.virastar import PersianEditor
edited_text = PersianEditor('مقصد نهایی').text
print(edited_text)

MahtaFetrat avatar May 10 '24 13:05 MahtaFetrat