Skip to content

Input WebNLG  #7

@Lexlum

Description

@Lexlum

The codes always returns
File "D:\kg2text-master\graph2text\onmt\bin\preprocess.py", line 241, in count_features
first_tok = f.readline().split(None, 1)[0]

It turns out that the file "train-surfaces.txt" and "train-surfaces-bpe.txt" is empty.
I fount it maybe caused by line 155 : l = l.firstChild.nodeValue.strip().lower()
It always return <DOM Text node "'\n\t\t\t\t'">

I mean there is nothing in there .Is that right?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions