class_docstr: Application(type, *args, **kwargs)
  Create an application instance of any type.
  
  Parameters:
      type (str): application type,
          can be 'graph', 'word graph', 'knowledge graph' or 'visualization'
class_docstr_tok: ["Application","(","type",",","*","args",",","*","*","kwargs",")","Create","an","application","instance","of","any","type",".","Parameters",":","type","(","str",")",":","application","type",",","can","be","'graph","'",",","'word","graph","'",",","'knowledge","graph","'","or","'visualization","'"]
code: def __new__(cls, type, *args, **kwargs):
      if type in cls.application:
          return cls.application[type](*args, **kwargs)
      else:
          raise ValueError("Unknown application `%s`" % type)
  
imports: from __future__ import print_function, absolute_import, unicode_literals, division
  import os
  import re
  import pickle
  import logging
  import multiprocessing
  from collections import defaultdict
  from future.builtins import str, map, range
  from easydict import EasyDict
  import numpy
  from ..None import lib, cfg, auto
  from ..None import graph, solver
  from ..util import assert_in, monitor, SharedNDArray
label_desc: Use image node_id 1 for calling the Application obj's underlying member method code with example usage: obj.__new__(cls, type) and returns: cls