Package org.mediameter.cliff.extractor

Examples of org.mediameter.cliff.extractor.StanfordNamedEntityExtractor


        if(parser==null){

            // use the Stanford NER location extractor
            String modelToUse = CliffConfig.getInstance().getNerModelName();
            logger.debug("Creating extractor with "+modelToUse);
            StanfordNamedEntityExtractor locationExtractor = new StanfordNamedEntityExtractor(Model.valueOf(modelToUse));               
           
            boolean useFuzzyMatching = false;
            Gazetteer gazetteer = new LuceneGazetteer(new File(PATH_TO_GEONAMES_INDEX));
            resolver = new CliffLocationResolver(gazetteer);
View Full Code Here

TOP

Related Classes of org.mediameter.cliff.extractor.StanfordNamedEntityExtractor

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.