{"action":"created","issue":{"url":"https://api.github.com/repos/sanskrit-lexicon/CORRECTIONS/issues/154","labels_url":"https://api.github.com/repos/sanskrit-lexicon/CORRECTIONS/issues/154/labels{/name}","comments_url":"https://api.github.com/repos/sanskrit-lexicon/CORRECTIONS/issues/154/comments","events_url":"https://api.github.com/repos/sanskrit-lexicon/CORRECTIONS/issues/154/events","html_url":"https://github.com/sanskrit-lexicon/CORRECTIONS/issues/154","id":116719290,"number":154,"title":"Suggested format for corrections","user":{"login":"drdhaval2785","id":5755132,"avatar_url":"https://avatars.githubusercontent.com/u/5755132?v=3","gravatar_id":"","url":"https://api.github.com/users/drdhaval2785","html_url":"https://github.com/drdhaval2785","followers_url":"https://api.github.com/users/drdhaval2785/followers","following_url":"https://api.github.com/users/drdhaval2785/following{/other_user}","gists_url":"https://api.github.com/users/drdhaval2785/gists{/gist_id}","starred_url":"https://api.github.com/users/drdhaval2785/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drdhaval2785/subscriptions","organizations_url":"https://api.github.com/users/drdhaval2785/orgs","repos_url":"https://api.github.com/users/drdhaval2785/repos","events_url":"https://api.github.com/users/drdhaval2785/events{/privacy}","received_events_url":"https://api.github.com/users/drdhaval2785/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-13T07:47:20Z","updated_at":"2015-11-13T08:01:37Z","closed_at":null,"body":"@gasyoun raised a possibility of mechanization at https://github.com/sanskrit-lexicon/CORRECTIONS/issues/138#issuecomment-156001333.\r\nThere has been a concern raised by @funderburkjim at https://github.com/sanskrit-lexicon/CORRECTIONS/issues/138#issuecomment-156241704 that there are various correction submission formats on github, which don't allow him to use generate.py uniformly to generate pwupd.txt and pwupd.tsv files mechanically and therefore there is duplication of efforts.\r\n\r\nIf we can give him a corrected txt file in a fixed format, we would be able to help him in a big way. All he has to do is\r\n1. `python generate.py`\r\n2. Append the data of `pwupd.txt` to `manualByLine02.txt`\r\n3. Update the lists by shell script.\r\n\r\n# My suggested plan\r\n1. I provide a .txt file along with the .html file we are working with right now.\r\n2. That .txt file would have `dictcode:currenthw:correcthw::`.\r\n3. When we submit to github an error, we should note the error code and note in our local copy of .txt file.\r\n4. After correction submission, we hand over Jim the .txt file also.\r\n5. Jim works with the following logic - (a) if the line starts with ';' - add to nochange.txt, (b) elseif the line doesn't have 'errorcode' or 'nochangecode' - add it to nodecision.txt, (c) else add to change.txt.\r\n6. Run `python generate.py` to generate pwupd.txt and pwupd.tsv files from change.txt.\r\n7. Next `$ python updateByLine.py ../orig/pw2.txt manualByLine02.txt ../orig/pw.txt`\r\n8. `sh redo_hw.sh`\r\n9. `sh redo_xml.sh`\r\n\r\n\r\n# In case, there are *changes to be made*\r\n```\r\ndictcode:currenthw:correcthw:errorcode:note\r\n```\r\ne.g.\r\n```\r\nBOP:mfgalAYcana:mfgalAYCana:p:Maybe a print smudge\r\n```\r\n\r\n# In case there are *no changes*\r\n```\r\n;dictcode:currenthw:correcthw:nochangecode:note\r\n```\r\ne.g.\r\n```\r\n;STC:antaS:antas:n:Compound forms of 'antar'\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/sanskrit-lexicon/CORRECTIONS/issues/comments/156357619","html_url":"https://github.com/sanskrit-lexicon/CORRECTIONS/issues/154#issuecomment-156357619","issue_url":"https://api.github.com/repos/sanskrit-lexicon/CORRECTIONS/issues/154","id":156357619,"user":{"login":"drdhaval2785","id":5755132,"avatar_url":"https://avatars.githubusercontent.com/u/5755132?v=3","gravatar_id":"","url":"https://api.github.com/users/drdhaval2785","html_url":"https://github.com/drdhaval2785","followers_url":"https://api.github.com/users/drdhaval2785/followers","following_url":"https://api.github.com/users/drdhaval2785/following{/other_user}","gists_url":"https://api.github.com/users/drdhaval2785/gists{/gist_id}","starred_url":"https://api.github.com/users/drdhaval2785/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drdhaval2785/subscriptions","organizations_url":"https://api.github.com/users/drdhaval2785/orgs","repos_url":"https://api.github.com/users/drdhaval2785/repos","events_url":"https://api.github.com/users/drdhaval2785/events{/privacy}","received_events_url":"https://api.github.com/users/drdhaval2785/received_events","type":"User","site_admin":false},"created_at":"2015-11-13T08:01:37Z","updated_at":"2015-11-13T08:01:37Z","body":"@funderburkjim would like to comment whether the format is amenable to mechanical handling consistently or not, and whether any other additional field would be necessary?\r\n@gasyoun and @zaaf2 - Please comment whether you are ready to take the additional pains of writing some small letters in a txt file to ease life for Jim?"}}