Commit 8bf2d43d authored by Robyn Speer's avatar Robyn Speer
Browse files

skip the header line in kyoto_yahoo, but actually do process the file

parent eb8d2a1f
......@@ -26,7 +26,7 @@ def handle_file(input_filename, output_file):
parts = line.rstrip('\n').split('\t')
uri, start, rel, end, weight, source = parts
if uri == 'uri':
return
continue
edge = make_edge(
rel=rel,
......
uri rel start end weight source
/a/[/c/ja/α_テスト,/r/IsA,/c/ja/テスト] /c/ja/α_テスト /r/IsA /c/ja/テスト 3 Kyoto University & Yahoo Japan Corporation
/a/[/c/ja/α_テスト,/r/IsA,/c/ja/試験] /c/ja/α_テスト /r/IsA /c/ja/試験 3 Kyoto University & Yahoo Japan Corporation
/a/[/c/ja/β_テスト,/r/IsA,/c/ja/テスト] /c/ja/β_テスト /r/IsA /c/ja/テスト 4 Kyoto University & Yahoo Japan Corporation
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment