Text this: Functional group classification using consensus clustering