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.
- Java 8
- Maven
- Python 3
- Pip3
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
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
- GeoJSON Data to colorize the countries is from https://geojson-maps.kyd.com.au/
- Word frequencies are from http://corpora.uni-leipzig.de/de
Tested with Tomcat 7
mvn package
cp artful.war /usr/share/tomcat/webapps
Note: The tomcat path may be different.