Skip to Content

HANA Text analytics - Custom Dictionary & Config issue

Nov 03, 2017 at 03:05 PM


avatar image
Former Member

Hi All,

Am trying to find if a disaster occured by analyzing an input text. For this purpose, have created a custom dictionary as below:

<?xml version="1.0" encoding="UTF-8"?>
<dictionary xmlns="">
   <entity_category name="Disaster">
      <entity_name standard_form="Earthquake">
            <variant name ="earthquake"/>
            <variant name ="Earthquake"/>
            <variant name ="earth quake"/>
            <variant name ="Earth quake"/>

then copied the existing SAP config file EXTRACTION_CORE_VOICEOFCUSTOMER.hdbtextconfig and have added the line below:

 <property name="Dictionaries" type="string-list">
...... all pre-existing .. left untouched ....

however when I execute the text analysis for the below string, the output contains the City Name, Date and Time, but doesn't identiy the word "Earthquake".. Please can you suggest what I am missing.

Many Thanks


Earthquake struck New Delhi at 9 AM on 22nd Jan 1999
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
avatar image
Former Member Nov 06, 2017 at 05:16 AM

This was a typo with the Dictionary file extension.. This works perfectly.



10 |10000 characters needed characters left characters exceeded