Skip to content

How to escape empty line? #430

Open
Open
@fuzihaofzh

Description

@fuzihaofzh

I have a text file with some empty lines inside. If I run build_vocab, it will crash since example have no text for empty lines. How can I deal with this situation? I foud that there is no function in TabularDataset that can handle.
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions