source/dataparsing/text_tagging.py
def eval_citation_for_type(citation_text, key):
    """Only output words of specific type stated in key"""
    unique_terms_cite = []
    for word in citation_text:
        if key in word[1]:
            unique_terms_cite.append(word[0])
    return unique_terms_cite
Only output words of specific type stated in key
Only output words of specific type stated in key
Only output words of specific type stated in key
def eval_citation_for_type(citation_text, key):
    unique_terms_cite = []
    for word in citation_text:
        if key in word[1]:
            unique_terms_cite.append(word[0])
    return unique_terms_cite
def eval_citation_for_type ( citation_text , key ) : unique_terms_cite = [ ] for word in citation_text : if key in word [ 1 ] : unique_terms_cite . append ( word [ 0 ] ) return unique_terms_cite
Only output words of specific type stated in key
Only output words of specific type stated in key
"""Only output words of specific type stated in key"""
citation_text
key