Learning to Rank for Information Retrieval and Natural Language Processing: Second Edition