You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last): File "/Users/zhaosanqiang916/git/Generate-Parallel-Data-for-Sentence-Compression-master/python/test.py", line 74, in <module> reduce_sentence(sample) File "/Users/zhaosanqiang916/git/Generate-Parallel-Data-for-Sentence-Compression-master/python/test.py", line 24, in reduce_sentence sentence_reduction.transfer_tree() File "/Users/zhaosanqiang916/git/Generate-Parallel-Data-for-Sentence-Compression-master/python/parallel_data_gen.py", line 417, in transfer_tree self.transfered_tree.consistency() File "/Users/zhaosanqiang916/git/Generate-Parallel-Data-for-Sentence-Compression-master/python/parallel_data_gen.py", line 217, in consistency assert len(self.all_roots()) == 1 AssertionError
Is there something wrong with this line of code?
I am using spacy 1.1.0 & latest one and python 2.7.
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last): File "/Users/zhaosanqiang916/git/Generate-Parallel-Data-for-Sentence-Compression-master/python/test.py", line 74, in <module> reduce_sentence(sample) File "/Users/zhaosanqiang916/git/Generate-Parallel-Data-for-Sentence-Compression-master/python/test.py", line 24, in reduce_sentence sentence_reduction.transfer_tree() File "/Users/zhaosanqiang916/git/Generate-Parallel-Data-for-Sentence-Compression-master/python/parallel_data_gen.py", line 417, in transfer_tree self.transfered_tree.consistency() File "/Users/zhaosanqiang916/git/Generate-Parallel-Data-for-Sentence-Compression-master/python/parallel_data_gen.py", line 217, in consistency assert len(self.all_roots()) == 1 AssertionError
Is there something wrong with this line of code?
I am using spacy 1.1.0 & latest one and python 2.7.
The text was updated successfully, but these errors were encountered: