Training algorithms for linear text classifiers | Synapse