Quantcast
Channel: Developer topics
Viewing all articles
Browse latest Browse all 17899

Help with Nested If Statement and searching for a word within a line of text

$
0
0

Hi All.

 

I am trying to do the sentiment analysis for the following statements but trying to categorize them first by keywords and then do the analysis. Please find below the sample.

 

Comment Employee ID 
My manager has good knowledge on statistics 101
The  infrastructure of my company is sufficient for all purposes312
Managers in my business unit have a lot of work132
The R&D business unit of my Company is pretty good101
My manager gives me a lot of work345
My Company has good infrastructure for research456
Managers in my business unit follow processes strictly 836
My Company has excellent infrastructure for development 98
The R&D business unit of My Company has a lot of opportunity to develop new patents906
All Managers at My Company are well trained567

 

So I want to categorize by keywords "manager", "R&D", "Infrastructure" and then do the sentiment analysis . I am trying to use the nested if statement for the same... So I need to search for these words for each line and then do the sentiment analysis. Can some one please help me with the same...


Viewing all articles
Browse latest Browse all 17899

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>