Towards sentiment analysis for historical texts