Skip to content

duplicate sentence ids does not raise exception #4

@sylvainloiseau

Description

@sylvainloiseau

I’m not sure this should be considered a bug, but it seems that when duplicate sentence IDs appear in the corpus, only one of the sentences is preserved. It might be helpful to raise an exception in such cases, since otherwise users may struggle to understand why some sentences are missing from the parsed corpus—or worse, keep working without realizing that part of the corpus is being ignored.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions