Split the text getting and sentiment functions in to 2