Open MPvHarmelen opened 6 years ago
Because CoNLLDocument.document_table is a (mutable) list of lists, line 531 also changes the original table, because it is not copied in the following line:
CoNLLDocument.document_table
https://github.com/smartschat/cort/blob/c637594b57ab9f556a236bd94fb2b6c75ac4e550/cort/core/documents.py#L528
Because
CoNLLDocument.document_table
is a (mutable) list of lists, line 531 also changes the original table, because it is not copied in the following line:https://github.com/smartschat/cort/blob/c637594b57ab9f556a236bd94fb2b6c75ac4e550/cort/core/documents.py#L528