Use of kuromoji for Japanese output

Having trouble installing Oxygen XML WebHelp? Got a bug to report? Post it all here.
oxykasha
Posts: 1
Joined: Tue Aug 30, 2022 9:20 pm

Use of kuromoji for Japanese output

Post 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?
Costin
Posts: 833
Joined: Mon Dec 05, 2011 6:04 pm

Re: Use of kuromoji for Japanese output

Post 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
Costin Sandoi
oXygen XML Editor and Author Support
Post Reply