Skip to content

fix filtertoolong transform when there is an empty token #27

@vince62s

Description

@vince62s

see here: OpenNMT/CTranslate2#1687 (comment)

but maybe we also need to avoid empty tokens resulting from a.split(" ") when there is two consecutive spaces in a

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