Package org.dbpedia.spotlight.spot.lingpipe

Examples of org.dbpedia.spotlight.spot.lingpipe.LingPipeSpotter



    /**
     * No selection:
     */
    Spotter spotter = new LingPipeSpotter(new File(configuration.getSpotterConfiguration().getSpotterFile()), configuration.getAnalyzer());
    SelectorResult spotterBaseResult = getSelectorResult(spotter, evaluationCorpus);
    spotterBaseResult.printResult(baseResult);
   
   
    /**
 
View Full Code Here


                File stopwordsFile = new File(openNLPDir+"stopwords.txt");
                spotter = OpenNLPChunkerSpotter.fromDir(openNLPDir,configuration.getI18nLanguageCode(),sfDictProbThresh3,stopwordsFile);
                break;
            }
            case 1: {
                spotter = new LingPipeSpotter(dictionary, configuration.getAnalyzer());
                break;
            }
        }

View Full Code Here

    /**
     * No selection:
         */
        File lexSpotterGoldFile = new File("/home/pablo/eval/csaw/gold/surfaceForms.set.spotterDictionary");
        Spotter lexSpotterGold = new LingPipeSpotter(lexSpotterGoldFile , configuration.getAnalyzer());
        lexSpotterGold.setName("\\lexspot{gold}        ");
        latexTable.append(getLatexTableRow(lexSpotterGold, documents, goldSurfaceFormOccurrences,baseResult));

        File lexSpotterT3File = new File("/home/pablo/web/dbpedia36data/2.9.3/surface_forms-Wikipedia-TitRedDis.thresh3.spotterDictionary");
        Spotter lexSpotterT3 = new LingPipeSpotter(lexSpotterT3File, configuration.getAnalyzer());
        lexSpotterT3.setName("\\lexspot{>3}        ");
        latexTable.append(getLatexTableRow(lexSpotterT3, documents, goldSurfaceFormOccurrences,baseResult));

    File lexSpotterT10File = new File("/home/pablo/web/dbpedia36data/2.9.3/surface_forms-Wikipedia-TitRedDis.uriThresh10.tsv.spotterDictionary");
        Spotter lexSpotterT10 = new LingPipeSpotter(lexSpotterT10File, configuration.getAnalyzer());
        lexSpotterT10.setName("\\lexspot{>10}        ");
        latexTable.append(getLatexTableRow(lexSpotterT10, documents, goldSurfaceFormOccurrences,baseResult));

        File lexSpotterT75File = new File("/home/pablo/web/dbpedia36data/2.9.3/surface_forms-Wikipedia-TitRedDis.uriThresh75.tsv.spotterDictionary");
        Spotter lexSpotterT75 = new LingPipeSpotter(lexSpotterT75File, configuration.getAnalyzer());
        lexSpotterT75.setName("\\lexspot{>75}        ");
        latexTable.append(getLatexTableRow(lexSpotterT75, documents, goldSurfaceFormOccurrences,baseResult));

    /**
     * At least one noun:
     */
 
View Full Code Here


    ///**
    // * No selection:
    // */
    Spotter spotter = new LingPipeSpotter(new File(configuration.getSpotterConfiguration().getSpotterFile()), configuration.getAnalyzer());
    //
    //extract(jsonObject, spotter);


    /**
 
View Full Code Here

TOP

Related Classes of org.dbpedia.spotlight.spot.lingpipe.LingPipeSpotter

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.