com.twitter.penguin.korean.tools.UpdateAllTheExamples.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of korean-text Show documentation
Show all versions of korean-text Show documentation
Scala library to process Korean text
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
)
}
}