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

Ra drop improvement #881

Open norm-ideal opened 4 years ago

norm-ideal commented 4 years ago

Concerning the "Ra-Drop" error, as @hirokiky pointed out, the dictionary includes a wrong expression "見れる" as a correct word. It makes the detection of an error difficult.

We cannot rely on the dictionary that they do not have other such cases, so I tried to implement the logic by adding baseForm information as:

If there are no exceptional wrong verbs in the dictionary, @hirokiky 's method combined with baseForm information would be better because it is fast and simple.

image

coveralls commented 4 years ago

Coverage Status

Coverage increased (+0.004%) to 91.415% when pulling 2aae17baa656ed2d3cace7bf383784b2f715ff42 on norm-ideal:ra-drop-improvement into 434191383eb392719dbba00a7c8f89b191694210 on redpen-cc:master.