def test_need_dep(nl_tokenizer):
    """
    Test that noun_chunks raises Value Error for 'nl' language if Doc is not parsed.
    """
    txt = "Haar vriend lacht luid."
    doc = nl_tokenizer(txt)

    with pytest.raises(ValueError):
        list(doc.noun_chunks)

    Test that noun_chunks raises Value Error for 'nl' language if Doc is not parsed.
    
spacy/tests/lang/nl/test_noun_chunks.py