{"action":"created","issue":{"url":"https://api.github.com/repos/proycon/LaMachine/issues/37","repository_url":"https://api.github.com/repos/proycon/LaMachine","labels_url":"https://api.github.com/repos/proycon/LaMachine/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/proycon/LaMachine/issues/37/comments","events_url":"https://api.github.com/repos/proycon/LaMachine/issues/37/events","html_url":"https://github.com/proycon/LaMachine/issues/37","id":299281493,"number":37,"title":"problem with using  ticcl.nf  with polish and english lexicon in Docker relase","user":{"login":"mathias3","id":20076158,"avatar_url":"https://avatars3.githubusercontent.com/u/20076158?v=4","gravatar_id":"","url":"https://api.github.com/users/mathias3","html_url":"https://github.com/mathias3","followers_url":"https://api.github.com/users/mathias3/followers","following_url":"https://api.github.com/users/mathias3/following{/other_user}","gists_url":"https://api.github.com/users/mathias3/gists{/gist_id}","starred_url":"https://api.github.com/users/mathias3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathias3/subscriptions","organizations_url":"https://api.github.com/users/mathias3/orgs","repos_url":"https://api.github.com/users/mathias3/repos","events_url":"https://api.github.com/users/mathias3/events{/privacy}","received_events_url":"https://api.github.com/users/mathias3/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-22T09:39:30Z","updated_at":"2018-02-22T14:18:00Z","closed_at":null,"author_association":"NONE","body":"I used ticcl.nf on .txt  file with command\r\n\r\n`nextflow run LanguageMachines/PICCL/ticcl.nf --inputdir /home/maciejosowski/projects/Kaggle_denoise/ICDAR-2017-Post-OCR-Correction/text/  --inputtype text  --lexicon data/int/pl/pl.aspell.dict --alphabet data/int/pl/pl.aspell.dict.lc.chars --charconfus data/int/pl/pl.aspell.dict.c0.d2.confusion`\r\n\r\nNo idea- if I am doing something wrong or it is a bug with polishlexicon?:\r\n\r\n\r\n** [warm up] executor > local\r\n[4c/8e73d5] Submitted process > txt2folia (1)\r\n[0f/aa2efb] Submitted process > corpusfrequency (1)\r\nERROR ~ Error executing process > 'corpusfrequency (1)\r\n\r\nCaused by:\r\n  Missing output file(s) `corpus.wordfreqlist.tsv` expected by process `corpusfrequency (1)`\r\n\r\nCommand executed:\r\n\r\n  set `+u`\r\n  if [ ! -z \"\" ]; then\r\n      source /bin/activate\r\n  fi\r\n  set -u\r\n  \r\n  FoLiA-stats --class \"OCR\" -s -t 1 -e folia.xml --lang=none --ngram 1 -o corpus .\r\n\r\nCommand exit status:\r\n  0\r\n\r\nCommand output:\r\n  start processing of 1 files \r\n  done processsing directory '.'\r\n  start calculating the results\r\n  in total 0 n-grams were found.\r\n\r\nCommand error:\r\n  \r\n  XML-error: PCDATA invalid Char value 12\r\n  \r\n  FoLiA-stats: failed to load document './doc.folia.xml'\r\n  FoLiA-stats: reason: XML error: No XML document  'read ' **\r\n`"},"comment":{"url":"https://api.github.com/repos/proycon/LaMachine/issues/comments/367694124","html_url":"https://github.com/proycon/LaMachine/issues/37#issuecomment-367694124","issue_url":"https://api.github.com/repos/proycon/LaMachine/issues/37","id":367694124,"user":{"login":"mathias3","id":20076158,"avatar_url":"https://avatars3.githubusercontent.com/u/20076158?v=4","gravatar_id":"","url":"https://api.github.com/users/mathias3","html_url":"https://github.com/mathias3","followers_url":"https://api.github.com/users/mathias3/followers","following_url":"https://api.github.com/users/mathias3/following{/other_user}","gists_url":"https://api.github.com/users/mathias3/gists{/gist_id}","starred_url":"https://api.github.com/users/mathias3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathias3/subscriptions","organizations_url":"https://api.github.com/users/mathias3/orgs","repos_url":"https://api.github.com/users/mathias3/repos","events_url":"https://api.github.com/users/mathias3/events{/privacy}","received_events_url":"https://api.github.com/users/mathias3/received_events","type":"User","site_admin":false},"created_at":"2018-02-22T14:18:00Z","updated_at":"2018-02-22T14:18:00Z","author_association":"NONE","body":"additionally  ocr.nf also does not work for language pol - I traied to download different versions of  pol.traineddata (no idea which tesseract version LaMachine uses) with no luck \r\n\r\n`Caused by:\r\n  Process `tesseract (1)` terminated with an error exit status (1)\r\n\r\nCommand executed:\r\n\r\n  tesseract ifs_20171025_0000015824124S_105-001-000.tif ifs_20171025_0000015824124S_105-001-000 -c \"tessedit_create_hocr=T\" -l pl\r\n\r\nCommand exit status:\r\n  1\r\n\r\nCommand output:\r\n  (empty)\r\n\r\nCommand error:\r\n  Error opening data file /usr/share/tessdata/pl.traineddata\r\n  Please make sure the TESSDATA_PREFIX environment variable is set to the parent directory of your \"tessdata\" directory.\r\n  Failed loading language 'pl'\r\n  Tesseract couldn't load any languages!\r\n  Could not initialize tesseract.\r\n\r\nWork dir:\r\n  /usr/src/LaMachine/work/71/4a9e48ff941477c6911a88ce4a65c8\r\n\r\nTip: you can try to figure out what's wrong by changing to the process work dir and showing the script file named `.command.sh`\r\n\r\n -- Check '.nextflow.log' file for details\r\n`"}}
{"actor":{"display_login":"mathias3"}}