From: <sk...@us...> - 2008-09-24 11:52:34
|
Revision: 1252 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=1252&view=rev Author: sknappe Date: 2008-09-24 11:52:27 +0000 (Wed, 24 Sep 2008) Log Message: ----------- little changes to get more descriptions Modified Paths: -------------- trunk/src/dbpedia-navigator/DLLearnerConnection.php trunk/src/dbpedia-navigator/Settings.php Modified: trunk/src/dbpedia-navigator/DLLearnerConnection.php =================================================================== --- trunk/src/dbpedia-navigator/DLLearnerConnection.php 2008-09-24 11:49:47 UTC (rev 1251) +++ trunk/src/dbpedia-navigator/DLLearnerConnection.php 2008-09-24 11:52:27 UTC (rev 1252) @@ -110,7 +110,7 @@ fclose($file); if ($run=="false"){ $this->client->stop($this->id); - return json_decode($this->client->getCurrentlyBestEvaluatedDescriptions($this->id,3),true); + return json_decode($this->client->getCurrentlyBestEvaluatedDescriptionsFiltered($this->id,3,0.8,true),true); } } while($seconds<$this->learnttl&&$running); @@ -118,7 +118,7 @@ } //return $concepts->item; - return json_decode($this->client->getCurrentlyBestEvaluatedDescriptions($this->id,3),true); + return json_decode($this->client->getCurrentlyBestEvaluatedDescriptionsFiltered($this->id,3,0.8,true),true); } function getNaturalDescription($concept) Modified: trunk/src/dbpedia-navigator/Settings.php =================================================================== --- trunk/src/dbpedia-navigator/Settings.php 2008-09-24 11:49:47 UTC (rev 1251) +++ trunk/src/dbpedia-navigator/Settings.php 2008-09-24 11:52:27 UTC (rev 1252) @@ -37,7 +37,7 @@ // public $dbpediauri='http://dbpedia2.openlinksw.com:8890/isparql'; // in mikrosekunden public $sparqlttl=60000000; - public $learnttl=10; + public $learnttl=5; public $language="en"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |