Text this: Sensor-Based Human Activity Recognition Using Adaptive Class Hierarchy