#!/usr/bin/env php
<?php

declare(strict_types=1);

/**
 * Bayesian model trainer/inspector.
 *
 * See src/Cli/TrainCommand.php for the options.
 */

ini_set('display_errors', 'stderr');
ini_set('log_errors', '0');
error_reporting(E_ALL);

require dirname(__DIR__) . '/autoload.php';

$command = new FormSpamChecker\Cli\TrainCommand();

exit($command->run($argv));
