Skip to Content
author's profile photo Former Member
Former Member

Using Custom extraction rule in text analysis is suppressing the analysis process.

Following this blog post http://scn.sap.com/community/developer-center/hana/blog/2014/05/23/to-be-or-not-to-be-hana-text-analysis-cgul-rules-has-the-answer , 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?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 29, 2015 at 01:25 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 22, 2015 at 08:22 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 02, 2015 at 09:44 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 09, 2016 at 10:13 AM

    This message was moderated.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.