Class Extractor

java.lang.Object
org.getalp.dbnary.cli.mixins.Extractor
Direct Known Subclasses:
ExtractWiktionary, GetExtractedSemnet

public class Extractor extends Object
  • Field Details

  • Constructor Details

    • Extractor

      public Extractor()
  • Method Details

    • setupHandlers

      protected Integer setupHandlers(String tdbDir) throws NoWiktionaryExtractorException
      Setup the extraction handlers
      Parameters:
      tdbDir - the directory containing the TDB database
      Returns:
      0 if successful, -1 otherwise
      Throws:
      NoWiktionaryExtractorException - if the extraction handlers could not be set up
    • postProcessAfterExtraction

      protected void postProcessAfterExtraction(String version)
    • cleanupHandlers

      protected void cleanupHandlers()