dasmith / stanford-corenlp-python

Python wrapper for Stanford CoreNLP tools v3.4.1
GNU General Public License v2.0
610 stars 229 forks source link

Could you please help me that explain what the result of coreference resolution means? #61

Open motefly opened 6 years ago

motefly commented 6 years ago

I tried the tools and get the result like: Barack Obama was born in Hawaii. He is the president. Obama was elected in 2008. "coref": [[[["He", 1, 0, 0, 1], ["Barack Obama", 0, 1, 0, 2]], [["the president", 1, 3, 2, 4], ["Barack Obama", 0, 1, 0, 2]], [["Obama", 2, 0, 0, 1], ["Barack Obama", 0, 1, 0, 2]]]] So could you please help that what it means? Especially what the indices in the list mean? Thank you very much!