PHP Classes

File: test.php

Recommend this page to a friend!
  Classes of Cesar D. Rodas   Text Cat   test.php   Download  
File: test.php
Role: Example script
Content type: text/plain
Description: test
Class: Text Cat
Guess the language of a given text
Author: By
Last change: i forgot the include :D
Date: 17 years ago
Size: 291 bytes
 

Contents

Class file image Download
<?
include "saddorlibtextcat.php";
$libtext = new SaddorLibTextCat();

$libtext->WhatLang("This is a text in english, so the first option when you
print the array of ranking it has to be english!!!, so is it work???"
);

print
"<pre>";
print_r($libtext->ranking);
print
"</pre>";
?>