The pairs is recurrently defined. It includes token_counts. It is a persistent error. It is hard to correct. I think that only Douwe can correct it.
Generating data...
NameError Traceback (most recent call last)
in
3 seen = set()
4 print('Generating data...')
----> 5 for a in pairs.keys():
6 if '_' in a or '-' in a:
7 continue
NameError: name 'pairs' is not defined
In line for a in pairs.keys():
You mean to use the pairs object from recipe 8.1?