Identify Spelling Rules

I’m working on new LanguageTool extension for VS Code and want to provide a feature for global and workspace user dictionaries that would filter out spelling errors returned by the service.

Do all spelling rules start with “MORFOLOGIK_RULE_”? I believe this is the case, but couldn’t find anything explicitly stating this and wanted to double check. I also browsed through Browse LanguageTool Rules: 5,836 matches for English but none of my searches brought back spelling rules.

Thanks!

The safest thing is probably to use the same logic we use on languagetool.org:

Wonderful! Exactly what I was looking for. Thank you.