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

org.openkoreantext.processor.tools.UpdateAllTheExamples.scala Maven / Gradle / Ivy

There is a newer version: 2.3.1
Show newest version
package org.openkoreantext.processor.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