/ngram

Very simple example of ngram usage (language detection, word suggestion, soccer forecast => do NOT use to bet)

Primary LanguagePHP

ngram

composer install

composer dumpautoload -o

docker-compose build

docker-compose up -d

For language detection, put french.data, english.data, german.data, italian.data and spanish.data files in project root

Those files are the corpus to train the model

If you have an account on api.football-data.org, you have to copy .env.dist in .env and use your API key in API_KEY