Package com.aliasi.sentences

Examples of com.aliasi.sentences.IndoEuropeanSentenceModel


  public static void main(String[] args) throws IOException, ConfigurationException, JSONException, InitializationException, SpottingException, org.json.JSONException {

    SpotlightConfiguration configuration = new SpotlightConfiguration("conf/server.properties");

        LingPipeFactory lingPipeFactory = new LingPipeFactory(new File(configuration.getTaggerFile()), new IndoEuropeanSentenceModel());

    //AnnotatedDataset evaluationCorpus = new AnnotatedDataset(new File("/Users/jodaiber/Documents/workspace/ba/" +
    //    "BachelorThesis/01 Evaluation/02 Annotation/Software/custom/src/annotation/final.test.json"),
    //    AnnotatedDataset.Format.JSON, spotlightFactory);
//
View Full Code Here


  public void setUp() throws Exception {
    super.setUp();

    SpotlightConfiguration configuration = new SpotlightConfiguration("conf/dev.properties");
        LingPipeFactory lingPipeFactory = new LingPipeFactory(new File(configuration.getTaggerFile()), new IndoEuropeanSentenceModel());

    lingPipeTaggedTokenProvider1 = new LingPipeTaggedTokenProvider(lingPipeFactory);
    lingPipeTaggedTokenProvider1.initialize(text1);

    lingPipeTaggedTokenProvider2 = new LingPipeTaggedTokenProvider(lingPipeFactory);
View Full Code Here

  public static void main(String[] args) throws IOException, JSONException, ConfigurationException, InitializationException, org.json.JSONException {


    SpotlightConfiguration configuration = new SpotlightConfiguration("conf/dev.properties");

        LingPipeFactory lingPipeFactory = new LingPipeFactory(new File(configuration.getTaggerFile()), new IndoEuropeanSentenceModel());

        LOG.info("Reading gold standard.");
        AnnotatedDataset evaluationCorpus =
        new AnnotatedDataset(new File("/home/pablo/eval/csaw/original"),
            AnnotatedDataset.Format.CSAW, lingPipeFactory);
View Full Code Here

            System.err.println(usage);
            throw new InputException("Error in parameters provided in command line.",e);
        }

        SpotlightConfiguration configuration = new SpotlightConfiguration(configFile);
        LingPipeFactory lingPipeFactory = new LingPipeFactory(new File(configuration.getTaggerFile()), new IndoEuropeanSentenceModel());
        LOG.info("Reading gold standard.");

        AnnotatedDataset evaluationCorpus =
        new AnnotatedDataset(new File(datasetLocation),
            AnnotatedDataset.Format.JSON, lingPipeFactory);
View Full Code Here

TOP

Related Classes of com.aliasi.sentences.IndoEuropeanSentenceModel

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.