classify function

Extract classifications from a variety of methods.