{"id":20462066,"url":"https://github.com/bact/incidentamr-server","last_synced_at":"2026-03-07T17:34:29.708Z","repository":{"id":212642360,"uuid":"725881833","full_name":"bact/incidentamr-server","owner":"bact","description":"A server for IncidentAMR","archived":false,"fork":false,"pushed_at":"2023-12-15T09:30:38.000Z","size":74,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-13T00:44:57.885Z","etag":null,"topics":["abstract-meaning-representation","incident-reports","natural-language-processing"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bact.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-12-01T04:09:55.000Z","updated_at":"2023-12-15T09:33:48.000Z","dependencies_parsed_at":"2023-12-15T11:47:19.328Z","dependency_job_id":null,"html_url":"https://github.com/bact/incidentamr-server","commit_stats":null,"previous_names":["bact/incidentamr-server"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bact/incidentamr-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bact%2Fincidentamr-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bact%2Fincidentamr-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bact%2Fincidentamr-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bact%2Fincidentamr-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bact","download_url":"https://codeload.github.com/bact/incidentamr-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bact%2Fincidentamr-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30223470,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T17:00:40.062Z","status":"ssl_error","status_checked_at":"2026-03-07T17:00:39.026Z","response_time":53,"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":["abstract-meaning-representation","incident-reports","natural-language-processing"],"created_at":"2024-11-15T12:29:51.099Z","updated_at":"2026-03-07T17:34:29.689Z","avatar_url":"https://github.com/bact.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# incidentamr-server\n\nA server to test parsing text to Abstract Meaning Representation. All of these are for experimentation purpose. I would like to develop a small meaning representation corpus for incident report in the future.\n\n- Use [AMRLib](https://github.com/bjascob/amrlib) for AMR parsing, with a Sentence to Graph model from [amrlib-models](https://github.com/bjascob/amrlib-models)  (AMR is a graph, rather than a tree)\n- Use [Uvicorn](https://www.uvicorn.org/) and [FastAPI](https://fastapi.tiangolo.com/) for web server and API framework\n\n## Install\n\n1.  Download source\n    ```sh\n    git clone https://github.com/bact/incidentamr-server.git\n    ```\n2.  Install required libraries\n    ```sh\n    cd incidentamr-server\n    pip install -r requirements.txt\n    ```\n3.  Install a model\n    - Download any *Sentence to Graph* model from [amrlib-models/releases](https://github.com/bjascob/amrlib-models/releases).\n        - For example,  `model_parse_xfm_bart_large-v0_1_0.tar.gz`.\n    - Extract the tar.gz file, you will get a directory containing .json and .bin files. Rename that directory to `stog`.\n    - Put the `stog` directory inside `incidentamr-server/incidentamr_server/models` directory.\n\n\n## Run\n\n1. Start the server. From inside `incidentamr_server` directory, run:\n\n   ```sh\n   uvicorn main:app --reload\n   ```\n2. Then, from within a web browser, open [http://127.0.0.1:8000](http://127.0.0.1:8000).\n   \n   The web interface will look like this:\n\n   ![IncidentAMR web interface](incidentamr-webpage.png)\n\n\n## Meaning Representations\n\nThe main paper for Abstract Meaning Representatio (AMR) is\n\n- Banarescu, Laura, Claire Bonial, Shu Cai, Madalina Georgescu, Kira Griffitt, Ulf Hermjakob, Kevin Knight, Philipp Koehn, Martha Palmer, and Nathan Schneider. 2013. **‘Abstract Meaning Representation for Sembanking’**. In Proceedings of the 7th Linguistic Annotation Workshop and Interoperability with Discourse, 9. Sofia, Bulgaria: Association for Computational Linguistics. https://aclanthology.org/W13-2322.pdf.\n\nMore information about AMR can be found at [AMR Bank](https://amr.isi.edu/) website.\n\nAnother interesting development is Uniform Meaning Representation (UMR). Their main paper is\n\n- Van Gysel, Jens E. L., Meagan Vigus, Jayeol Chun, Kenneth Lai, Sarah Moeller, Jiarui Yao, Tim O’Gorman, et al. 2021. **‘Designing a Uniform Meaning Representation for Natural Language Processing’**. KI - Künstliche Intelligenz 35 (3): 343–60. https://doi.org/10.1007/s13218-021-00722-w.\n\nMore information about UMR can be found at [UMR Project](https://umr4nlp.github.io/web/).\n\n*U in UMR in this meaning representation area can be many things: Unified, Uniform, Universal, etc.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbact%2Fincidentamr-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbact%2Fincidentamr-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbact%2Fincidentamr-server/lists"}