truth-kernel-sdk / rules-double_speak.py
AnomalousPrime's picture
Create rules-double_speak.py
ae761cf verified
raw
history blame contribute delete
214 Bytes
def validate(text):
contradictions = ["war is peace", "freedom is slavery", "ignorance is strength"]
for phrase in contradictions:
if phrase in text.lower():
return True
return False