All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.twitter.penguin.korean.tools.UpdateAllTheExamples.scala Maven / Gradle / Ivy

There is a newer version: 4.4.4
Show newest version
package com.twitter.penguin.korean.tools

object UpdateAllTheExamples {
  def runTools(objects: Runnable*): Unit = {
    objects.foreach{o =>
      println("--- Running %s ---".format(o.getClass.getSimpleName.init))
      o.run
    }
    println("Finished running %s.".format(
      objects.map(_.getClass.getSimpleName).mkString(", ")
    ))
  }

  def main(args: Array[String]) {
    runTools(
      DeduplicateAndSortDictionaries,
      CreateConjugationExamples,
      CreateParsingExamples,
      CreatePhraseExtractionExamples
    )
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy