Requesting security review for PHP port of TextCat language detection library. The library is located in wikimedia/textcat repository, https://github.com/wikimedia/wikimedia-textcat
Projected usage is detecting language of queries and potentially other texts. The main class to be uses is TextCat.php, other PHP files are command-line utilities.