Rewrite analyseSentiment method to be more SOLID
Rewrite analyseSentiment method to be more SOLID