Skip to content

CoNLLDocument.document_table is changed in CoNLLDocument.get_string_representation #22

@MPvHarmelen

Description

@MPvHarmelen

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:

new_table = self.document_table

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions