putssander / micro-portraits

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

micro-portraits

This repository contains code to extract microportraits.

Language covered: Dutch

Required input: NAF files containing the following layers:

  • terms
  • deps
  • coreference (entities)

Output: csv files with descriptions. Descriptions for the same entity share an identifier.

This work is described in:

Fokkens, Antske, Nel Ruigrok, Camiel J. Beukeboom, Gagestein Sarah, and Wouter Van Attveldt. "Studying Muslim Stereotyping through Microportrait Extraction." In LREC. 2018.

Running the code:

python -m microportraits inputfile.naf > outputfile.csv

About

License:Apache License 2.0


Languages

Language:Python 99.9%Language:Shell 0.1%