Supervised mid-level features for word image representation | Synapse