i have one text file on which i need to apply it.
It is possible with Server Side Extensions (SSE)
Follow below thread
QlikSense Sentiment Analysis
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).
Retrieving data ...