Skip to content

Instantly share code, notes, and snippets.

@mariastefan
Created July 2, 2020 10:09
Show Gist options
  • Save mariastefan/a579736dddd1214b3fc609b7df06d790 to your computer and use it in GitHub Desktop.
Save mariastefan/a579736dddd1214b3fc609b7df06d790 to your computer and use it in GitHub Desktop.
/home/maria/Documents/venvs/stage_m1/bin/python3.6 /home/maria/Documents/resolution-des-coreferences-pronominales/resolution_coreferences_pronominales/tests/test-informations_pronoms.py
Le chien est tombé dans le puits. Il est maladroit celui-là.
[['Il', ['chien', 'puits'], {'ROOT': 'celui', 'sens': 'sortante'}]]
Le chien est tombé dans le puits. Il est maladroit celui-là.
Traceback (most recent call last):
File "/home/maria/Documents/resolution-des-coreferences-pronominales/resolution_coreferences_pronominales/tests/test-informations_pronoms.py", line 24, in <module>
print(analyses_texte.coreferences_phrase(phrase, True))
File "/home/maria/Documents/resolution-des-coreferences-pronominales/resolution_coreferences_pronominales/coreferences/analyses_texte.py", line 138, in coreferences_phrase
if 'xcomp' in infos_pour_un_pronom[2].keys():
IndexError: list index out of range
Process finished with exit code 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment