idf and tagging