batch the classifier lookup function