truth-kernel-sdk / rules /double_speak.py
AnomalousPrime's picture
Create rules/double_speak.py
7f9da7e 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