Product Documentation
Abstract
This techdoc describes how to manually configure spelling correction dictionaries in Application Builder 11.0.2.2.
Content
Background
By default, Application Builder creates and manages spelling correction dictionaries automatically using registered entity information. It works well in most cases, but it may cause performance issue when the underlying collections are huge and/or there are so many number of corrections.
In the case, you can manage your spelling correction dictionaries by yourself and configure Application Builder to use those dictionaries.
Steps
To configure Application Builder to use manually-built spelling correction dictionaries, do the following:
- Create custom spelling correction dictionaries in WEX-FC Engine.
- Please find the detailed steps at https://www.ibm.com/support/knowledgecenter/en/SS8NLW_11.0.2/com.ibm.swg.im.infosphere.dataexpl.engine.doc/c_configuration-dictionaries.html
- Configure Application Builder to use the custom dictionaries.
- Stop Application Builder.
- Open $APPBUILDER_INSTALL/wlp/usr/servers/AppBuilder/jvm.options and append the following lines replacing <DICT> with your dictionary name
-DspellingCorrector.dictionaries=<DICT>
-DdictionaryBuilder.disabled=true
- In case you are connecting to multiple Engines, append the following line replacing <ENGINE_URL> with your engine URL to specify which Engine provides spelling correction dictionary:
-DspellingCorrector.dictionariesEngineUrls=<ENGINE_URL>
NOTE: Engine URL is like http://wexfc-enine:9080/vivisimo/cgi-bin/velocity.exe (for Engine on Windows)
- Save the jvm.options file
- Restart Application Builder
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
swg27050590