Class AbstractDataset

    • Field Detail

      • outputFileList

        protected final List<String> outputFileList
      • posMapper

        protected Mapper posMapper
      • posMapOptions

        protected String posMapOptions
      • lexMapper

        protected Mapper lexMapper
      • lexMapOptions

        protected String lexMapOptions
      • pathsToData

        protected final List<File> pathsToData
      • pathsToMappings

        protected final List<File> pathsToMappings
      • addDeterminer

        protected boolean addDeterminer
      • removeDashTags

        protected boolean removeDashTags
      • addRoot

        protected boolean addRoot
      • removeEscapeTokens

        protected boolean removeEscapeTokens
      • maxLen

        protected int maxLen
      • morphDelim

        protected String morphDelim
      • customTreeVisitor

        protected TreeVisitor customTreeVisitor
      • outFileName

        protected String outFileName
      • flatFileName

        protected String flatFileName
      • makeFlatFile

        protected boolean makeFlatFile
      • fileNameNormalizer

        protected final Pattern fileNameNormalizer
      • configuredOptions

        protected final Set<String> configuredOptions
      • requiredOptions

        protected final Set<String> requiredOptions
      • treeFileExtension

        protected String treeFileExtension
      • options

        protected Properties options
        Provides access for sub-classes to the data set parameters
    • Constructor Detail

      • AbstractDataset

        public AbstractDataset()
    • Method Detail

      • build

        public abstract void build()
        Description copied from interface: Dataset
        Generic method for loading, processing, and writing a dataset.
        Specified by:
        build in interface Dataset
      • setOptions

        public boolean setOptions​(Properties opts)
        Description copied from interface: Dataset
        Sets options for a dataset.
        Specified by:
        setOptions in interface Dataset
        Parameters:
        opts - A map from parameter types defined in ConfigParser to values
        Returns:
        true if opts contains all required options. false, otherwise.