org.dllearner.scripts
Class NewSample

java.lang.Object
  extended by org.dllearner.scripts.NewSample

public class NewSample
extends Object

Sample script showing how to use DL-Learner. Provides an entry point for tool developers.

Author:
Sebastian Hellmann, Jens Lehmann

Constructor Summary
NewSample()
           
 
Method Summary
static List<? extends EvaluatedDescription> learn(String owlFile, SortedSet<String> posExamples, SortedSet<String> negExamples, int maxNrOfResults)
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NewSample

public NewSample()
Method Detail

main

public static void main(String[] args)
                 throws IOException,
                        ComponentInitException,
                        LearningProblemUnsupportedException
Throws:
IOException
ComponentInitException
LearningProblemUnsupportedException

learn

public static List<? extends EvaluatedDescription> learn(String owlFile,
                                                         SortedSet<String> posExamples,
                                                         SortedSet<String> negExamples,
                                                         int maxNrOfResults)
                                                  throws ComponentInitException,
                                                         LearningProblemUnsupportedException
Throws:
ComponentInitException
LearningProblemUnsupportedException


SourceForge.net Logo DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2008 Jens Lehmann