Goal was to create a decision tree without a library, which distinguishes texts between english and german or X for another language, based on the relative frequencies of the 26 lower case letters "a-z", that means without special characters. The decision tree should have a maximum depth of 4 and a maximum of 10 leaves.
For the natural language processing course at the University of Applied Sciences Northwestern Switzerland