{"action":"closed","issue":{"url":"https://api.github.com/repos/kaldi-asr/kaldi/issues/1917","repository_url":"https://api.github.com/repos/kaldi-asr/kaldi","labels_url":"https://api.github.com/repos/kaldi-asr/kaldi/issues/1917/labels{/name}","comments_url":"https://api.github.com/repos/kaldi-asr/kaldi/issues/1917/comments","events_url":"https://api.github.com/repos/kaldi-asr/kaldi/issues/1917/events","html_url":"https://github.com/kaldi-asr/kaldi/issues/1917","id":261185470,"number":1917,"title":"Is the scp splitting algorithm correct?","user":{"login":"pranavj","id":3882548,"avatar_url":"https://avatars3.githubusercontent.com/u/3882548?v=4","gravatar_id":"","url":"https://api.github.com/users/pranavj","html_url":"https://github.com/pranavj","followers_url":"https://api.github.com/users/pranavj/followers","following_url":"https://api.github.com/users/pranavj/following{/other_user}","gists_url":"https://api.github.com/users/pranavj/gists{/gist_id}","starred_url":"https://api.github.com/users/pranavj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pranavj/subscriptions","organizations_url":"https://api.github.com/users/pranavj/orgs","repos_url":"https://api.github.com/users/pranavj/repos","events_url":"https://api.github.com/users/pranavj/events{/privacy}","received_events_url":"https://api.github.com/users/pranavj/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-09-28T03:51:08Z","updated_at":"2017-09-28T03:56:30Z","closed_at":"2017-09-28T03:56:30Z","author_association":"NONE","body":"I'm referring to \r\n\r\n[utils/split_scp.pl](https://github.com/kaldi-asr/kaldi/blob/master/egs/wsj/s5/utils/split_scp.pl) with utt2spk option\r\n\r\nConsider following example.  \r\n#spkrs = 5\r\n#scps = 3\r\n#utts per speaker as below\r\nspk0 3\r\nspk1 3 \r\nspk2 1 \r\nspk3 1\r\nspk4 6\r\n\r\nThen split_scp.pl gives output as\r\nscp0 -> spk0 (total 3 utts)\r\nscp1 -> spk1 + spk2 + spk3 (total 5 utts)\r\nscp2 -> spk4 (total 6 utts)\r\n\r\nWhereas optimal solution for roughly equal #utts per scp file should be \r\n\r\nscp0 -> spk0 + spk2 (total 4 utts)\r\nscp1 -> spk1 + spk3 (total 4 utts)\r\nscp2 -> spk4 (total 6 utts)\r\n\r\n**If the algorithm is indeed not optimal, and if it is important to fix it, let me know.**"}}
{"actor":{"display_login":"danpovey"}}