{"action":"created","issue":{"url":"https://api.github.com/repos/MUSTE-Project/MULLE/issues/24","repository_url":"https://api.github.com/repos/MUSTE-Project/MULLE","labels_url":"https://api.github.com/repos/MUSTE-Project/MULLE/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/MUSTE-Project/MULLE/issues/24/comments","events_url":"https://api.github.com/repos/MUSTE-Project/MULLE/issues/24/events","html_url":"https://github.com/MUSTE-Project/MULLE/issues/24","id":356537150,"node_id":"MDU6SXNzdWUzNTY1MzcxNTA=","number":24,"title":"Incorrect, spurious and missing menu items","user":{"login":"heatherleaf","id":1324196,"node_id":"MDQ6VXNlcjEzMjQxOTY=","avatar_url":"https://avatars0.githubusercontent.com/u/1324196?v=4","gravatar_id":"","url":"https://api.github.com/users/heatherleaf","html_url":"https://github.com/heatherleaf","followers_url":"https://api.github.com/users/heatherleaf/followers","following_url":"https://api.github.com/users/heatherleaf/following{/other_user}","gists_url":"https://api.github.com/users/heatherleaf/gists{/gist_id}","starred_url":"https://api.github.com/users/heatherleaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heatherleaf/subscriptions","organizations_url":"https://api.github.com/users/heatherleaf/orgs","repos_url":"https://api.github.com/users/heatherleaf/repos","events_url":"https://api.github.com/users/heatherleaf/events{/privacy}","received_events_url":"https://api.github.com/users/heatherleaf/received_events","type":"User","site_admin":false},"labels":[{"id":943670813,"node_id":"MDU6TGFiZWw5NDM2NzA4MTM=","url":"https://api.github.com/repos/MUSTE-Project/MULLE/labels/bug","name":"bug","color":"d73a4a","default":true}],"state":"open","locked":false,"assignee":{"login":"heatherleaf","id":1324196,"node_id":"MDQ6VXNlcjEzMjQxOTY=","avatar_url":"https://avatars0.githubusercontent.com/u/1324196?v=4","gravatar_id":"","url":"https://api.github.com/users/heatherleaf","html_url":"https://github.com/heatherleaf","followers_url":"https://api.github.com/users/heatherleaf/followers","following_url":"https://api.github.com/users/heatherleaf/following{/other_user}","gists_url":"https://api.github.com/users/heatherleaf/gists{/gist_id}","starred_url":"https://api.github.com/users/heatherleaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heatherleaf/subscriptions","organizations_url":"https://api.github.com/users/heatherleaf/orgs","repos_url":"https://api.github.com/users/heatherleaf/repos","events_url":"https://api.github.com/users/heatherleaf/events{/privacy}","received_events_url":"https://api.github.com/users/heatherleaf/received_events","type":"User","site_admin":false},"assignees":[{"login":"heatherleaf","id":1324196,"node_id":"MDQ6VXNlcjEzMjQxOTY=","avatar_url":"https://avatars0.githubusercontent.com/u/1324196?v=4","gravatar_id":"","url":"https://api.github.com/users/heatherleaf","html_url":"https://github.com/heatherleaf","followers_url":"https://api.github.com/users/heatherleaf/followers","following_url":"https://api.github.com/users/heatherleaf/following{/other_user}","gists_url":"https://api.github.com/users/heatherleaf/gists{/gist_id}","starred_url":"https://api.github.com/users/heatherleaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heatherleaf/subscriptions","organizations_url":"https://api.github.com/users/heatherleaf/orgs","repos_url":"https://api.github.com/users/heatherleaf/repos","events_url":"https://api.github.com/users/heatherleaf/events{/privacy}","received_events_url":"https://api.github.com/users/heatherleaf/received_events","type":"User","site_admin":false},{"login":"fredefox","id":4547733,"node_id":"MDQ6VXNlcjQ1NDc3MzM=","avatar_url":"https://avatars0.githubusercontent.com/u/4547733?v=4","gravatar_id":"","url":"https://api.github.com/users/fredefox","html_url":"https://github.com/fredefox","followers_url":"https://api.github.com/users/fredefox/followers","following_url":"https://api.github.com/users/fredefox/following{/other_user}","gists_url":"https://api.github.com/users/fredefox/gists{/gist_id}","starred_url":"https://api.github.com/users/fredefox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fredefox/subscriptions","organizations_url":"https://api.github.com/users/fredefox/orgs","repos_url":"https://api.github.com/users/fredefox/repos","events_url":"https://api.github.com/users/fredefox/events{/privacy}","received_events_url":"https://api.github.com/users/fredefox/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-09-03T14:59:48Z","updated_at":"2018-09-03T15:01:25Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"There are some remaining problems with the creation of menus. Probably they have different causes, but here I write down several examples where it goes wrong.\r\n\r\n### Examples for \"flickan slår på en dator\"\r\n\r\nThe following menu should be for selection `{0-1}`:\r\n```\r\n{}: flickan slår på en dator\r\nflickan slår på en dator\r\nflickor slår på en dator\r\nflickorna slår på en dator\r\n```\r\nThe problem is that all sentences have the same nodes. It's a difficult problem, I have to think about it. Worth an issue of its own\r\n- also note that the original sentence shows up here -- it shouldn't\r\n\r\n----\r\nThe following is correct:\r\n```\r\n{1-1}: flickan [ ] slår på en dator\r\n...\r\n```\r\n- but it should also contain the items `flickan [i huset] slår...`, and `flickan [och pojken] slår...` (etc)\r\n- and the {0-0} insertion menu should contain: `[] flickan...` --> `[pojken och] flickan...`\r\n\r\n----\r\nNone of the following menu items should be suggested:\r\n```\r\n{1-2}: flickan [ slår ] på en dator\r\nflickan [ läser Johan ] på en dator\r\nflickan [ läser Paris ] på en dator\r\nflickan [ läser blå ] på en dator\r\nflickan [ läser dem ] på en dator\r\nflickan [ läser det ] på en dator\r\n(...)\r\nflickan [ stänger Johan ] på en dator\r\nflickan [ stänger Paris ] på en dator\r\nflickan [ stänger blå ] på en dator\r\n(...)\r\nflickan [ älskar Johan ] på en dator\r\nflickan [ är Johan ] på en dator\r\nflickan [ slår dem sönder ] på en dator\r\n(...)\r\n```\r\n- they should be removed because you can get there in two shorter steps: \r\n    1. `flickan [slår] på...` --> `flickan [läser] på...`\r\n    2. `flickan läser [] på...` --> `flickan läser [Johan] på...`\r\n\r\n-----\r\nNone of the following menu items should be suggested:\r\n```\r\n{1-5}: flickan [ slår på en dator ]\r\nflickan [ läser ]\r\nflickan [ slår ]\r\nflickan [ stänger ]\r\nflickan [ älskar ]\r\nflickan [ är ]\r\nflickan [ slår sönder ]\r\nflickan [ läser blå ]\r\nflickan [ läser dålig ]\r\nflickan [ läser god ]\r\n(...)\r\nflickan [ slår blå ]\r\nflickan [ stänger blå ]\r\nflickan [ älskar blå ]\r\nflickan [ är blå ]\r\nflickan [ slår sönder blå ]\r\n(...)\r\n```\r\n- `flickan [slår]` and `flickan [slår blå]` should be menu items, but for the selection {2-5}: \r\n    - `flickan slår [på en dator]` --> `flickan slår []`\r\n    - `flickan slår [på en dator]` --> `flickan slår [blå]`\r\n- the rest should not be suggested at all, because you can get there in two shorter steps: \r\n    1. `flickan [slår] på...` --> `flickan [läser] på...`\r\n    2. `flickan läser [på en dator]` --> `flickan läser [blå]`\r\n\r\n---\r\nThese menu items are correct, but too few:\r\n```\r\n{2-2}: flickan slår [ ] på en dator\r\nflickan slår [ idag ] på en dator\r\nflickan slår [ nu ] på en dator\r\nflickan slår [ redan ] på en dator\r\n```\r\n- there should also be `...slår [Paris] på...`, and `...slår [dem] på...`, and `...slår [boken] på...`\r\n\r\n---\r\nThis looks a bit strange, but I guess it's ok. The reason is that the grammar says that the particle verb \"slår på\" should have an object pronoun (\"henne\") inbetween, but other object noun phrases (\"en dator\") after. I would say that the grammar is a bit strange here.\r\n```\r\n{2-2,3-5}: flickan slår [ ] på [ en dator ]\r\nflickan slår [ dem ] på [ ]\r\nflickan slår [ det ] på [ ]\r\nflickan slår [ henne ] på [ ]\r\nflickan slår [ honom ] på [ ]\r\n```\r\n\r\n----\r\nOk, but too few suggestions:\r\n```\r\n{2-5}: flickan slår [ på en dator ]\r\nflickan slår [ ]\r\nflickan slår [ idag ]\r\nflickan slår [ nu ]\r\nflickan slår [ redan ]\r\n```\r\n- should include `...slår [henne]`, etc\r\n- also `...slår [en dator]`, but this should rather be for another selection: \r\n    - {2-3}: `flickan slår [på] en dator` --> `flickan slår [] en dator`\r\n    - and the other direction, {2-2}: `flickan slår [] en dator` --> `flickan slår [på] en dator`\r\n\r\n----\r\nAlso ok:\r\n```\r\n{3-4}: flickan slår på [ en ] dator\r\nflickan slår på [ ] datorer\r\nflickan slår på [ ] datorerna\r\nflickan slår på [ ] datorn\r\nflickan slår på [ många ] datorer\r\n```\r\n- perhaps the deletions should be `...på [en dator]` --> `...på [datorer]`, but I'm not at all sure.\r\n\r\n---\r\nAlso ok, but too few items:\r\n```\r\n{5-5}: flickan slår på en dator [ ]\r\nflickan slår på en dator [ Johan ]\r\nflickan slår på en dator [ Paris ]\r\nflickan slår på en dator [ idag ]\r\nflickan slår på en dator [ nu ]\r\nflickan slår på en dator [ redan ]\r\n```\r\n- it should also contain the items `...en dator [i huset]`, and `en dator [och pojken]` (etc)\r\n- and the {3-3} insertion menu should contain: `...slår på [] en dator` --> `...slår på [pojken och] en dator`\r\n"},"comment":{"url":"https://api.github.com/repos/MUSTE-Project/MULLE/issues/comments/418139541","html_url":"https://github.com/MUSTE-Project/MULLE/issues/24#issuecomment-418139541","issue_url":"https://api.github.com/repos/MUSTE-Project/MULLE/issues/24","id":418139541,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODEzOTU0MQ==","user":{"login":"heatherleaf","id":1324196,"node_id":"MDQ6VXNlcjEzMjQxOTY=","avatar_url":"https://avatars0.githubusercontent.com/u/1324196?v=4","gravatar_id":"","url":"https://api.github.com/users/heatherleaf","html_url":"https://github.com/heatherleaf","followers_url":"https://api.github.com/users/heatherleaf/followers","following_url":"https://api.github.com/users/heatherleaf/following{/other_user}","gists_url":"https://api.github.com/users/heatherleaf/gists{/gist_id}","starred_url":"https://api.github.com/users/heatherleaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heatherleaf/subscriptions","organizations_url":"https://api.github.com/users/heatherleaf/orgs","repos_url":"https://api.github.com/users/heatherleaf/repos","events_url":"https://api.github.com/users/heatherleaf/events{/privacy}","received_events_url":"https://api.github.com/users/heatherleaf/received_events","type":"User","site_admin":false},"created_at":"2018-09-03T15:01:25Z","updated_at":"2018-09-03T15:01:25Z","author_association":"CONTRIBUTOR","body":"Some of the examples are probably because there is some problems with the algorithms themselves, and some are because of a bug in the implementation. So, it falls on both @heatherleaf and @fredefox "}}
{"actor":{"display_login":"heatherleaf"}}