/**
* Illustrate how to configure the annotator with the shared model object.
*/
public static void main(String[] args) throws Exception {
ExternalResourceDescription extDesc = createExternalResourceDescription(SharedModel.class,
new File("somemodel.bin"));
// Binding external resource to each Annotator individually
AnalysisEngineDescription aed1 = createEngineDescription(Annotator.class, Annotator.RES_MODEL,
extDesc);