saving example_id correctly (see import of corpus example)

mt-homonymy-support
Ozbolt Menegatti 4 years ago
parent f1f540e5da
commit 6e1f3bd16a

@ -220,7 +220,7 @@ class SkeInsert(DataChgClickMessage):
def _as_corpus_example(self, example):
new_example = Example()
new_example.inner = CorpusExample()
new_example.inner.other_attributes["exampleId"] = example.s_id
new_example.inner.other_attributes["example_id"] = example.s_id
new_example.inner.cluster = ExampleClusters.first_empty_cluster()
lex_left = ComponentLexeme()

Loading…
Cancel
Save