Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

  • 13457c1
  • /
  • README.md
Raw File Download

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
content badge
swh:1:cnt:ecba9732aa55f468ac1e03e6ae4b7ce5e10c0146
directory badge
swh:1:dir:13457c154ed7ad1f571e353c1edf2f87db61b0ae

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
  • directory
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
README.md
# Aspect-Driven Structuring of Historical Dutch Newspaper Archives
This paper belongs to our TPDL2023 submission. 
Thank you for being here.
However, due to legal restrictions we cannot provide news articles or produced intermediate data.

## Expert Feedback (User Study)
The expert feedback and the questions are available here: [ExpertFeedback.pdf](ExpertFeedback.pdf)

## Setup
We used a virtual Python environment.
### Conda
Setup Python 3.8 environment
```
conda create -c news -python=3.8
```
Activate environment
```
conda activate news
```
### Requirements
Install the required requirements via pip:
```
pip install -r requirements.txt
```
### Run setup script
```
python src/nnsummary/setup.py
```


### Python Path
In order to make our scripts find the correct path, you must set your Python path:
```
export PYTHONPATH="/home/USER/AspectDrivenNewsStructuring/src/:"
```
If you use an IDE, you can simply mark the src directory as "sources root".



# Code Documentation
Our code is located in the src directory. 
Our pipeline comes with different components:
1. [Wikipedia Processing](src/nnsummary/wikipedia) (all scripts to process Wikipedia categories and XML Dumps)
2. [Wikipedia Section Title Clustering](src/nnsummary/wikipedia/clustering.py)
3. [Wikipedia Aspect Mining](src/nnsummary/wikipedia/aspect_mining.py)
4. [Training + Applying Text Classification Models](src/nnsummary/classification)
5. [Translation from Dutch to English](src/nnsummary/translation)
6. [Multi-Document Summarization](src/nnsummary/summary)
7. [News Article Parsing and Snippet Generation](src/nnsummary/news)
8. [Component-wise Evaluation Scripts](src/nnsummary/evaluation)


There is a dedicated [config](src/nnsummary/config.py) with all parameters and paths. 
If you want to run our scripts, please set the paths accordingly to your structure. 

# Resources
We provided our [crawled Wikipedia category file](resources/categories.json) as an additional resource.
In order to reproduce our findings, you need to crawl the Dutch Wikipedia Dumps by yourself. 
However, due to legal restrictions we cannot provide news articles or produced intermediate data.

back to top

Software Heritage — Copyright (C) 2015–2026, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API