Skip to content

一个疑问:为什么ConllLoader要把“#”过滤掉 #419

Open
@hupidong

Description

@hupidong

你好,在用ConllLoader加载NER数据集的时候,发现会把"#"过滤掉,因为在实际的问句中确实有#号存在的情况,不知道是出于什么原因考虑过滤掉呢?是否可以不过滤,或者支持自定义是否过滤?谢谢。

fastNLP.io.file_reader
line 124,125:
elif line.startswith('#'):
continue

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