def match_character_and_constant_quote_length(base, candidate): return (base[3] == candidate[3] and 5 <= MQuote.word_count(base[4]) <= 7 and 5 <= MQuote.word_count(candidate[4]) <= 7)
def match_character_and_quote_length(base, candidate): return (base[3] == candidate[3] and 0 <= (MQuote.word_count(base[4]) - MQuote.word_count(candidate[4])) <= 0)