print(' example connected to syntax but not connected to semantics')
# example connected to syntax but not connected to semantics
connection=ExampleConnection(example=example)
connection.save()
...
...
@@ -102,6 +106,7 @@ class Example:
hook.save()
connection.schema_connections.add(hook)
elifself._arguments.exists():
#print(' example connected to both syntax and semantics and connection can be transfered')
# example connected to both syntax and semantics
# and connection can be transfered
lemma,meaning=meanings[self._meaning]
...
...
@@ -126,6 +131,8 @@ class Example:
hook.save()
connection.schema_connections.add(hook)
else:
print(' STORING EXAMPLE:',self._sentence)
print(' example connected to both syntax and semantics but connection cannot be transfered or connected to schema but not to any phrases in it; treated as not connected to syntax')
# example connected to both syntax and semantics
# but connection cannot be transfered
# or connected to schema but not to any phrases in it