docstr: Returns a view specialised for use with particular corpus file.
docstr_tok: ["Returns","a","view","specialised","for","use","with","particular","corpus","file","."]
code: def _view(self, filename, tags=None, **kwargs):
      """
      Returns a view specialised for use with particular corpus file.
      """
      mode = kwargs.pop("mode", NKJPCorpusReader.WORDS_MODE)
      if mode is NKJPCorpusReader.WORDS_MODE:
          return NKJPCorpus_Morph_View(filename, tags=tags)
      elif mode is NKJPCorpusReader.SENTS_MODE:
          return NKJPCorpus_Segmentation_View(filename, tags=tags)
      elif mode is NKJPCorpusReader.HEADER_MODE:
          return NKJPCorpus_Header_View(filename, tags=tags)
      elif mode is NKJPCorpusReader.RAW_MODE:
          return NKJPCorpus_Text_View(
              filename, tags=tags, mode=NKJPCorpus_Text_View.RAW_MODE
          )
  
      else:
          raise NameError("No such mode!")
  
imports: import functools
  import os
  import re
  import tempfile
  from nltk.corpus.reader.util import concat
  from nltk.corpus.reader.xmldocs import XMLCorpusReader, XMLCorpusView
label_desc: Use image node_id 4 for calling the NKJPCorpusReader obj's underlying member method code with example usage: obj._view(filename, tags) and returns: NKJPCorpus_Morph_View, NKJPCorpus_Segmentation_View, NKJPCorpus_Header_View, NKJPCorpus_Text_View