{"id":19162774,"url":"https://github.com/centre-for-humanities-computing/xml-stiften","last_synced_at":"2026-07-17T00:05:57.552Z","repository":{"id":99223246,"uuid":"371285232","full_name":"centre-for-humanities-computing/xml-stiften","owner":"centre-for-humanities-computing","description":"Alto XML extractor for the Aarhus Stiftstidende dataset","archived":false,"fork":false,"pushed_at":"2021-10-26T09:43:32.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-22T22:41:25.349Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/centre-for-humanities-computing.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}},"created_at":"2021-05-27T07:30:58.000Z","updated_at":"2021-10-26T09:43:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"49f48920-3992-4995-83cf-466c9807ce02","html_url":"https://github.com/centre-for-humanities-computing/xml-stiften","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/centre-for-humanities-computing/xml-stiften","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/centre-for-humanities-computing%2Fxml-stiften","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/centre-for-humanities-computing%2Fxml-stiften/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/centre-for-humanities-computing%2Fxml-stiften/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/centre-for-humanities-computing%2Fxml-stiften/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/centre-for-humanities-computing","download_url":"https://codeload.github.com/centre-for-humanities-computing/xml-stiften/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/centre-for-humanities-computing%2Fxml-stiften/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274370683,"owners_count":25272891,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-09T02:00:10.223Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2024-11-09T09:13:07.559Z","updated_at":"2025-10-24T13:42:53.815Z","avatar_url":"https://github.com/centre-for-humanities-computing.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stiften Alto-XML Extractor #\n \n- extracting content from Alto-XML to intermediary json\n- minimal preprocessing\n- concatenate documents in desired time bin\n- export as txt\n\n\u003cbr\u003e\n\n## Prerequisites\n\nFor running in virtual environment (recommended) and assuming python is installed.\n\n#### Windows\n```bash\n\u003e pip install virtualenv\n\u003e virtualenv stiftenv\n\u003e stiftenv\\Scripts\\activate\n```\n#### Linux\n```bash\n$ pip install virtualenv\n$ virtualenv stiftenv\n$ source stiftenv/bin/activate\n```\n\n\u003cbr\u003e\n\n## Installation\n\nClone repository and install requirements.\n\n```bash\n$ git clone https://github.com/centre-for-humanities-computing/xml-stiften\n$ pip install -r requirements.txt\n```\n\n\u003cbr\u003e\n\n## Usage\nThere are two ways to run this script - via notebook, or CLI. You can choose whichever suits you best.\nMethod A is to run the scripts from a jupyter notebook (extract_stiften.ipynb).\nMethod B is running the extractor using a shell script (extract_stiften.sh).  \n\n#### Run from a jupyter notebook\nOpen the jupyter notebook (`extract_stiften.ipynb`).  \nEdit input parameters (documented inside the notebook).  \nRun the chunks you need.\n\n\n#### Run from command line\nOpen shell script (`extract_stiften.sh`)  \nEdit your input parameters. \nRun with `sh extract_stiften.sh`.\n\n\u003cbr\u003e\n\n## Acknowledgments\nStopwords for old Danish by [VictorHarbo](https://github.com/VictorHarbo/holberg_kaffe_tei/blob/master/stopord.txt)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcentre-for-humanities-computing%2Fxml-stiften","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcentre-for-humanities-computing%2Fxml-stiften","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcentre-for-humanities-computing%2Fxml-stiften/lists"}