{"action":"created","issue":{"url":"https://api.github.com/repos/lukehsiao/HardwareDeepDive/issues/12","labels_url":"https://api.github.com/repos/lukehsiao/HardwareDeepDive/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/lukehsiao/HardwareDeepDive/issues/12/comments","events_url":"https://api.github.com/repos/lukehsiao/HardwareDeepDive/issues/12/events","html_url":"https://github.com/lukehsiao/HardwareDeepDive/issues/12","id":120499952,"number":12,"title":"Create an extractor for Part Numbers","user":{"login":"lukehsiao","id":7573542,"avatar_url":"https://avatars.githubusercontent.com/u/7573542?v=3","gravatar_id":"","url":"https://api.github.com/users/lukehsiao","html_url":"https://github.com/lukehsiao","followers_url":"https://api.github.com/users/lukehsiao/followers","following_url":"https://api.github.com/users/lukehsiao/following{/other_user}","gists_url":"https://api.github.com/users/lukehsiao/gists{/gist_id}","starred_url":"https://api.github.com/users/lukehsiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukehsiao/subscriptions","organizations_url":"https://api.github.com/users/lukehsiao/orgs","repos_url":"https://api.github.com/users/lukehsiao/repos","events_url":"https://api.github.com/users/lukehsiao/events{/privacy}","received_events_url":"https://api.github.com/users/lukehsiao/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lukehsiao/HardwareDeepDive/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"closed","locked":false,"assignee":{"login":"lukehsiao","id":7573542,"avatar_url":"https://avatars.githubusercontent.com/u/7573542?v=3","gravatar_id":"","url":"https://api.github.com/users/lukehsiao","html_url":"https://github.com/lukehsiao","followers_url":"https://api.github.com/users/lukehsiao/followers","following_url":"https://api.github.com/users/lukehsiao/following{/other_user}","gists_url":"https://api.github.com/users/lukehsiao/gists{/gist_id}","starred_url":"https://api.github.com/users/lukehsiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukehsiao/subscriptions","organizations_url":"https://api.github.com/users/lukehsiao/orgs","repos_url":"https://api.github.com/users/lukehsiao/repos","events_url":"https://api.github.com/users/lukehsiao/events{/privacy}","received_events_url":"https://api.github.com/users/lukehsiao/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-12-04T22:31:27Z","updated_at":"2015-12-18T17:58:06Z","closed_at":"2015-12-18T17:58:06Z","body":"We will need an extractor for part numbers that parses table_dump and pulls out part number mentions.\r\n\r\nWe could use a schema like this:\r\n```\r\n+--------+----------+----------+----------+-------------+----------+\r\n| doc_id | page_num | table_id | relation | relation_id | part_num |\r\n+--------+----------+----------+----------+-------------+----------+\r\n```\r\nso that later we can relate storage temperature ranges (#10) with part numbers.\r\n\r\nFor example, \r\nIf a part number and a storage temp are from the same document and on the same row of the same table, we can weight this heavily.\r\n\r\nIf a part number is in a header, but it is in the same doc_id of the storage temp, we can also use this information."},"comment":{"url":"https://api.github.com/repos/lukehsiao/HardwareDeepDive/issues/comments/165856997","html_url":"https://github.com/lukehsiao/HardwareDeepDive/issues/12#issuecomment-165856997","issue_url":"https://api.github.com/repos/lukehsiao/HardwareDeepDive/issues/12","id":165856997,"user":{"login":"lukehsiao","id":7573542,"avatar_url":"https://avatars.githubusercontent.com/u/7573542?v=3","gravatar_id":"","url":"https://api.github.com/users/lukehsiao","html_url":"https://github.com/lukehsiao","followers_url":"https://api.github.com/users/lukehsiao/followers","following_url":"https://api.github.com/users/lukehsiao/following{/other_user}","gists_url":"https://api.github.com/users/lukehsiao/gists{/gist_id}","starred_url":"https://api.github.com/users/lukehsiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukehsiao/subscriptions","organizations_url":"https://api.github.com/users/lukehsiao/orgs","repos_url":"https://api.github.com/users/lukehsiao/repos","events_url":"https://api.github.com/users/lukehsiao/events{/privacy}","received_events_url":"https://api.github.com/users/lukehsiao/received_events","type":"User","site_admin":false},"created_at":"2015-12-18T17:58:06Z","updated_at":"2015-12-18T17:58:06Z","body":"I added that a minimum length of 4 characters in order for text to be considered a part number. I'm going to close this for now, but this can be reopened if we need to further refine the code. For example, we could filter out known patterns like unit (mA, W, etc.)"}}