code: def init(filename, order=3, tokenizer=None):
          
          log.info("Initializing a cobe brain: %s" % filename)
  
          if tokenizer is None:
              tokenizer = "Cobe"
  
          if tokenizer not in ("Cobe", "MegaHAL"):
              log.info("Unknown tokenizer: %s. Using CobeTokenizer", tokenizer)
              tokenizer = "Cobe"
  
          graph = Graph(sqlite3.connect(filename))
  
          with trace_us("Brain.init_time_us"):
              graph.init(order, tokenizer)
docs: Initialize a brain. This brain's file must not already exist.
  
  Keyword arguments:
  order -- Order of the forward/reverse Markov chains (integer)
  tokenizer -- One of Cobe, MegaHAL (default Cobe). See documentation
               for cobe.tokenizers for details. (string)