Package edu.upf.taln.dri.module.importer
Class ImporterBase
- java.lang.Object
-
- gate.util.AbstractFeatureBearer
-
- gate.creole.AbstractResource
-
- gate.creole.AbstractProcessingResource
-
- gate.creole.AbstractLanguageAnalyser
-
- edu.upf.taln.dri.module.importer.ImporterBase
-
- All Implemented Interfaces:
DRIModule
,gate.creole.ANNIEConstants
,gate.Executable
,gate.LanguageAnalyser
,gate.ProcessingResource
,gate.Resource
,gate.util.FeatureBearer
,gate.util.NameBearer
,Serializable
- Direct Known Subclasses:
ImporterGROBID
,ImporterJATS
,ImporterPDFEXT
,ImporterPDFX
@CreoleResource(name="DRI Modules - Base importer") public abstract class ImporterBase extends gate.creole.AbstractLanguageAnalyser implements gate.ProcessingResource, DRIModule
Base GATE processing resource to build importers from different data sources (PDF, XML schemas, etc.)- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface gate.creole.ANNIEConstants
ANNOTATION_COREF_FEATURE_NAME, DATE_ANNOTATION_TYPE, DATE_POSTED_ANNOTATION_TYPE, DEFAULT_FILE, DOCUMENT_COREF_FEATURE_NAME, JOB_ID_ANNOTATION_TYPE, LOCATION_ANNOTATION_TYPE, LOOKUP_ANNOTATION_TYPE, LOOKUP_CLASS_FEATURE_NAME, LOOKUP_INSTANCE_FEATURE_NAME, LOOKUP_LANGUAGE_FEATURE_NAME, LOOKUP_MAJOR_TYPE_FEATURE_NAME, LOOKUP_MINOR_TYPE_FEATURE_NAME, LOOKUP_ONTOLOGY_FEATURE_NAME, MONEY_ANNOTATION_TYPE, ORGANIZATION_ANNOTATION_TYPE, PERSON_ANNOTATION_TYPE, PERSON_GENDER_FEATURE_NAME, PLUGIN_DIR, SENTENCE_ANNOTATION_TYPE, SPACE_TOKEN_ANNOTATION_TYPE, TOKEN_ANNOTATION_TYPE, TOKEN_CATEGORY_FEATURE_NAME, TOKEN_KIND_FEATURE_NAME, TOKEN_LENGTH_FEATURE_NAME, TOKEN_ORTH_FEATURE_NAME, TOKEN_STRING_FEATURE_NAME
-
-
Constructor Summary
Constructors Constructor Description ImporterBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getInputASname()
String
getOutputASname()
void
setInputASname(String inputASname)
void
setOutputASname(String outputASname)
-
Methods inherited from class gate.creole.AbstractLanguageAnalyser
getCorpus, getDocument, setCorpus, setDocument
-
Methods inherited from class gate.creole.AbstractProcessingResource
addProgressListener, addStatusListener, cleanup, execute, fireProcessFinished, fireProgressChanged, fireStatusChanged, getRuntimeParameterValues, getRuntimeParameterValues, init, interrupt, isInterrupted, reInit, removeProgressListener, removeStatusListener
-
Methods inherited from class gate.creole.AbstractResource
checkParameterValues, flushBeanInfoCache, forgetBeanInfo, getBeanInfo, getInitParameterValues, getInitParameterValues, getName, getParameterValue, getParameterValue, getParameterValues, removeResourceListeners, setName, setParameterValue, setParameterValue, setParameterValues, setParameterValues, setResourceListeners, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface edu.upf.taln.dri.module.DRIModule
resetAnnotations
-
-
-
-
Field Detail
-
driAnnSet
public static final String driAnnSet
- See Also:
- Constant Field Values
-
titleAnnType
public static final String titleAnnType
- See Also:
- Constant Field Values
-
headerAnnType
public static final String headerAnnType
- See Also:
- Constant Field Values
-
headerAuthorAnnType
public static final String headerAuthorAnnType
- See Also:
- Constant Field Values
-
headerAffilAnnType
public static final String headerAffilAnnType
- See Also:
- Constant Field Values
-
emailAnnType
public static final String emailAnnType
- See Also:
- Constant Field Values
-
abstractAnnType
public static final String abstractAnnType
- See Also:
- Constant Field Values
-
figureAnnType
public static final String figureAnnType
- See Also:
- Constant Field Values
-
tableAnnType
public static final String tableAnnType
- See Also:
- Constant Field Values
-
captionAnnType
public static final String captionAnnType
- See Also:
- Constant Field Values
-
sentenceAnnType
public static final String sentenceAnnType
- See Also:
- Constant Field Values
-
sentence_POSpatternFeat
public static final String sentence_POSpatternFeat
- See Also:
- Constant Field Values
-
sentence_RhetoricalAnnFeat
public static final String sentence_RhetoricalAnnFeat
- See Also:
- Constant Field Values
-
sentence_isAcknowledgement
public static final String sentence_isAcknowledgement
- See Also:
- Constant Field Values
-
sentence_lexRankScore
public static final String sentence_lexRankScore
- See Also:
- Constant Field Values
-
sentence_titleSimScore
public static final String sentence_titleSimScore
- See Also:
- Constant Field Values
-
langAnnFeat
public static final String langAnnFeat
- See Also:
- Constant Field Values
-
tokenAnnType
public static final String tokenAnnType
- See Also:
- Constant Field Values
-
token_POSfeat
public static final String token_POSfeat
- See Also:
- Constant Field Values
-
token_LemmaFeat
public static final String token_LemmaFeat
- See Also:
- Constant Field Values
-
bibEntryAnnType
public static final String bibEntryAnnType
- See Also:
- Constant Field Values
-
bibEntry_IdAnnFeat
public static final String bibEntry_IdAnnFeat
- See Also:
- Constant Field Values
-
h1AnnType
public static final String h1AnnType
- See Also:
- Constant Field Values
-
h2AnnType
public static final String h2AnnType
- See Also:
- Constant Field Values
-
h3AnnType
public static final String h3AnnType
- See Also:
- Constant Field Values
-
h4AnnType
public static final String h4AnnType
- See Also:
- Constant Field Values
-
h5AnnType
public static final String h5AnnType
- See Also:
- Constant Field Values
-
inlineCitationAnnType
public static final String inlineCitationAnnType
- See Also:
- Constant Field Values
-
inlineCitationMarkerAnnType
public static final String inlineCitationMarkerAnnType
- See Also:
- Constant Field Values
-
outlayerAnnType
public static final String outlayerAnnType
- See Also:
- Constant Field Values
-
coref_SpotAnnSet
public static final String coref_SpotAnnSet
- See Also:
- Constant Field Values
-
coref_ChainAnnSet
public static final String coref_ChainAnnSet
- See Also:
- Constant Field Values
-
coref_Candidate
public static final String coref_Candidate
- See Also:
- Constant Field Values
-
coref_Coreference
public static final String coref_Coreference
- See Also:
- Constant Field Values
-
babelnet_AnnSet
public static final String babelnet_AnnSet
- See Also:
- Constant Field Values
-
babelnet_DisItem
public static final String babelnet_DisItem
- See Also:
- Constant Field Values
-
babelnet_DisItem_babelnetURLfeat
public static final String babelnet_DisItem_babelnetURLfeat
- See Also:
- Constant Field Values
-
babelnet_DisItem_synsetIDfeat
public static final String babelnet_DisItem_synsetIDfeat
- See Also:
- Constant Field Values
-
babelnet_DisItem_dbpediaURLfeat
public static final String babelnet_DisItem_dbpediaURLfeat
- See Also:
- Constant Field Values
-
babelnet_DisItem_golbalScoreFeat
public static final String babelnet_DisItem_golbalScoreFeat
- See Also:
- Constant Field Values
-
babelnet_DisItem_coherenceScoreFeat
public static final String babelnet_DisItem_coherenceScoreFeat
- See Also:
- Constant Field Values
-
babelnet_DisItem_scoreFeat
public static final String babelnet_DisItem_scoreFeat
- See Also:
- Constant Field Values
-
babelnet_DisItem_sourceFeat
public static final String babelnet_DisItem_sourceFeat
- See Also:
- Constant Field Values
-
babelnet_DisItem_numTokensFeat
public static final String babelnet_DisItem_numTokensFeat
- See Also:
- Constant Field Values
-
term_AnnSet
public static final String term_AnnSet
- See Also:
- Constant Field Values
-
term_CandOcc
public static final String term_CandOcc
- See Also:
- Constant Field Values
-
term_CandOcc_actualPOSFeat
public static final String term_CandOcc_actualPOSFeat
- See Also:
- Constant Field Values
-
term_CandOcc_regexPOSFeat
public static final String term_CandOcc_regexPOSFeat
- See Also:
- Constant Field Values
-
headerDOC_OrigDocFeat
public static final String headerDOC_OrigDocFeat
- See Also:
- Constant Field Values
-
headerDOC_AnnSet
public static final String headerDOC_AnnSet
- See Also:
- Constant Field Values
-
headerDOC_Sentence
public static final String headerDOC_Sentence
- See Also:
- Constant Field Values
-
headerDOC_Token
public static final String headerDOC_Token
- See Also:
- Constant Field Values
-
headerDOC_Lookup
public static final String headerDOC_Lookup
- See Also:
- Constant Field Values
-
headerDOC_JAPEemail
public static final String headerDOC_JAPEemail
- See Also:
- Constant Field Values
-
headerDOC_Author
public static final String headerDOC_Author
- See Also:
- Constant Field Values
-
headerDOC_Affiliation
public static final String headerDOC_Affiliation
- See Also:
- Constant Field Values
-
causality_AnnSet
public static final String causality_AnnSet
- See Also:
- Constant Field Values
-
metaAnnotator_AnnSet
public static final String metaAnnotator_AnnSet
- See Also:
- Constant Field Values
-
metaAnnotator_LookupAnnType
public static final String metaAnnotator_LookupAnnType
- See Also:
- Constant Field Values
-
metaAnnotator_ProjectAnnType
public static final String metaAnnotator_ProjectAnnType
- See Also:
- Constant Field Values
-
metaAnnotator_FundingAgencyAnnType
public static final String metaAnnotator_FundingAgencyAnnType
- See Also:
- Constant Field Values
-
metaAnnotator_OntologyAnnType
public static final String metaAnnotator_OntologyAnnType
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInputASname
public String getInputASname()
-
setInputASname
@RunTime @CreoleParameter(defaultValue="Original markups", comment="The name of the input annotation set where to retireve annotations to import") public void setInputASname(String inputASname)
-
getOutputASname
public String getOutputASname()
-
setOutputASname
@RunTime @CreoleParameter(defaultValue="", comment="The name of the output annotation set where to store imported annotations") public void setOutputASname(String outputASname)
-
-