https://github.com/centre-for-humanities-computing/xml-stiften

Alto XML extractor for the Aarhus Stiftstidende dataset

https://github.com/centre-for-humanities-computing/xml-stiften

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.0%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Alto XML extractor for the Aarhus Stiftstidende dataset

Basic Info
  • Host: GitHub
  • Owner: centre-for-humanities-computing
  • Language: Python
  • Default Branch: main
  • Size: 23.4 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Created about 5 years ago · Last pushed over 4 years ago
Metadata Files
Readme

README.md

Stiften Alto-XML Extractor

  • extracting content from Alto-XML to intermediary json
  • minimal preprocessing
  • concatenate documents in desired time bin
  • export as txt


Prerequisites

For running in virtual environment (recommended) and assuming python is installed.

Windows

```bash

pip install virtualenv virtualenv stiftenv stiftenv\Scripts\activate ```

Linux

bash $ pip install virtualenv $ virtualenv stiftenv $ source stiftenv/bin/activate


Installation

Clone repository and install requirements.

bash $ git clone https://github.com/centre-for-humanities-computing/xml-stiften $ pip install -r requirements.txt


Usage

There are two ways to run this script - via notebook, or CLI. You can choose whichever suits you best. Method A is to run the scripts from a jupyter notebook (extractstiften.ipynb). Method B is running the extractor using a shell script (extractstiften.sh).

Run from a jupyter notebook

Open the jupyter notebook (extract_stiften.ipynb).
Edit input parameters (documented inside the notebook).
Run the chunks you need.

Run from command line

Open shell script (extract_stiften.sh)
Edit your input parameters. Run with sh extract_stiften.sh.


Acknowledgments

Stopwords for old Danish by VictorHarbo

Owner

  • Name: Center for Humanities Computing Aarhus
  • Login: centre-for-humanities-computing
  • Kind: organization
  • Email: chcaa@cas.au.dk
  • Location: Aarhus, Denmark

GitHub Events

Total
Last Year

Issues and Pull Requests

Last synced: over 1 year ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels