Class TextImporter

    • Constructor Detail

      • TextImporter

        public TextImporter()
        Specifies the separator, which has to be set between to the texts of two token.
    • Method Detail

      • isImportable

        public Double isImportable​(org.eclipse.emf.common.util.URI corpusPath)
        Description copied from class: PepperImporterImpl
        {@inheritDoc PepperImporter#isImportable(URI)}
        Specified by:
        isImportable in interface PepperImporter
        Overrides:
        isImportable in class PepperImporterImpl
        Returns:
        1 if corpus is importable, 0 if corpus is not importable, 0 < X < 1, if no definitiv answer is possible, null if method is not overridden
      • createPepperMapper

        public PepperMapper createPepperMapper​(org.corpus_tools.salt.graph.Identifier sElementId)
        Creates a mapper OVERRIDE THIS METHOD FOR CUSTOMIZED MAPPING. This method creates a customized PepperMapper object and returns it. You can here do some additional initialisations. Thinks like setting the Identifier of the SDocument or SCorpus object and the URI resource is done by the framework (or more in detail in method PepperModule.start()). The parameter sElementId, if a PepperMapper object should be created in case of the object to map is either an SDocument object or an SCorpus object of the mapper should be initialized differently.
        Note: Override this method.
        Specified by:
        createPepperMapper in interface PepperModule
        Overrides:
        createPepperMapper in class PepperModuleImpl
        Parameters:
        sElementId - Identifier of the SCorpus or SDocument to be processed.
        Returns:
        PepperMapper object to do the mapping task for object connected to given Identifier