An Asynchronous Language Detection System that builds a language database on the WiLI benchmark dataset. Multiple users can query a language by inputting their own string.
Find project spec here
Environment setup can be done in two ways, ether install Tomcat or use a Docker container with tomcat.
Place the wili-2018-Edited.txt
in a directory called data/
@ the root of your filesystem.
Linux /data
Windows C:/data
docker run -p 8888:8080
- To mount the volume with the ngrams.war amend the command with the the path were you downloaded the .war file too
-v [download location]/ngrams.war:/usr/local/tomcat/webapps/ngrams.war
- Container name:
tomcat:9.0.30-jdk8-openjdk
Navigate to localhost:8888/ngrams
Navigate to the install location of tomcat and inside the /webapps
folder drop the ngrams.war file.
Run the command startup command for tomcat found in the bin folder to start tomcat.
Navigate to localhost:8080/ngrams
This project was developed on my own personal laptop running
- OS: Manjaro Linux
- Kernel: 5.4.6-2
- Java 8
- IntelliJ IDEA 2019.3.1 (Ultimate Edition)
- Build #IU-193.5662.53, built on December 18, 2019
- Docker: 19.03.5