{"action":"created","issue":{"url":"https://api.github.com/repos/regardscitoyens/the-law-factory-parser/issues/52","repository_url":"https://api.github.com/repos/regardscitoyens/the-law-factory-parser","labels_url":"https://api.github.com/repos/regardscitoyens/the-law-factory-parser/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/regardscitoyens/the-law-factory-parser/issues/52/comments","events_url":"https://api.github.com/repos/regardscitoyens/the-law-factory-parser/issues/52/events","html_url":"https://github.com/regardscitoyens/the-law-factory-parser/issues/52","id":150865890,"number":52,"title":"toward a text edits parser","user":{"login":"promethe42","id":998703,"avatar_url":"https://avatars.githubusercontent.com/u/998703?v=3","gravatar_id":"","url":"https://api.github.com/users/promethe42","html_url":"https://github.com/promethe42","followers_url":"https://api.github.com/users/promethe42/followers","following_url":"https://api.github.com/users/promethe42/following{/other_user}","gists_url":"https://api.github.com/users/promethe42/gists{/gist_id}","starred_url":"https://api.github.com/users/promethe42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/promethe42/subscriptions","organizations_url":"https://api.github.com/users/promethe42/orgs","repos_url":"https://api.github.com/users/promethe42/repos","events_url":"https://api.github.com/users/promethe42/events{/privacy}","received_events_url":"https://api.github.com/users/promethe42/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2016-04-25T13:51:07Z","updated_at":"2016-05-08T19:19:27Z","closed_at":null,"body":"Hello,\r\n\r\nmy goal is to be able to render \"augmented\" law texts.\r\nI understand that today the exhaustive data is only available when the law proposition has been voted and fully redacted.\r\nBut I need to be have the whole text and the corresponding metadata before it is voted/officially published.\r\n\r\nI've been reading the [parse_texte.py](https://github.com/regardscitoyens/the-law-factory-parser/blob/master/scripts/collectdata/parse_texte.py) script and I was wondering why you're using regexp all over the place instead of a cleaner lexer/parser => AST method.\r\n\r\nIs it because you tried building an AST and failed because the formatting of the law texts is too fuzzy?\r\n\r\nDo you have any existing/current work on the matter?\r\n\r\nI might try to do that if you don't mind...\r\n\r\nThank you,"},"comment":{"url":"https://api.github.com/repos/regardscitoyens/the-law-factory-parser/issues/comments/217740631","html_url":"https://github.com/regardscitoyens/the-law-factory-parser/issues/52#issuecomment-217740631","issue_url":"https://api.github.com/repos/regardscitoyens/the-law-factory-parser/issues/52","id":217740631,"user":{"login":"RouxRC","id":1153255,"avatar_url":"https://avatars.githubusercontent.com/u/1153255?v=3","gravatar_id":"","url":"https://api.github.com/users/RouxRC","html_url":"https://github.com/RouxRC","followers_url":"https://api.github.com/users/RouxRC/followers","following_url":"https://api.github.com/users/RouxRC/following{/other_user}","gists_url":"https://api.github.com/users/RouxRC/gists{/gist_id}","starred_url":"https://api.github.com/users/RouxRC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RouxRC/subscriptions","organizations_url":"https://api.github.com/users/RouxRC/orgs","repos_url":"https://api.github.com/users/RouxRC/repos","events_url":"https://api.github.com/users/RouxRC/events{/privacy}","received_events_url":"https://api.github.com/users/RouxRC/received_events","type":"User","site_admin":false},"created_at":"2016-05-08T19:19:26Z","updated_at":"2016-05-08T19:19:26Z","body":"Really cool!\r\nYes a PR will do for now, and yes I added you as a commiter to the repo so you can keep going in a branch or even in master as long as these are complementary scripts, as you wish.\r\nRegarding tests and travis, yes also, we should definitively go towards this anyways for the rest as well (and this is the approach @fmassot & @njoyard have taken already with their anpy senapy and legipy parsers).\r\nI'm setting-up the travis account"}}