#!/usr/bin/env php
<?php
require __DIR__.'/vendor/autoload.php';

use Symfony\Component\Console\Application;
use OcrAutoCorrect\PrepareCommand;
use OcrAutoCorrect\CorrectCommand;
use OcrAutoCorrect\UnsquishCommand;
use OcrAutoCorrect\ResetCommand;
use OcrAutoCorrect\TrainCommand;

$application = new Application();

$application->add(new PrepareCommand());
$application->add(new TrainCommand());
$application->add(new CorrectCommand());
$application->add(new UnsquishCommand());
$application->add(new ResetCommand());
$application->run();