{"action":"opened","issue":{"url":"https://api.github.com/repos/andreasvc/disco-dop/issues/62","repository_url":"https://api.github.com/repos/andreasvc/disco-dop","labels_url":"https://api.github.com/repos/andreasvc/disco-dop/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/andreasvc/disco-dop/issues/62/comments","events_url":"https://api.github.com/repos/andreasvc/disco-dop/issues/62/events","html_url":"https://github.com/andreasvc/disco-dop/issues/62","id":383745172,"node_id":"MDU6SXNzdWUzODM3NDUxNzI=","number":62,"title":"inside weights","user":{"login":"kilian-gebhardt","id":9279891,"node_id":"MDQ6VXNlcjkyNzk4OTE=","avatar_url":"https://avatars2.githubusercontent.com/u/9279891?v=4","gravatar_id":"","url":"https://api.github.com/users/kilian-gebhardt","html_url":"https://github.com/kilian-gebhardt","followers_url":"https://api.github.com/users/kilian-gebhardt/followers","following_url":"https://api.github.com/users/kilian-gebhardt/following{/other_user}","gists_url":"https://api.github.com/users/kilian-gebhardt/gists{/gist_id}","starred_url":"https://api.github.com/users/kilian-gebhardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kilian-gebhardt/subscriptions","organizations_url":"https://api.github.com/users/kilian-gebhardt/orgs","repos_url":"https://api.github.com/users/kilian-gebhardt/repos","events_url":"https://api.github.com/users/kilian-gebhardt/events{/privacy}","received_events_url":"https://api.github.com/users/kilian-gebhardt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-23T09:04:56Z","updated_at":"2018-11-23T09:04:56Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"I experience an error when using the inside/outside weight functions on charts (e.g., when used to compute a whitelist for the next stage):\r\n ```\r\nFile \"discodop/coarsetofine.pyx\", line 116, in discodop.coarsetofine.prunechart\r\n  File \"discodop/coarsetofine.pyx\", line 191, in discodop.coarsetofine.posteriorthreshold\r\n  File \"discodop/coarsetofine.pyx\", line 234, in discodop.coarsetofine.getinside\r\n  File \"discodop/containers.pyx\", line 143, in discodop.containers.Chart.lexprob\r\n  File \"discodop/containers.pyx\", line 139, in discodop.containers.Chart.lexruleno\r\nValueError: no lexical rule found for 800, b'Ross'\r\n```\r\n\r\nI guess that this is error due to the smoothing/fallback methods that are applied when assigning POS tags. Can the inside/outside method be made applicable also in these cases? \r\n\r\nPerhaps the smoothing/fallback computations could be reenacted – but this would be very messy as the coarsetofine container module is currently agnostic of it.\r\n\r\nMaybe one can approximate the inside score by the Viterbi score that is already stored in the chart?"}}
{"actor":{"display_login":"kilian-gebhardt"}}