Package at.ofai.gate.extendedgazetteer

Examples of at.ofai.gate.extendedgazetteer.ExtendedGazetteer


    // create an instance of the ExtendedGazetteer
    FeatureMap fm = Factory.newFeatureMap();
    File defFile = new File(testingDir,"extgaz1.def");
    URL defURL = defFile.toURI().toURL();
    fm.put("listsURL", defURL);
    ExtendedGazetteer gaz = (ExtendedGazetteer)Factory.createResource(
            "at.ofai.gate.extendedgazetteer.ExtendedGazetteer", fm);
    String origclass = gaz.getClass().getName();
    ExtendedGazetteer dup = (ExtendedGazetteer)Factory.duplicate(gaz);
    assertEquals(origclass, dup.getClass().getName());
  }
View Full Code Here


    // create an instance of the ExtendedGazetteer
    FeatureMap fm = Factory.newFeatureMap();
    File defFile = new File(testingDir,"extgaz1.def");
    URL defURL = defFile.toURI().toURL();
    fm.put("listsURL", defURL);
    ExtendedGazetteer gaz = (ExtendedGazetteer)Factory.createResource(
            "at.ofai.gate.extendedgazetteer.ExtendedGazetteer", fm);
    String origclass = gaz.getClass().getName();
    // create a serial corpus controller and add the PR
    SerialAnalyserController cont =
        (SerialAnalyserController)
        Factory.createResource(
            "gate.creole.SerialAnalyserController",
View Full Code Here

TOP

Related Classes of at.ofai.gate.extendedgazetteer.ExtendedGazetteer

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.