Skip to Content
0
Jan 12, 2021 at 02:49 PM

NameError: name 'GET_SUGGESTED_TERMS' is not defined

74 Views

Hello,

I am using the SAP HANA platform to perform some analytics on data collected from Twitter.

I am facing two problems.

  1. The first one is the use of "TEXT MINING CONFIGURATION MYTMCONFIGURATION.textminingconfig". Is it something we need to create or is it available by default? I was reading this Configuring Text Mining in which they have mentioned the default configuration file. I used both (MYTMCONFIGURATION.textminingconfig, DEFAULT.textminingconfig). However I get an error: 257: sql syntax error: incorrect syntax near "MYTMCONFIGURATION": line 7 col 27 (at pos 170) SQLSTATE: HY000 257: sql syntax error: incorrect syntax near "DEFAULT": line 7 col 27 (at pos 170) SQLSTATE: HY000
  2. The second problem that I am facing, for text mining I am using the function "GET_SUGGESTED TERMS". I get an error "NameError: name 'GET_SUGGESTED TERMS' is not defined. I think this is the error related to my first question. I did search on it but I am not able to figure it out.