Class ImporterGROBID

  • All Implemented Interfaces:
    DRIModule, gate.creole.ANNIEConstants, gate.Executable, gate.LanguageAnalyser, gate.ProcessingResource, gate.Resource, gate.util.FeatureBearer, gate.util.NameBearer, Serializable

    @CreoleResource(name="DRI Modules - GROBID importer")
    public class ImporterGROBID
    extends ImporterBase
    From the XML mark-up generated by GROBID, this processing resource identifies all the textual contents.
    See Also:
    Serialized Form
    • Constructor Detail

      • ImporterGROBID

        public ImporterGROBID()
    • Method Detail

      • getInputSentenceASname

        public String getInputSentenceASname()
      • setInputSentenceASname

        @RunTime
        @CreoleParameter(defaultValue="Analysis",
                         comment="The name of the input annotation set to read sentence annotations from (sentence annotations previously added by sentence splitter execution)")
        public void setInputSentenceASname​(String inputSentenceASname)
      • getInputSentenceAStype

        public String getInputSentenceAStype()
      • setInputSentenceAStype

        @RunTime
        @CreoleParameter(defaultValue="Sentence",
                         comment="The name of the input annotation type to read sentence annotations (sentence annotations previously added by sentence splitter execution)")
        public void setInputSentenceAStype​(String inputSentenceAStype)
      • execute

        public void execute()
                     throws gate.creole.ExecutionException
        Specified by:
        execute in interface gate.Executable
        Overrides:
        execute in class gate.creole.AbstractProcessingResource
        Throws:
        gate.creole.ExecutionException
      • resetAnnotations

        public boolean resetAnnotations()
        Description copied from interface: DRIModule
        Delete the annotations provided by a module
        Returns: