Learning to Rank from Structures in Hierarchical Text Classification