Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when parsing with HEAD #1

Open
Sanqiang opened this issue Dec 16, 2017 · 1 comment
Open

error when parsing with HEAD #1

Sanqiang opened this issue Dec 16, 2017 · 1 comment

Comments

@Sanqiang
Copy link

Sanqiang commented Dec 16, 2017

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.

@sibredcat
Copy link

Hi Sanqiang!
Were you able to solve this issue? I got the same error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants