Xfail some tests

This commit is contained in:
Matthew Honnibal 2020-06-22 15:54:04 +02:00
parent bc481d8338
commit c65f0ed8f6

View File

@ -65,6 +65,8 @@ def test_oracle_four_words(arc_eager, vocab):
words = ["a", "b", "c", "d"]
heads = [1, 1, 3, 3]
deps = ["left", "ROOT", "left", "ROOT"]
for dep in deps:
arc_eager.add_label(dep)
actions = ["L-left", "B-ROOT", "L-left"]
state, cost_history = get_sequence_costs(arc_eager, words, heads, deps, actions)
assert state.is_final()