RedPen is an open source proofreading tool to check if your technical documents meet the writing standard. RedPen supports various markup text formats (Markdown, Textile, AsciiDoc, Re:VIEW, reStructuredText and LaTeX).
I added the option to force the DEARU mode. Default mode is unchanged (auto-detection).
The original code determines if the document is in DEARU/DESUMASU by the superior occurrence, and it works in most cases. But many of our students write their report by using DESUMASU while it should be DEARU, so I needed to fix the mode to DEARU even when DESUMASU is superior.
Coverage increased (+0.003%) to 91.389% when pulling 6c8ba1b4b1045149915ef3637402ce631e5ef306 on norm-ideal:master into 42a24bc1a93215f377158a92c32ce92e527e185b on redpen-cc:master.
I added the option to force the DEARU mode. Default mode is unchanged (auto-detection).
The original code determines if the document is in DEARU/DESUMASU by the superior occurrence, and it works in most cases. But many of our students write their report by using DESUMASU while it should be DEARU, so I needed to fix the mode to DEARU even when DESUMASU is superior.