@nullify<EOL>def award_group_principal_award_recipient(tag):
award_group_principal_award_recipient = []<EOL>principal_award_recipients = extract_nodes(tag, "<STR_LIT>")<EOL>for t in principal_award_recipients:<EOL><INDENT>principal_award_recipient_text = "<STR_LIT>"<EOL>institution = node_text(first(extract_nodes(t, "<STR_LIT>")))<EOL>surname = node_text(first(extract_nodes(t, "<STR_LIT>")))<EOL>given_names = node_text(first(extract_nodes(t, "<STR_LIT>")))<EOL>string_name = node_text(first(raw_parser.string_name(t)))<EOL>if(given_names):<EOL><INDENT>principal_award_recipient_text += given_names<EOL><DEDENT>if(principal_award_recipient_text != "<STR_LIT>"):<EOL><INDENT>principal_award_recipient_text += "<STR_LIT:U+0020>"<EOL><DEDENT>if(surname):<EOL><INDENT>principal_award_recipient_text += surname<EOL><DEDENT>if(institution):<EOL><INDENT>principal_award_recipient_text += institution<EOL><DEDENT>if(string_name):<EOL><INDENT>principal_award_recipient_text += string_name<EOL><DEDENT>award_group_principal_award_recipient.append(principal_award_recipient_text)<EOL><DEDENT>return award_group_principal_award_recipient<EOL>
Find the award group principal award recipient, one for each
item found in the get_funding_group section