Trials of the Valar

An measure of human corruption based on the world of J.R.R. Tolkien's Lord of the Rings

Click here to see the code

The Python Windows Application

The application was written in Python using the Kivy desktop application framework. Essentially, what the application does is take a text input from the user a classify the level of corruption that can be detected in those words based on excerpts from J.R.R. Tolkien's The Silmarillion. This is achieved by using the Multinomial Naive Bayes text classification algorithm which is found in the main.py file.

The main page of TotV
Multinomial Naive Bayes Text Classification Algorithm