PHP code example of foxorm / gibberish-detector

1. Go to this page and download the library: Download foxorm/gibberish-detector library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

foxorm / gibberish-detector example snippets


$trainingSuccessful = Gibberish::train(
	$big_text_file,
	$good_text_file,
	$bad_text_file,
	$matrix_file
	);

$oddsItsGoodText = Gibberish::test($inputText, $matrix_file, true);