0

I have a LanguageTool embedded in my Java application. There is a lot of phrases that LanguageTool need to ignore and those phrases contain underscores, so they look like this: CCCC_DDDD. Problem is that if I add "CCCC_DDDD" to ignore.txt file, both CCCC and DDDD are marked as a typos. Is there a way to make LT to ignore that phrase?

I've read here, that language tool does not support two word phrases, but there is said, that in that case Language Tool would throw an exception, in my case there is no exceptions thrown.

I have a workaround but I'd like to achieve that from a LanguageTool level.

EDIT: In console version of LanguageTool, adding phrase "CCCC_DDDD" to ignore.txt does the work. This does not work in "embedded version" of the program.

RealFinn
  • 13
  • 2
  • 5

0 Answers0