{"action":"reopened","issue":{"url":"https://api.github.com/repos/dmcc/PyStanfordDependencies/issues/14","labels_url":"https://api.github.com/repos/dmcc/PyStanfordDependencies/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/dmcc/PyStanfordDependencies/issues/14/comments","events_url":"https://api.github.com/repos/dmcc/PyStanfordDependencies/issues/14/events","html_url":"https://github.com/dmcc/PyStanfordDependencies/issues/14","id":106575442,"number":14,"title":"Sentence.from_stanford_dependencies() fails on collapsed (enhanced) dependency strings","user":{"login":"ccsasuke","id":1481766,"avatar_url":"https://avatars.githubusercontent.com/u/1481766?v=3","gravatar_id":"","url":"https://api.github.com/users/ccsasuke","html_url":"https://github.com/ccsasuke","followers_url":"https://api.github.com/users/ccsasuke/followers","following_url":"https://api.github.com/users/ccsasuke/following{/other_user}","gists_url":"https://api.github.com/users/ccsasuke/gists{/gist_id}","starred_url":"https://api.github.com/users/ccsasuke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ccsasuke/subscriptions","organizations_url":"https://api.github.com/users/ccsasuke/orgs","repos_url":"https://api.github.com/users/ccsasuke/repos","events_url":"https://api.github.com/users/ccsasuke/events{/privacy}","received_events_url":"https://api.github.com/users/ccsasuke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-09-15T15:01:11Z","updated_at":"2015-10-17T16:04:45Z","closed_at":null,"body":"Below is an example where the function fails at assertion: assert len(matches) == 1 (CoNLL.py, line 209)\r\n\r\nUniversal dependencies, enhanced\r\nnsubj(reach-3, Visitors-1)\r\nnsubj(reach-3', Visitors-1)\r\naux(reach-3, can-2)\r\nroot(ROOT-0, reach-3)\r\nconj:and(reach-3, reach-3')\r\ndobj(reach-3, it-4)\r\nadvmod(reach-3, only-5)\r\ncase(escort-9, under-6)\r\namod(escort-9, strict-7)\r\namod(escort-9, military-8)\r\nnmod:under(reach-3, escort-9)\r\ncc(reach-3, and-10)\r\ncase(permission-13, with-11)\r\namod(permission-13, prior-12)\r\nnmod:with(reach-3', permission-13)\r\ncase(Pentagon-16, from-14)\r\ndet(Pentagon-16, the-15)\r\nnmod:from(permission-13, Pentagon-16)\r\ncase(flights-22, aboard-18)\r\namod(flights-22, special-19)\r\namod(flights-22, small-20)\r\ncompound(flights-22, shuttle-21)\r\nnmod:aboard(reach-3, flights-22)\r\nnsubj(reach-24, flights-22)\r\nref(flights-22, that-23)\r\nacl:relcl(flights-22, reach-24)\r\ndet(base-26, the-25)\r\ndobj(reach-24, base-26)\r\ncase(flight-30, by-27)\r\ndet(flight-30, a-28)\r\namod(flight-30, circuitous-29)\r\nnmod:by(reach-24, flight-30)\r\ncase(States-34, from-31)\r\ndet(States-34, the-32)\r\ncompound(States-34, United-33)\r\nnmod:from(flight-30, States-34)\r\n\r\nMy guess is that relations such as nsubj(reach-3', Visitors-1) are not catched by the regex.\r\nAm I missing anything? Thanks!"}}