72a0a2a8-1579-4f88-b679-f90b908c9dec
prompter
self.idx_to_token = list(sorted(set(['<unk>'] + reserved_tokens + [
            token for token, freq in self.token_freqs if freq >= min_freq])))
I want you to rewrite this code without using comprehension
9da0346a-f557-4ef7-baa2-424df8f90861
72a0a2a8-1579-4f88-b679-f90b908c9dec
assistant
Here's the rewritten code without using a list comprehension:

`self.idx_to_token = sorted(set(['<unk>'] + reserved_tokens)) for token, freq in self.token_freqs: if freq >= min_freq: self.idx_to_token.append(token)`
ed9a987e-b721-4faa-a087-4cadaee55b70
9da0346a-f557-4ef7-baa2-424df8f90861
prompter
```
high_frequency_tokens = []
for token, freq in self.token_freqs:
    if freq >= min_freq:
        high_frequency_tokens.append(token)
self.idx_to_token = list(sorted(set(['<unk>'] + reserved_tokens + high_frequency_tokens)))
```