Package org.dbpedia.spotlight.model

Examples of org.dbpedia.spotlight.model.TopicalClassificationConfiguration


* Time: 2:15 PM
*/
public class TopicalServer {

    public static void main(String[] args) throws InterruptedException, URISyntaxException, ClassNotFoundException, InitializationException, IOException {
        TopicalClassificationConfiguration conf = null;
        try {
            conf = new TopicalClassificationConfiguration(args[0]);
        } catch (ConfigurationException e) {
            e.printStackTrace()//To change body of catch statement use File | Settings | File Templates.
        }
        classifier = TopicalClassifierFactory$.MODULE$.fromFile(conf.getModelFile(), conf.getClassifierType()).get();

        Server.main(args);
    }
View Full Code Here

TOP

Related Classes of org.dbpedia.spotlight.model.TopicalClassificationConfiguration

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.