i have one text file on which i need to apply it.
Follow below thread
QlikSense Sentiment Analysis
View solution in original post
It is possible with Advanced Analytics Integration
Some examples to look here Text Analytics & Sentiment Analysis Connector For QlikView & Qlik Sense
You could also run your sentiment analysis on your data using Python as SSE (eg. using the textblob libary to analyze your strings).