 <?php
 
set_include_path(get_include_path() . PATH_SEPARATOR . './tntsearch/src/');
use TeamTNT\TNTSearch\TNTSearch;

include_once 'TNTSearch.php';
include_once 'Support/AbstractTokenizer.php';
include_once 'Support/TokenizerInterface.php';
include_once 'Support/Tokenizer.php';
include_once 'Support/Collection.php';
include_once 'FileReaders/FileReaderInterface.php';
include_once 'FileReaders/TextFileReader.php';
include_once 'Indexer/TNTIndexer.php';
include_once 'Stemmer/Stemmer.php';
include_once 'Stemmer/FrenchStemmer.php';
include_once 'Stemmer/NoStemmer.php';
include_once 'Connectors/ConnectorInterface.php';
include_once 'Connectors/Connector.php';
include_once 'Connectors/MySqlConnector.php';

$tnt = new TNTSearch;

$tnt->loadConfig($tntconfig);
