def test_noun_chunks_is_parsed(ht_tokenizer):
    """Test that noun_chunks raises Value Error for 'ht' language if Doc is not parsed."""
    doc = ht_tokenizer("Sa a se yon fraz")
    with pytest.raises(ValueError):
        list(doc.noun_chunks)
Test that noun_chunks raises Value Error for 'ht' language if Doc is not parsed.
spacy/tests/lang/ht/test_noun_chunks.py