public void setSerialize(boolean serialize) {
        this.serialize = serialize;
    }
Enables CAS serialization.

@param serialize {@code true} to enable CAS serialization, {@code false} otherwise.
tika-parsers/tika-parsers-ml/tika-parser-nlp-module/src/main/java/org/apache/tika/parser/ctakes/CTAKESConfig.java