-
Notifications
You must be signed in to change notification settings - Fork 5
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
Segmentation fault (core dumped) when running nlp_data.py #12
Comments
Hi Xiulin, This might be a compatibility issue with neuralcoref and spacy (See huggingface/neuralcoref#164). Can you please list which versions you're using of python, spacy, neuralcoref, and stanza? |
Hi Dr. Blodgett, Thank you for your prompt reply!
|
Hi Dr. Blodgett, Just a quick update: I upgraded spacy to 3.5.3 but the problem remains. |
You should be using spacy 2.3.5. |
Can you please try the following? (instructions from huggingface/neuralcoref#222 (comment))
|
Hi, thanks for the information. It works!
I also got some log information by using the aligner.
|
Hi sorry, I have some follow-up questions. I noticed that in the annotation guideline, reentrancies are classified into different types. I was wondering, which group should we classify the reentrancies caused by relative clauses into? Will the reentrancy relation be aligned with the relative pronoun, the token that is relativized on, or some specific token in the relative clause? Many thanks in advance for your clarification. |
No worries! Feel free to contact me again if you have more questions. To your first question, the script displays the "preprocessing coverage", which is the coverage of alignments that could be made just using rule-based preprocessing. If you look over the data, you should see that after the LEAMR probabilistic aligner has run, you should have 100% coverage. Let me know if that is not the case. To your second question, relative clauses fall under either Adjunct Control (and should be aligned to a relative pronoun or "that") or Unmarked Adjunct Control (and are aligned to the predicate inside the relative clause). |
Hi I was trying to run leamr but the segment fault kept happening no matter if I ran it on my local machine or a server. Could you please help me on this issue? I put the error log below. Thank you!
The text was updated successfully, but these errors were encountered: