def get_normalized_terms(term_id: str) -> dict:
canonical = term_id<EOL>decanonical = term_id<EOL>canonical_namespace_targets = config["<STR_LIT>"]["<STR_LIT>"]["<STR_LIT>"]<EOL>decanonical_namespace_targets = config["<STR_LIT>"]["<STR_LIT>"]["<STR_LIT>"]<EOL>results = get_equivalents(term_id)<EOL>equivalents = results["<STR_LIT>"]<EOL>if equivalents:<EOL><INDENT>canonical = get_normalized_term(term_id, equivalents, canonical_namespace_targets)<EOL>decanonical = get_normalized_term(canonical, equivalents, decanonical_namespace_targets)<EOL><DEDENT>return {"<STR_LIT>": canonical, "<STR_LIT>": decanonical, "<STR_LIT>": term_id}<EOL>
Get normalized terms - canonical/decanonical forms