cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Hana Text Analytics python interface

Former Member
516

Tutorials: https://developers.sap.com/tutorials/hana-clients-python.html
--------------------------

Write here what you need help with ...

I want to know if it's possible to do sentiment analysis or entity detection or any other capabilities of Hana Text Analytics through the python interface ?

Accepted Solutions (0)

Answers (2)

Answers (2)

dvankempen
Product and Topic Expert
Product and Topic Expert

Hi Nazanin,

Certainly, although using SAP Data Intelligence might be a more suitable solution, cf.

Former Member

Hi Denys,

Thanks for your response. I went through the link that you sent me, If I'm not wrong it is more related to training a model from the scratch. I don't have any labeled dataset and I'm looking for a pre-trained model. I'm so new in SPA and I was wondering if there is any programmable API for Hana Text Analytics that I can use to extract sentiments and entities of a bunch of texts that I have. I talked with some of the SPA customer operation team, one of them suggested me this link: https://developers.sap.com/tutorials/hana-clients-python.html (connect using the SAP HANA Python Interface). I wanted to use the python interface as suggested in the link to extract sentiments and entities of my texts but I was not sure that if it's possible because I couldn't find any related code for that.

Do you have any information or advice for me?

Thank you 🙂

dvankempen
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Nazanin,

The technology behind Text Analysis used in the SAP HANA platform (on-premises) goes back to BusinessObjects, InXight, and Xerox.

Most functionality is no longer included in SAP HANA Cloud

Hence my reference to Data Intelligence for sentiment analysis for a more recent implementation.

The SAP HANA client supports all common languages, ODBC/JDBC, .NET, Go, Python, etc. but these libraries provide database client functionality (connection management, cursor handling, failover, etc.).

In other words, you could use a platform database feature (Text Analysis) for sentiment analysis and entity extraction, and access this in a client application using Python database client libraries, but there is no SAP HANA Text Analysis API as such. For SAP HANA Cloud, there is limited support in this domain.

Answers your question?

Vitaliy-R
Developer Advocate
Developer Advocate
0 Likes

Recently sapalex published

Text mining at SAP HANA Cloud with Python

: https://blogs.sap.com/2021/04/26/__trashed-45/

Please check if that’s what you were looking for.

Or are you looking for on-prem HANA 2.0?