I have added an uncommon Japanese word "マクガフィン" ("McGuffin") into the aliases.txt, why doesn't it affect answer search results?
Site Configuration, File Manager, Wordlist files, Aliases.txt
Oracle B2C Service
Suppose you have added some common/uncommon words into the aliases word list (aliases.txt) in Japanese or Chinese (Mandarin, Cantonese and Taiwanese) interfaces. Searching answers for the uncommon words, it seems that the aliases.txt does not affect the search result.
For example, consider the aliases.txt below:
* りんご: apple, マクガフィン: McGuffin, 果物: fruit
Search answers with 大きなりんご ("a big apple") and you will get answers having the word 果物, but with 大きなマクガフィン ("a big McGuffin"), you will not.
Unlike most languages, Japanese and Chinese languages do not use a space to separate words. Oracle B2C Service Japanese/Chinese language packs come with linguistics applications including the standard dictionaries in order to identify and handle each word in these languages.
The standard dictionaries cover most common words such as りんご, but not uncommon ones such as マクガフィン. In order to allow Service Cloud to handle uncommon words, you will need to define them in the Asian Language Dictionaries.
To add uncommon Japanese/Chinese words into the user-defined dictionary, use the steps below:
- From Configuration item, select Site Configuration > File Manager
- Open Asian Language Dictionaries > Asian Language Dictionaries default
- Open the user dictionary file for the language you are using: Japanese (user.dict_JP.utf8), Mandarin (user.dict_CN.utf8), Cantonese (user.dict_HK.utf8), Taiwanese (user.dict_TW.utf8)
For example, to add the Japanese noun マクガフィン, which does not have any place to separate, into the user dictionary, add the following line in the user.dict_JP.utf8:
マクガフィン NOUN 0
For additional information, refer to the 'Asian language dictionaries' section in the Online Help User Guide documentation for the version your site is currently running. To access Oracle B2C Service manuals and documentation online, refer to the Documentation for Oracle B2C Service Products.
NOTE: Oracle Cloud Operations must run the Keywordindexer utility (*) before your changes to the word list files are active. To schedule this, submit a service request via Ask Technical Support.
* The compiled dictionary file is required when there are entries using DecompPattern to decompose words.