Live and learn from mistakes: A lightweight system for document classification