source/dataparsing/text_tagging.py
def detect_quotes_in_multiple_texts(data, citation_text, text_quotes):
    """With every quote and all texts, mark all citations that are present"""
    for quote in text_quotes:
        if_quote_in_citation = False
        for citation in citation_text:
            if not if_quote_in_citation: #Just needs to be in one citation
                if_quote_in_citation = check_quote_in_text(quote, citation)
        data = mark_present_quotes(data, quote, if_quote_in_citation)
    return data
With every quote and all texts, mark all citations that are present
With every quote and all texts, mark all citations that are present
With every quote and all texts mark all citations that are present
def detect_quotes_in_multiple_texts(data, citation_text, text_quotes):
    for quote in text_quotes:
        if_quote_in_citation = False
        for citation in citation_text:
            if not if_quote_in_citation: 
                if_quote_in_citation = check_quote_in_text(quote, citation)
        data = mark_present_quotes(data, quote, if_quote_in_citation)
    return data
def detect_quotes_in_multiple_texts ( data , citation_text , text_quotes ) : for quote in text_quotes : if_quote_in_citation = False for citation in citation_text : if not if_quote_in_citation : if_quote_in_citation = check_quote_in_text ( quote , citation ) data = mark_present_quotes ( data , quote , if_quote_in_citation ) return data
With every quote and all texts, mark all citations that are present
With every quote and all texts mark all citations that are present
"""With every quote and all texts, mark all citations that are present""" #Just needs to be in one citation
data
citation_text
text_quotes