if (newType != null) {
// Update the SemanticTypes data structure for the worksheet
worksheet.getSemanticTypes().addType(newType);
// Update the synonym semanticTypes
newSynonymTypes = new SynonymSemanticTypes(typesList);
worksheet.getSemanticTypes().addSynonymTypesForHNodeId(newType.getHNodeId(), newSynonymTypes);
}
// Identify the outliers if the semantic type exists in the crfmodel
// List<String> existingLabels = new ArrayList<String>();