{"action":"created","issue":{"url":"https://api.github.com/repos/sequitur-g2p/sequitur-g2p/issues/19","repository_url":"https://api.github.com/repos/sequitur-g2p/sequitur-g2p","labels_url":"https://api.github.com/repos/sequitur-g2p/sequitur-g2p/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/sequitur-g2p/sequitur-g2p/issues/19/comments","events_url":"https://api.github.com/repos/sequitur-g2p/sequitur-g2p/issues/19/events","html_url":"https://github.com/sequitur-g2p/sequitur-g2p/issues/19","id":332415643,"node_id":"MDU6SXNzdWUzMzI0MTU2NDM=","number":19,"title":"Thouble with training script (in github.com/freerussianasr/recipes)","user":{"login":"hpkit","id":40028852,"node_id":"MDQ6VXNlcjQwMDI4ODUy","avatar_url":"https://avatars0.githubusercontent.com/u/40028852?v=4","gravatar_id":"","url":"https://api.github.com/users/hpkit","html_url":"https://github.com/hpkit","followers_url":"https://api.github.com/users/hpkit/followers","following_url":"https://api.github.com/users/hpkit/following{/other_user}","gists_url":"https://api.github.com/users/hpkit/gists{/gist_id}","starred_url":"https://api.github.com/users/hpkit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hpkit/subscriptions","organizations_url":"https://api.github.com/users/hpkit/orgs","repos_url":"https://api.github.com/users/hpkit/repos","events_url":"https://api.github.com/users/hpkit/events{/privacy}","received_events_url":"https://api.github.com/users/hpkit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-06-14T13:58:52Z","updated_at":"2018-06-15T12:29:31Z","closed_at":null,"author_association":"NONE","body":"i try voxforge_ru recipe from https://github.com/freerussianasr/recipes\r\n\r\nAdd --encoding utf-8 from issue https://github.com/freerussianasr/recipes/issues/8 not work.\r\n\r\n--- Preparing pronunciations for OOV words ...\r\nTraceback (most recent call last):\r\nFile \"/home/kaldi/kaldi/tools/sequitur-g2p/bin/g2p.py\", line 4, in\r\nimport('pkg_resources').run_script('sequitur==1.0a1', 'g2p.py')\r\nFile \"/usr/lib/python2.7/dist-packages/pkg_resources/init.py\", line 719, in run_script\r\nself.require(requires)[0].run_script(script_name, ns)\r\nFile \"/usr/lib/python2.7/dist-packages/pkg_resources/init.py\", line 1504, in run_script\r\nexec(code, namespace, namespace)\r\nFile \"/home/kaldi/kaldi/tools/sequitur-g2p/lib/python2.7/site-packages/sequitur-1.0a1-py2.7-linux-x86_64.egg/EGG-INFO/scripts/g2p.py\", line 268, in\r\ntool.run(main, options, args)\r\nFile \"/home/kaldi/kaldi/tools/sequitur-g2p/lib/python2.7/site-packages/sequitur-1.0a1-py2.7-linux-x86_64.egg/tool.py\", line 63, in run\r\nstatus = runMain(main, options, args)\r\nFile \"/home/kaldi/kaldi/tools/sequitur-g2p/lib/python2.7/site-packages/sequitur-1.0a1-py2.7-linux-x86_64.egg/tool.py\", line 99, in runMain\r\nstatus = main(options, args)\r\nFile \"/home/kaldi/kaldi/tools/sequitur-g2p/lib/python2.7/site-packages/sequitur-1.0a1-py2.7-linux-x86_64.egg/EGG-INFO/scripts/g2p.py\", line 214, in main\r\nmainApply(translator, options)\r\nFile \"/home/kaldi/kaldi/tools/sequitur-g2p/lib/python2.7/site-packages/sequitur-1.0a1-py2.7-linux-x86_64.egg/EGG-INFO/scripts/g2p.py\", line 164, in mainApply\r\nfor word, left in words:\r\nFile \"/home/kaldi/kaldi/tools/sequitur-g2p/lib/python2.7/site-packages/sequitur-1.0a1-py2.7-linux-x86_64.egg/EGG-INFO/scripts/g2p.py\", line 100, in readApply\r\nfor line in gOpenIn(fname, defaultEncoding):\r\nFile \"/usr/lib/python2.7/codecs.py\", line 630, in next\r\nline = self.readline()\r\nFile \"/usr/lib/python2.7/codecs.py\", line 545, in readline\r\ndata = self.read(readsize, firstline=True)\r\nFile \"/usr/lib/python2.7/codecs.py\", line 488, in read\r\nnewdata = self.stream.read(size)\r\nFile \"/usr/lib/python2.7/encodings/ascii.py\", line 26, in decode\r\nreturn codecs.ascii_decode(input, self.errors)[0]\r\nUnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 12: ordinal not in range(128)\r\n\r\nFile is utf-8 encoding and contains russian cyrillic symbols. I try use --encoding parameter, but it did not change the situation.\r\n[vocab-oov.txt](https://github.com/sequitur-g2p/sequitur-g2p/files/2102618/vocab-oov.txt)\r\n"},"comment":{"url":"https://api.github.com/repos/sequitur-g2p/sequitur-g2p/issues/comments/397605636","html_url":"https://github.com/sequitur-g2p/sequitur-g2p/issues/19#issuecomment-397605636","issue_url":"https://api.github.com/repos/sequitur-g2p/sequitur-g2p/issues/19","id":397605636,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NzYwNTYzNg==","user":{"login":"hpkit","id":40028852,"node_id":"MDQ6VXNlcjQwMDI4ODUy","avatar_url":"https://avatars0.githubusercontent.com/u/40028852?v=4","gravatar_id":"","url":"https://api.github.com/users/hpkit","html_url":"https://github.com/hpkit","followers_url":"https://api.github.com/users/hpkit/followers","following_url":"https://api.github.com/users/hpkit/following{/other_user}","gists_url":"https://api.github.com/users/hpkit/gists{/gist_id}","starred_url":"https://api.github.com/users/hpkit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hpkit/subscriptions","organizations_url":"https://api.github.com/users/hpkit/orgs","repos_url":"https://api.github.com/users/hpkit/repos","events_url":"https://api.github.com/users/hpkit/events{/privacy}","received_events_url":"https://api.github.com/users/hpkit/received_events","type":"User","site_admin":false},"created_at":"2018-06-15T12:29:31Z","updated_at":"2018-06-15T12:29:31Z","author_association":"NONE","body":"command is:\r\ng2p.py --model=conf/g2p_model --apply vocab-oov.txt > lexicon-oov.txt \r\n\r\n\"g2p_model\" i downloaded manually from sf.net \r\nI think the problem is in the wrong file.\r\n[vocab-oov.txt](https://github.com/sequitur-g2p/sequitur-g2p/files/2106018/vocab-oov.txt)\r\n"}}
{"actor":{"display_login":"hpkit"}}