def ops_to_words(item):
unsupp_ops = ["<STR_LIT>", "<STR_LIT>"]<EOL>supp_ops = ["<STR_LIT>", "<STR_LIT:>>", "<STR_LIT>", "<STR_LIT>", "<STR_LIT:<>", "<STR_LIT>"]<EOL>tokens = sorted(item.split("<STR_LIT:U+002C>"), reverse=True)<EOL>actual_tokens = []<EOL>for req in tokens:<EOL><INDENT>for op in unsupp_ops:<EOL><INDENT>if req.startswith(op):<EOL><INDENT>raise RuntimeError("<STR_LIT>".format(op))<EOL><DEDENT><DEDENT>for op in supp_ops:<EOL><INDENT>if req.startswith(op):<EOL><INDENT>actual_tokens.append(op)<EOL>break<EOL><DEDENT><DEDENT>else:<EOL><INDENT>raise RuntimeError("<STR_LIT>".format(op))<EOL><DEDENT><DEDENT>if len(list(set(actual_tokens))) != len(actual_tokens):<EOL><INDENT>raise RuntimeError("<STR_LIT>")<EOL><DEDENT>if "<STR_LIT>" in actual_tokens:<EOL><INDENT>return (<EOL>"<STR_LIT>".join([op_to_words(token) for token in tokens[:-<NUM_LIT:1>]])<EOL>+ "<STR_LIT:U+0020>"<EOL>+ op_to_words(tokens[-<NUM_LIT:1>])<EOL>)<EOL><DEDENT>return "<STR_LIT>".join([op_to_words(token) for token in tokens])<EOL>
Translate requirement specification to words.