code: def test_noun_chunks_is_parsed(en_tokenizer):
      """Test that noun_chunks raises Value Error for 'en' language if Doc is not parsed."""
      doc = en_tokenizer("This is a sentence")
      with pytest.raises(ValueError):
          list(doc.noun_chunks)
  
imports: import pytest
  from spacy.tokens import Doc
label_desc: Use image node_id 2 for calling a global function with example usage: test_noun_chunks_is_parsed(en_tokenizer) without return types