Package org.apache.stanbol.enhancer.engines.lucenefstlinking

Examples of org.apache.stanbol.enhancer.engines.lucenefstlinking.CorpusCreationTask


            Assert.assertTrue("Failure in UnitTest - all FST models need to be generate=true",
                corpus.allowCreation);
            if(!corpus.isFstFile()){
                //create a task on the FST corpus creation service
                creationTasks.add(fstConfig.getExecutorService().submit(
                    new CorpusCreationTask(fstConfig, corpus)));
            }
        }
        //and wait until all models are built (should only take some seconds on
        //typical hardware
        for(Future<?> future : creationTasks){
View Full Code Here

TOP

Related Classes of org.apache.stanbol.enhancer.engines.lucenefstlinking.CorpusCreationTask

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.