hierarchical-attention-networks
                                
                                
                                
                                    hierarchical-attention-networks copied to clipboard
                            
                            
                            
                        Error While Running yelp_prepare.py
Hellow,While Running yelp_prepare.py, I got error log as follow. The code has been ran with Yelp dataset round10 and tensorflow 1.1.0 and Python 3.5.2 in Linux.
0it [00:00, ?it/s]
Traceback (most recent call last):
File "yelp_prepare.py", line 98, in 
This is an issue of the 'spacy' module. If you downgrade to an older version of spacy (pip install -U spacy==1.9.0) you shouldn't get this error.
change spacy pipeline as
en.pipeline = [('tagger', en.tagger), ('parser', en.parser)]
Your solution works well for me. Thank you for solving it. (@darwinlc )
changing
en.pipeline = [en.tagger, en.parser]
to
en.pipeline = [('tagger', en.tagger), ('parser', en.parser)]
Environment:
- spacy(2.0.9),
 - Python3.6.4