def generate_key_terms_layer(xml_based_reg_json): layer_generator = key_terms.KeyTerms(xml_based_reg_json) return layer_generator.build()
def generate_key_terms(reg): """ Generate the key terms layer """ layer_generator = key_terms.KeyTerms(reg) layer_generator.build() print NodeEncoder().encode(layer_generator.build())