Home

Awesome


#ویراستار نوشته‌های فارسی شما را ویرایش می‌کند


Virastar (in Persian:ویراستار)

Specifications

###Virastar

aggressive editing


Install

gem install virastar

Usage

"فارسي را كمی درست تر می نويسيم".persian_cleanup   # => "فارسی را کمی درست‌تر می‌نویسیم"

virastar comes with a list of flags to control its behavior, all flags are turned on by default but you can turn them off by passing an options hash to the persian_cleanup method

"سلام 123".persian_cleanup(:fix_english_numbers => false) # => "سلام 123"

here is the list of all flags:

Acknowledgment

Virastar is highly inspired by Virasbaz.

Note on Patches/Pull Requests

Copyright

Copyright (c) 2011 Allen A. Bargi. See LICENSE for details.