Login   Register  
PHP Classes
elePHPant
Icontem

File: test.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 2006-06-04 14:16
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>";
?>