A sequential algorithm for training text classifiers | Synapse