def strlib_unary_features(span):
if not span.sentence.is_structural():<EOL><INDENT>return<EOL><DEDENT>yield f"<STR_LIT>", DEF_VALUE<EOL>for attr in get_attributes(span):<EOL><INDENT>yield f"<STR_LIT>", DEF_VALUE<EOL><DEDENT>yield f"<STR_LIT>", DEF_VALUE<EOL>prev_tags = get_prev_sibling_tags(span)<EOL>if len(prev_tags):<EOL><INDENT>yield f"<STR_LIT>", DEF_VALUE<EOL>yield f"<STR_LIT>", DEF_VALUE<EOL><DEDENT>else:<EOL><INDENT>yield "<STR_LIT>", DEF_VALUE<EOL><DEDENT>next_tags = get_next_sibling_tags(span)<EOL>if len(next_tags):<EOL><INDENT>yield f"<STR_LIT>", DEF_VALUE<EOL><DEDENT>else:<EOL><INDENT>yield "<STR_LIT>", DEF_VALUE<EOL><DEDENT>yield f"<STR_LIT>", DEF_VALUE<EOL>yield f"<STR_LIT>", DEF_VALUE<EOL>yield f"<STR_LIT>", DEF_VALUE<EOL>
Structural-related features for a single span