From: <jen...@us...> - 2008-10-13 15:56:23
|
Revision: 1375 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=1375&view=rev Author: jenslehmann Date: 2008-10-13 15:56:08 +0000 (Mon, 13 Oct 2008) Log Message: ----------- added INSTALL and README to build, extended INSTALL Modified Paths: -------------- trunk/INSTALL trunk/build.xml Removed Paths: ------------- trunk/examples/commandcollection.txt Modified: trunk/INSTALL =================================================================== --- trunk/INSTALL 2008-10-13 12:34:43 UTC (rev 1374) +++ trunk/INSTALL 2008-10-13 15:56:08 UTC (rev 1375) @@ -1,6 +1,6 @@ Requirements ============ -Java 6 and a reasoner is required. +Java 6 is required. (All other libraries are included in the release.) Installation ============ @@ -20,9 +20,12 @@ Run "dllearner.bat" followed by the name of the file to process, e.g. "dllearner.bat examples/father.conf". -All: +As a convenience method, you can also run "quickstart". The script will present a +numbered list of all examples found in the examples folder, where you can choose +an examples. You can also call "gui" and load one of the conf files, change try +differnt configuration options etc. -You can use the "java" command to run the program directly. Have a look at +Note: You can also use the "java" command to run the program directly. Have a look at "dllearner" and "dllearner.bat" to see what the command looks like. Web-Service @@ -30,5 +33,14 @@ If you want to run DL-Learner as a Web Service, you can run the scripts "ws" or "ws.bat". They create an own local webserver running DL-Learner. Some simple -PHP example for using the web service are available at our SVN Repository: +PHP examples for using the web service are available at our SVN Repository: http://dl-learner.svn.sourceforge.net/viewvc/dl-learner/trunk/src/php-examples/ + + +Developers +==================== + +An example script on how to use DL-Learner is available in Java at +src/dl-learner/org/dllearner/scripts/NewSample.java. Please drop us a note +(mail: le...@in...) if you plan to use DL-Learner or +have further questions. Modified: trunk/build.xml =================================================================== --- trunk/build.xml 2008-10-13 12:34:43 UTC (rev 1374) +++ trunk/build.xml 2008-10-13 15:56:08 UTC (rev 1375) @@ -154,6 +154,10 @@ </fileset> </copy> + <!-- copy special files (INSTALL, README) --> + <copy file="INSTALL" toDir="${release_tmp_dir}" /> + <copy file="README" toDir="${release_tmp_dir}" /> + <!-- create tar.gz files (allows storing whether a file is executable) --> <tar longfile="gnu" destfile="dllearner-nosource-${today}.tar.gz" compression="gzip"> <!-- extra set for executable files --> Deleted: trunk/examples/commandcollection.txt =================================================================== --- trunk/examples/commandcollection.txt 2008-10-13 12:34:43 UTC (rev 1374) +++ trunk/examples/commandcollection.txt 2008-10-13 15:56:08 UTC (rev 1375) @@ -1,72 +0,0 @@ -// just a collection of options for copy and paste -// not complete !!! - -// control output -showIndividuals = true; -showConcepts = true; -showRoles = true; -showInternalKB = true; -showSubsumptionHierarchy = true; - -// do not display http://localhost/foo# in concepts -// and roles to make the output more readable -hidePrefix("http://localhost/foo#"); - -// reasoner settings -reasoner = dig; -reasoner = fastInstanceChecker; -digReasonerURL = "http://localhost:8081"; -useRetrievalForClassification = true; -refinement.useDIGMultiInstanceChecks = twoChecks; - -// algorithm settings -algorithm = refinement; -algorithm = refexamples; -refinement.horizontalExpansionFactor = 0.6; -refinement.quiet = false; -refinement.useTooWeakList = true; -refinement.heuristic = flexible; -refinement.ignoredConcepts={"http://www.test.de/test#ONE"}; -refexamples.ignoredConcepts={"http://www.test.de/test#ONE"}; -percentPerLengthUnit = 0.05; - -//learning problems -problem = posOnlyDefinition; - -// search tree protocol -refinement.writeSearchTree = false; -refinement.searchTreeFile = "log/SearchTree.txt"; -refinement.replaceSearchTree = false; - - -//dig protocol -writeDIGProtocol = true; -digProtocolFile = "dig.log"; - -//knowledgesources -import("someFile.kb"); -import("someFile.owl"); - - -// SPARQL options -sparql.recursionDepth = 1; - -//predefined filter (1 = YAGO based learning) -sparql.predefinedFilter = 5; -sparql.predefinedEndpoint = 1; - -//*********SKOS specific -// replace skos with owl properties -sparql.replacePredicate = [ -("http://www.w3.org/2004/02/skos/core#subject","http://www.w3.org/1999/02/22-rdf-syntax-ns#type"), -("http://www.w3.org/2004/02/skos/core#broader","http://www.w3.org/2000/01/rdf-schema#subClassOf")]; - -// because skos is cyclic this stops it -//manually after retrieving the specified amount of classes -sparql.breakSuperClassRetrievalAfter=200; - - -import("http://dbpedia.openlinksw.com:8890/sparql","SPARQL"); -sparql.instances = {}; - -posNegDefinition.percentPerLengthUnit = 0.10; \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |