aim42 / htmlSanityCheck

Standalone (batch- and command-line) and Gradle-plugin html sanity checker - detects missing images, dead links and cross-references, duplicate link targets (anchors) and the like.
Apache License 2.0
70 stars 47 forks source link

add spellChecker #183

Closed gernotstarke closed 6 years ago

gernotstarke commented 6 years ago

finding candidates for misspelled words

rdmueller commented 6 years ago

what will you do with false positives?

I t think this is a great feature,. but for another tool/checker...

rdmueller commented 6 years ago

this would be a nice feature for a sonarqube plugin...

btw: this is already on my docToolchain feature list among with features like a readability and sentence complexity score...

gernotstarke commented 6 years ago

in my opinion "sanity" includes various aspects, and "spelling" or other linguistic stuff can be seen among those.

You're perfectly right - it's gonna be really difficult, and imho will require enhancing the possible checking results (as spellchecks produce more suggestions or hints than errors...)

rdmueller commented 6 years ago

absolutly, sanity is also spellcheck. my comment was more about the type of check we currently have - which is basically unit testing.

maybe the spellcheck could be a sonarqube plugin hosted under the htmlsanitychecker umbrella?

gernotstarke commented 6 years ago

one idea could be to provide a separate repo/project for the SonarQube plugin, which utilizes the HtmlSanityChecker "business logic"...