sync dfs with token ids in Dictionary.from_corpus