Mastering keyphrase extraction for text analysis