on 11-03-2017 3:05 PM
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="http://www.sap.com/ta/4.0">
<entity_category name="Disaster">
<entity_name standard_form="Earthquake">
<variant name ="earthquake"/>
<variant name ="Earthquake"/>
<variant name ="earth quake"/>
<variant name ="Earth quake"/>
</entity_name>
</entity_category>
</dictionary>
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 ....
<string-list-value>SSDemo::disaster_dict.hdbextdict</string-list-value>
</property>
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
Sudarshan
Earthquake struck New Delhi at 9 AM on 22nd Jan 1999
This was a typo with the Dictionary file extension.. This works perfectly.
Thanks
Sudarshan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.