www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

index.php (472B)


      1 <?php
      2 require_once("NodeTestTool.php");
      3 /*
      4  * TODO: test each function entering bad data...
      5  */
      6 $word = "maison";
      7 
      8 
      9 $relAr1 = NodeTestTool::getRelations();
     10 $relAr2 = NodeTestTool::getRelations();
     11 
     12 foreach($relAr1 AS $k1 => $v1){
     13     foreach($relAr2 AS $k2 => $v2){
     14         echo "Mot : " . $word . " - " . $v1 . " - " . $v2 . " - " . "<br />";
     15         echo "Nuage : " . NodeTestTool::getWordCloudDistance2($word, $k1, $k2) . "<br /><br />";
     16     }
     17     echo "<br />";
     18 }
     19 
     20 
     21 ?>