public String getMetadataAsString() {
        if (metadata == null) {
            return "";
        }
        StringBuilder sb = new StringBuilder();
        for (int i = 0; i < metadata.length; i++) {
            sb.append(metadata[i]);
            if (i < metadata.length - 1) {
                sb.append(",");
            }
        }
        return sb.toString();
    }
Returns a string containing a comma-separated list of metadata whose
values will be analyzed using cTAKES.

@return a string containing a comma-separated list of metadata whose
values will be analyzed using cTAKES.
tika-parsers/tika-parsers-ml/tika-parser-nlp-module/src/main/java/org/apache/tika/parser/ctakes/CTAKESConfig.java