{"id":38335351,"url":"https://github.com/cedergrouphub/matentityrecognition","last_synced_at":"2026-01-17T02:55:52.780Z","repository":{"id":53816074,"uuid":"128611119","full_name":"CederGroupHub/MatEntityRecognition","owner":"CederGroupHub","description":"Extract materials from paragraphs and recognize the targets and precursors","archived":false,"fork":false,"pushed_at":"2024-03-13T21:54:41.000Z","size":66930,"stargazers_count":7,"open_issues_count":2,"forks_count":4,"subscribers_count":3,"default_branch":"v3","last_synced_at":"2025-09-09T23:38:56.000Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CederGroupHub.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-04-08T07:16:03.000Z","updated_at":"2025-06-20T08:19:13.000Z","dependencies_parsed_at":"2024-03-13T22:46:49.044Z","dependency_job_id":"9853547d-fc69-45c0-9181-72dec26f8c72","html_url":"https://github.com/CederGroupHub/MatEntityRecognition","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/CederGroupHub/MatEntityRecognition","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CederGroupHub%2FMatEntityRecognition","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CederGroupHub%2FMatEntityRecognition/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CederGroupHub%2FMatEntityRecognition/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CederGroupHub%2FMatEntityRecognition/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CederGroupHub","download_url":"https://codeload.github.com/CederGroupHub/MatEntityRecognition/tar.gz/refs/heads/v3","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CederGroupHub%2FMatEntityRecognition/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28492591,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T02:39:23.645Z","status":"ssl_error","status_checked_at":"2026-01-17T02:34:19.649Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-17T02:55:52.723Z","updated_at":"2026-01-17T02:55:52.775Z","avatar_url":"https://github.com/CederGroupHub.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Synthesis Materials Recognizer (SMR) for Materials Entity Recognition (MER)\n\nExtract materials from a paragraph, and recognize the targets and precursors in those materials  \n\nInstall:  \n\n\n\tIf Git Large File Storage (lfs) is not installed on your computer, please install it fistly following the instruction on\n\t\thttps://help.github.com/articles/installing-git-large-file-storage/.\n\tThen\n        git clone git@github.com:CederGroupHub/MatEntityRecognition.git \n        cd MatEntityRecognition\n        pip install -e .\n\t\n\tSpacy is used. If there is an error saying: \n\t    \"Can't find model 'en-core-web-sm'...\" \n\tIt is because the spacy data is not downloaded. Please use:\n\t    python -m spacy download en-core-web-sm\n\t    \n    MaterialParser is used. Please find it here:\n        https://github.com/CederGroupHub/MaterialParser\n\nUse:\n\n    # An example is in test/example.py\n\tfrom materials_entity_recognition import MatRecognition   \n\tmodel = MatRecognition()  \n\tresult = model.mat_recognize(input_paras)  \n\nParameters:\n\n\tInput: list of plain text of paragraphs or plian text of a paragraph. \n\tNote: input a list of paragraphs (recommended) is much faster than inputting them one by one in a loop!  \n\tOutput: a list of (list of) dict objects, containing all materials, precursors, targets, and other materials for each sentence in the input paragraphs.  \n\nIt is also possible to use pre-defined tokens:\n\n    # An example is in test/pre_tokens.py\n    # pre_tokens is a list of list of tokens.\n    # The element in the first-level list corresponds to each paragraph\n    # The element in the second-level list corresponds to each sentence in each paragraph\n    # Each token is dict such as {'start': 0, 'end': 4, 'text': 'text'} or \n    # an object with attributes of 'start', 'end', and 'text'. \n    result = model.mat_recognize(input_paras, pre_tokens=pre_tokens)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcedergrouphub%2Fmatentityrecognition","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcedergrouphub%2Fmatentityrecognition","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcedergrouphub%2Fmatentityrecognition/lists"}