Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
@problog_export_nondet('+str', '-str', '-str', '-str', '-str', '-str', '-str')
def clausie(sent):
sent = remove_apostrophe(sent)
clauses = cl.clausie(sent)
propositions = cl.extract_propositions(clauses)
result = []
for proposition in propositions:
ptext = cl.proposition_text(proposition)
prop = []
for p in ptext:
prop.append(" ".join([pp.text for pp in p]))