Class ExternalResourceExample2
java.lang.Object
org.apache.uima.fit.examples.resource.ExternalResourceExample2
Example for the use of external resources with uimaFIT.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Example annotator that uses the share model object.static final class
Simple model that only stores the URI it was loaded from. -
Constructor Summary
-
Method Summary
-
Constructor Details
-
ExternalResourceExample2
public ExternalResourceExample2()
-
-
Method Details
-
main
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
-