Class ExternalResourceExample2

java.lang.Object
org.apache.uima.fit.examples.resource.ExternalResourceExample2

public class ExternalResourceExample2 extends Object
Example for the use of external resources with uimaFIT.
  • Constructor Details

    • ExternalResourceExample2

      public ExternalResourceExample2()
  • Method Details

    • main

      public static void main(String[] args) throws Exception
      Illustrate how to configure the Annotator with the SharedModel. You should avoid this approach unless you are absolutely sure you need this. For this approach to work it must be guaranteed that no two components in the aggregate use the same resource key for different resoures, e.g. one "model" for different kinds of models.
      Throws:
      Exception