old_contents: """
  Downloads existing classifiers
  """
  import click
  from classifier.utilities import ( confs )
  from subprocess import call
  
  @click.option("--lang", help="Limit to language")
  @click.command("get_models")
  @click.pass_context
  def get_models(ctx, lang):
      """
      download classifiers for each of our languages.
      """
      for (directory, conf) in confs(ctx.obj["base"]):
          if lang and conf["language"] != lang:
              continue 
          model_path = "data/{}/classifier.dill".format(conf["language"])
          call(["wget", "-O", model_path, "https://s3.amazonaws.com/pp-data/fbpac-models/{}/classifier.dill".format(conf["language"])])
  
new_contents: """
  Downloads existing classifiers
  """
  import click
  from classifier.utilities import ( confs )
  from subprocess import call
  
  @click.option("--lang", help="Limit to language")
  @click.command("get_models")
  @click.pass_context
  def get_models(ctx, lang):
      """
      download classifiers for each of our languages.
      """
      for (directory, conf) in confs(ctx.obj["base"]):
          if lang and conf["language"] != lang:
              continue 
          model_path = "data/{}/classifier.dill".format(conf["language"])
          call(["wget", "-nv", "-O", model_path, "https://s3.amazonaws.com/pp-data/fbpac-models/{}/classifier.dill".format(conf["language"])])
  
subject: make wget a lil quieter