I'm confused about the usage of --enablecategories in the LanguageTool CLI. If I'm understanding the documentation correctly, if I supply a Category ID to this option, then all rules in that category will be enabled. So, if I enable the category "MISC", LanguageTool should enable "PASSIVE_VOICE" as it belongs to "MISC". But the following two commands give entirely different results:
echo 'He is said to have been happy.' | java -jar /opt/LanguageTool-3.3/languagetool-commandline.jar -l en --enablecategories MISC
(This doesn't catch the passive voice in the sentence.)
echo 'He is said to have been happy.' | java -jar /opt/LanguageTool-3.3/languagetool-commandline.jar -l en -e PASSIVE_VOICE --enablecategories MISC
(This catches the passive voice as expected.)
Is this a bug?
P.S. Thank you for developing LanguageTool!