Skip to content

Asynchronous Language Detection System using the WiLi dataset written in java

License

Notifications You must be signed in to change notification settings

CathalButler/language_detector

Repository files navigation

language_detector

Cathal Butler | G00346889 | Final Year Software Development

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 Setups

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

How to run with Docker

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

How to run with Tomcat

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

Development & Testing

This project was developed on my own personal laptop running

About

Asynchronous Language Detection System using the WiLi dataset written in java

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published