on 05-28-2015 3:37 PM
Following this blog post http://scn.sap.com/community/developer-center/hana/blog/2014/05/23/to-be-or-not-to-be-hana-text-anal... , I have tried to create a table with a text index with a custom configuration all is working fine until I reference a custom extraction rule file (CUSTOM.fsm) which seems to totally disable the analysis process i.e. when I insert new text in the table there are no analysis results in the $TA_table when I remove the reference from the config file the analysis process returns to a working state.
I cannot understand what is happening I checked against the SAP HANA Text Analysis developper guide and the text analysis customization guide but cannot find the problem.
Is there a way to debug the analysis process?
Should I place the extraction rule files in specific place?
In sap hana the good extension for the custom text rule is .hdbtextrule and not .fsm.
By correcting the extension I was able to get analysis result.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chedy,
did you ever find out how to debug text analysis?
I have created a customer dictionary and added a line in the config file.
My config file still works, but the dictionary file is completely ignored and there is no error message.
Do you have an idea how I could analyze this situation?
Regards,
Martin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Chedy !
Where did you find out how to write custom extraction rules for text analysis ?
Is there any blog or pdf file where I can learn how to create custom rules ?
Thanks,
Christoforos
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Christoforos,
You can find guidance about writing custom rules in this document:
SAP HANA Text Analysis Extraction Customization Guide - SAP Library
Regards,
Chedy
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.