An HMM-Based Framework for Supporting Accurate Classification of Music Datasets