Text this: A Massive Image Recognition Algorithm Based on Attribute Modelling and Knowledge Acquisition