code: def set_paths(dir_root='.'):
      global DIR_ROOT,sylcmu
      DIR_ROOT = dir_root
      os.environ['STANFORD_PARSER'] = os.path.join(dir_root,'StanfordLibrary/stanford-parser-full-%s/stanford-parser.jar' % DATE)
      os.environ['STANFORD_MODELS'] = os.path.join(dir_root,'StanfordLibrary/stanford-parser-full-%s/stanford-parser-%s-models.jar' % (DATE, MODELS_VERSION))
      os.environ['STANFORD_EJML']   = os.path.join(dir_root,'StanfordLibrary/stanford-parser-full-%s/ejml-%s.jar' % (DATE, EJML_VERSION))
  
      
      sylcmu = {}
docs: then=time.time()
      print '>> loading CMU for MetricalParser...'
      sylcmu = pkl.load(open(os.path.join(dir_root,'Pickle Jar/sylcmu.pkl')))
      now=time.time()
      print '>> done loading in',round(now-then,2),'seconds'