Phonetic key generators

InfoSphere® MDM Custom Domain Hub supports both NYSIIS and Soundex phonetic generators.

The default phonetic key generator component uses the industry standard Soundex algorithm. You can customize the generation of phonetic keys for supported languages.

Before OSGi

To provide a new phonetic key generator, there were two prerequisites. First, you had to provide a new phonetic key implementation or wrapper class; second, you had to provide customized properties for the new phonetic key implementation. The phonetic key generator extension you would have used is specified in the following configuration table entry:
/IBM/DWLCommonServices/PhoneticSearch/extensionElementId

With OSGi

You will continue to specify the name of the phonetic key generator in the configuration table entry /IBM/DWLCommonServices/PhoneticSearch/extensionElementId, and if you’ve created any custom phonetic key generators, you must configure them in a blueprint file; for example:
<service id="PhoneticKeyGeneratorFactory" 
	interface="com.ibm.imc.phonetics.PhoneticKeyGeneratorFactoryService" >		
	<bean class="com.ibm.imc.phonetics.impl.PhoneticKeyGeneratorFactoryServiceImpl">
		<argument>
		<map key-type="java.lang.String" 
			value-type="com.ibm.imc.phonetics.IPhoneticKeyGenerator">
				<entry key="<Your phonetic Extension>">
					<bean class="your extension class name"/>
				</entry>
			</map> 
		</argument>		
		<argument ref="blueprintBundle"/>
	</bean>
</service>
The name you supply in the blueprint key <Your phonetic Extension> must match the entry you specified in the configuration table entry mentioned in the previous paragraph. For example, if your configuration setting is as follows --
IBM/DWLCommonServices/PhoneticSearch/extensionElementId=SoundexExtension
-- then InfoSphere MDM Custom Domain Hub will employ the following out-of-box blueprint setting:
<service id="PhoneticKeyGeneratorFactory" 
	interface="com.ibm.imc.phonetics.PhoneticKeyGeneratorFactoryService" >
	<bean class="com.ibm.imc.phonetics.impl.PhoneticKeyGeneratorFactoryServiceImpl" >
		<argument>
			<map 	key-type="java.lang.String" 
						value-type="com.ibm.imc.phonetics.IPhoneticKeyGenerator">
				<entry key="SoundexExtension">
					<bean class="com.ibm.imc.phonetics.impl.SoundexExtension"/>
				</entry>
			</map> 
		</argument>		
		<argument ref="blueprintBundle"/>
	</bean>
</service>


Last updated: 9 Dec 2016