public class WikipediaQueryReader extends WikipediaArticleReader
Modifier and Type | Field and Description |
---|---|
static String |
PARAM_MAX_CATEGORIES
Maximum number of categories.
|
static String |
PARAM_MAX_INLINKS
Maximum number of incoming links.
|
static String |
PARAM_MAX_OUTLINKS
Maximum number of outgoing links.
|
static String |
PARAM_MAX_REDIRECTS
Maximum number of redirects.
|
static String |
PARAM_MAX_TOKENS
Maximum number of tokens.
|
static String |
PARAM_MIN_CATEGORIES
Minimum number of categories.
|
static String |
PARAM_MIN_INLINKS
Minimum number of incoming links.
|
static String |
PARAM_MIN_OUTLINKS
Minimum number of outgoing links.
|
static String |
PARAM_MIN_REDIRECTS
Minimum number of redirects.
|
static String |
PARAM_MIN_TOKENS
Minimum number of tokens.
|
static String |
PARAM_TITLE_PATTERN
SQL-style title pattern.
|
protected boolean |
queryInitialized |
PARAM_ONLY_FIRST_PARAGRAPH
currentArticleIndex, nrOfArticles, outputPlainText, pageBuffer, pageIdFile, pageIdParamArray, pageIter, pageNameFile, pageNameParamArray, PARAM_OUTPUT_PLAIN_TEXT, PARAM_PAGE_BUFFER, PARAM_PAGE_ID_LIST, PARAM_PAGE_TITLE_LIST, PARAM_PATH_TO_PAGE_ID_LIST, PARAM_PATH_TO_PAGE_TITLE_LIST, parser
dbconfig, PARAM_CREATE_DATABASE_CONFIG_ANNOTATION, PARAM_DB, PARAM_HOST, PARAM_LANGUAGE, PARAM_PASSWORD, PARAM_USER, wiki
Constructor and Description |
---|
WikipediaQueryReader() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(org.apache.uima.UimaContext context) |
isValidPage
getPlainDocumentText
getDocumentText, getNext, getPage, getProgress, hasNext
close, getLogger, getNext, initialize
destroy, getCasInitializer, getProcessingResourceMetaData, initialize, isConsuming, reconfigure, setCasInitializer, typeSystemInit
getConfigParameterValue, getConfigParameterValue, setConfigParameterValue, setConfigParameterValue
getCasManager, getMetaData, getRelativePathResolver, getResourceManager, getUimaContext, getUimaContextAdmin, setLogger, setMetaData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final String PARAM_MAX_CATEGORIES
public static final String PARAM_MIN_CATEGORIES
public static final String PARAM_MAX_INLINKS
public static final String PARAM_MIN_INLINKS
public static final String PARAM_MAX_OUTLINKS
public static final String PARAM_MIN_OUTLINKS
public static final String PARAM_MAX_REDIRECTS
public static final String PARAM_MIN_REDIRECTS
public static final String PARAM_MAX_TOKENS
public static final String PARAM_MIN_TOKENS
public static final String PARAM_TITLE_PATTERN
protected boolean queryInitialized
public void initialize(org.apache.uima.UimaContext context) throws org.apache.uima.resource.ResourceInitializationException
initialize
in class WikipediaPageReader
org.apache.uima.resource.ResourceInitializationException
Copyright © 2007–2018 Ubiquitous Knowledge Processing (UKP) Lab, Technische Universität Darmstadt. All rights reserved.