Tabnine Logo
BaleenAnnotator.getAction
Code IndexAdd Tabnine to your IDE (free)

How to use
getAction
method
in
uk.gov.dstl.baleen.uima.BaleenAnnotator

Best Java code snippets using uk.gov.dstl.baleen.uima.BaleenAnnotator.getAction (Showing top 2 results out of 315)

origin: dstl/baleen

@Override
public void initialize(UimaContext context) throws ResourceInitializationException {
 // This will do initialization of resources,
 // but won't be included in the metrics
 super.initialize(context);
 String pipelineName = UimaUtils.getPipelineName(context);
 monitor = createMonitor(pipelineName);
 support = createSupport(pipelineName, context);
 monitor.startFunction("initialize");
 doInitialize(context);
 monitor.finishFunction("initialize");
 String uuid = (String) getContext().getConfigParameterValue(PipelineBuilder.ANNOTATOR_UUID);
 AnalysisEngineActionStore.getInstance().add(uuid, getAction());
}
origin: uk.gov.dstl.baleen/baleen-uima

@Override
public void initialize(UimaContext context) throws ResourceInitializationException {
 // This will do initialization of resources,
 // but won't be included in the metrics
 super.initialize(context);
 String pipelineName = UimaUtils.getPipelineName(context);
 monitor = createMonitor(pipelineName);
 support = createSupport(pipelineName, context);
 monitor.startFunction("initialize");
 doInitialize(context);
 monitor.finishFunction("initialize");
 String uuid = (String) getContext().getConfigParameterValue(PipelineBuilder.ANNOTATOR_UUID);
 AnalysisEngineActionStore.getInstance().add(uuid, getAction());
}
uk.gov.dstl.baleen.uimaBaleenAnnotatorgetAction

Javadoc

Return an AnalysisEngineAction that programmatically describes what the analysis engine is doing, such that it can be automatically ordered by an IPipelineOrderer

Popular methods of BaleenAnnotator

  • doInitialize
    Called when the analysis engine is being initialized. Any required resources, for example, should be
  • doDestroy
    Called when the analysis engine has finished and is closing down. Any open resources, for example, s
  • createMonitor
  • createSupport
  • doProcess
    Called when UIMA wants the annotator to process a document. The passed JCas object contains informat
  • getContext
  • getSupport
    Get the UIMA support for this annotator.
  • initialize

Popular in Java

  • Finding current android device location
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • setRequestProperty (URLConnection)
  • runOnUiThread (Activity)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now