code: def test():
      from nltk.corpus.util import LazyCorpusLoader
  
      knbc = LazyCorpusLoader(
          "knbc/corpus1", KNBCorpusReader, r".*/KN.*", encoding="euc-jp"
      )
      assert isinstance(knbc.words()[0], str)
      assert isinstance(knbc.sents()[0][0], str)
      assert isinstance(knbc.tagged_words()[0], tuple)
      assert isinstance(knbc.tagged_sents()[0][0], tuple)
  
file_path: nltk/nltk/corpus/reader/knbc.py
imports: import re
  from nltk.corpus.reader.api import CorpusReader, SyntaxCorpusReader
  from nltk.corpus.reader.util import FileSystemPathPointer, find_corpus_fileids, read_blankline_block
  from nltk.parse import DependencyGraph
label_desc: Use image node_id 2 for calling a global function with example usage: test() without return types