Cross-domain & In-domain Sentiment Analysis with Memory-based Deep Neural Networks