kev007 / ARTFUL

An Interactive Country Reference Frequency Choropleth Mapper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ARTFUL

An inteRactive counTry reFerence freqUency choropLeth mapper

Interactive Leaflet web application using the University of Leipzig Corpora Collection: A graphical representation of inter-country entity references in multilingual corpora.

Dependencies

  • Java 8
  • Maven
  • Python 3
  • Pip3

Installation

The web application can simply be run with maven:

cd server
mvn clean install 
mvn spring-boot:run -Dtranslation_database=src/main/resources/translations.sqlite

If you want to use the included scripts to add new data to the database you need to install some dependencies

cd data-aggregation-tools/
sudo pip3 install -r requirements.txt 

Usage

To import new data:

Copy extracted Leipzig Corpora *-words.txt word frequency files to leipzigCorporaParser/resources/txt and/or add non-default paths to config.properties

run Main.java and SparqlQueryTools.java

OR

cd leipzigCorporaParser
mvn clean install
mvn exec:java@sparql
mvn exec:java@parser

Parsing new data

Datasource

Deployment

Tested with Tomcat 7

mvn package
cp artful.war /usr/share/tomcat/webapps

Note: The tomcat path may be different.

Screenshots

User Interface

About

An Interactive Country Reference Frequency Choropleth Mapper


Languages

Language:JavaScript 74.8%Language:Java 12.7%Language:HTML 6.1%Language:CSS 3.3%Language:Python 3.1%