public static void reset(AnalysisEngine ae, JCas jcas) {
        // Analysis Engine
        resetAE(ae);

        // JCas
        resetCAS(jcas);
        jcas = null;
    }
Resets cTAKES objects, if created. This method ensures that new cTAKES
objects (a.k.a., Analysis Engine and JCas) will be created if getters of
this class are called.

@param ae   UIMA Analysis Engine
@param jcas JCas object
tika-parsers/tika-parsers-ml/tika-parser-nlp-module/src/main/java/org/apache/tika/parser/ctakes/CTAKESUtils.java