final_year / analysis /consistency_check.py
jayasrees's picture
first commit
9d21edd
raw
history blame contribute delete
195 Bytes
def check_inconsistency(text1, text2):
keywords = ["shall", "must", "may"]
return any(k in text1.lower() for k in keywords) and \
any(k in text2.lower() for k in keywords)