{"action":"created","issue":{"url":"https://api.github.com/repos/infolab-csail/whoami/issues/50","labels_url":"https://api.github.com/repos/infolab-csail/whoami/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/infolab-csail/whoami/issues/50/comments","events_url":"https://api.github.com/repos/infolab-csail/whoami/issues/50/events","html_url":"https://github.com/infolab-csail/whoami/pull/50","id":126817610,"number":50,"title":"Merge hyphenated words in postprocess","user":{"login":"moldot","id":763404,"avatar_url":"https://avatars.githubusercontent.com/u/763404?v=3","gravatar_id":"","url":"https://api.github.com/users/moldot","html_url":"https://github.com/moldot","followers_url":"https://api.github.com/users/moldot/followers","following_url":"https://api.github.com/users/moldot/following{/other_user}","gists_url":"https://api.github.com/users/moldot/gists{/gist_id}","starred_url":"https://api.github.com/users/moldot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moldot/subscriptions","organizations_url":"https://api.github.com/users/moldot/orgs","repos_url":"https://api.github.com/users/moldot/repos","events_url":"https://api.github.com/users/moldot/events{/privacy}","received_events_url":"https://api.github.com/users/moldot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/infolab-csail/whoami/labels/code-review","name":"code-review","color":"bfdadc"}],"state":"open","locked":false,"assignee":{"login":"alvaromorales","id":2496170,"avatar_url":"https://avatars.githubusercontent.com/u/2496170?v=3","gravatar_id":"","url":"https://api.github.com/users/alvaromorales","html_url":"https://github.com/alvaromorales","followers_url":"https://api.github.com/users/alvaromorales/followers","following_url":"https://api.github.com/users/alvaromorales/following{/other_user}","gists_url":"https://api.github.com/users/alvaromorales/gists{/gist_id}","starred_url":"https://api.github.com/users/alvaromorales/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alvaromorales/subscriptions","organizations_url":"https://api.github.com/users/alvaromorales/orgs","repos_url":"https://api.github.com/users/alvaromorales/repos","events_url":"https://api.github.com/users/alvaromorales/events{/privacy}","received_events_url":"https://api.github.com/users/alvaromorales/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-01-15T06:49:45Z","updated_at":"2016-01-15T16:04:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/infolab-csail/whoami/pulls/50","html_url":"https://github.com/infolab-csail/whoami/pull/50","diff_url":"https://github.com/infolab-csail/whoami/pull/50.diff","patch_url":"https://github.com/infolab-csail/whoami/pull/50.patch"},"body":"Hyphenated words often should not be split and should be treated as one\r\nunit of meaning. This change introduce the HYPHEN relation in the\r\nHeadModifierTree to indicate that a word is a hyphenated modifier\r\nof another word. For example, 'five-star hotel' --> [def: hotel [mod:\r\nstar [-: five]]]. In postprocess, a function is added to merge\r\nhyphenated words back into one node.\r\n\r\nSome example results:\r\n\r\nClement Blair Peach was a New Zealand-born teacher who died during an anti-racism demonstration in Southall, Middlesex, England:\r\n```\r\n[u'teacher', u'new zealand-born teacher'] (we're not yet able to recognize 'new zealand-born' as a NORP)\r\n```\r\n\r\nPatxaran is a sloe-flavoured liqueur commonly drunk in Navarre and the rest of the Basque Country, the Pyrenees and elsewhere in Spain.\r\n```\r\n[u'liqueur', u'sloe-flavoured liqueur']\r\n```\r\n\r\nDouglas MacArthur was an American five-star general and field marshal of the Philippine Army.\r\n```\r\n[u'general', u'five-star general', u'american general', u'marshal', u'army marshal', u'philippine army marshal']\r\n```\r\n\r\nUnittest has been updated to reflect the change.\r\n\r\nClosed #24 "},"comment":{"url":"https://api.github.com/repos/infolab-csail/whoami/issues/comments/172001221","html_url":"https://github.com/infolab-csail/whoami/pull/50#issuecomment-172001221","issue_url":"https://api.github.com/repos/infolab-csail/whoami/issues/50","id":172001221,"user":{"login":"alvaromorales","id":2496170,"avatar_url":"https://avatars.githubusercontent.com/u/2496170?v=3","gravatar_id":"","url":"https://api.github.com/users/alvaromorales","html_url":"https://github.com/alvaromorales","followers_url":"https://api.github.com/users/alvaromorales/followers","following_url":"https://api.github.com/users/alvaromorales/following{/other_user}","gists_url":"https://api.github.com/users/alvaromorales/gists{/gist_id}","starred_url":"https://api.github.com/users/alvaromorales/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alvaromorales/subscriptions","organizations_url":"https://api.github.com/users/alvaromorales/orgs","repos_url":"https://api.github.com/users/alvaromorales/repos","events_url":"https://api.github.com/users/alvaromorales/events{/privacy}","received_events_url":"https://api.github.com/users/alvaromorales/received_events","type":"User","site_admin":false},"created_at":"2016-01-15T16:04:27Z","updated_at":"2016-01-15T16:04:27Z","body":"lgtm! :rocket: "}}