Sentiment analysis refers to the use of text analytics, natural language processing among other techniques to automatically identify the writers attitude towards a given product, service or topic. In this blog post we will use a set of available API’s from Microsoft cognitive services to perform sentiment analysis using python.
Are you trying to implement a machine learning algorithm to classify documents? Need to determine the intent of a sentence to use in a chatbot? You might be asking yourself the same question. How do I convert text into a form that my machine learning algorithm can use? In the following post we will go over a simple to use model to convert sentences into vectors called the Bag of Words model. We will implement this algorithm in python from scratch and then we will use Scikit learns built in functions to vectorize sentences.