redpen-cc / redpen

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).
https://redpen.cc
Apache License 2.0
567 stars 74 forks source link

Update on DoubleNagation output style #878

Closed norm-ideal closed 4 years ago

norm-ideal commented 4 years ago

Updated the DoubleNegation output message that was a direct output of rule variable.

Former output:

二重否定がみつかりました "ExpressionRule{elements=[TokenElement{surface='ない', tags=[], offset=0, reading='ない'}, TokenElement{surface='こと', tags=[], offset=0, reading='こと'}, TokenElement{surface='も', tags=[], offset=0, reading='も'}, TokenElement{surface='ない', tags=[], offset=0, reading='ない'}]}"

New output:

二重否定がみつかりました。 "ないこともない"
coveralls commented 4 years ago

Coverage Status

Coverage increased (+0.006%) to 91.407% when pulling cf5336a1b2b777c6568296d00bb733e035604114 on norm-ideal:cleanup into 81fc86b342c128b9b8b5e9e0892d1f7b36dc7ad4 on redpen-cc:master.

takahi-i commented 4 years ago

@norm-ideal Deeply sorry for the late response. Thank you very much for the valuable improvement as always!