simplify dataset creatin in extract_topics