Page 1 of 1

Use of kuromoji for Japanese output

Posted: Thu Sep 01, 2022 10:24 pm
by oxykasha
I noticed that the kuromoji dictionaries and kuromoji.js are still included as of release 24.1., and there is a flag in the build_dita.xml file related to using kuromiji. However, in earlier releases, there was also code in nwSearchnt.js that used a useKuromiji variable and then loaded the kuromoji dictionaries. This code is no longer in the nwSearchnt.js file. Does that mean the use of kuromoji is enabled in some other way? Or does it mean the use of kuromoji is no longer recommended?

Re: Use of kuromoji for Japanese output

Posted: Fri Sep 02, 2022 12:07 pm
by Costin
Hello,

The kuromoji library is indeed still supported by the WebHelp transformation scenario.
However, there is a dedicated parameter that triggers this functionality - make sure that you enable the "webhelp.enable.search.kuromoji.js".
If the parameter is set on "no", then the kuromoji content is no longer copied in the output folder.

Best Regards,
Costin