Skip to content

Delete the token '\n' (and '\r' if any) in the txt format. #27

@cloudyyyyy

Description

@cloudyyyyy

I think the embedding of token '\n' is almost useless, and it will cause some IO errors when we load embedding in the specific operate system, which use the '\n' as the line break symbol.

This problem exists when I use torchtext and gensim.

If it's my fault, how could I solve it elegantly? I solve it by deleting token '\n' and its embedding.

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