cancel
Showing results for 
Search instead for 
Did you mean: 

How to achieve Pattern matching using custom dictionary in HANA Text Analytics

former_member182302
Active Contributor
0 Kudos

Hello Folks,

I was able to run the text analytics using custom dictionary ( with fixed strings and even with wild card searches ) . I have a question on how to achieve a pattern search

example: how to search for a phone number in the data?

      (We know the pattern of the phone number like 10 digit number ; starting with +1 ; ) but how do we write this in Custom dictionary? I am sure we can achieve this using regular expressions but would like to know if there is a way to do the same using custom dictionary in HANA.

Appreciate your help on this

Regards,

Krishna Tangudu

Accepted Solutions (1)

Accepted Solutions (1)

former_member182302
Active Contributor
0 Kudos

Hello Folks,

I was able to achieve this using CGUL rules mentioned in the below link

SAP HANA Text Analysis Extraction Customization Guide - SAP Library

Thanks Waite Anthony for sharing the link for the session on Text Analytics with SAP HANA Platform - Anthony Waite, Yolande Meessen, Bill Miller, and Michael Wie...

Will keep posting the updates on completion

Regards,

Krishna Tangudu

Answers (0)