public abstract class AbstractStands4Extractor extends AbstractExtractor
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
ABBREVIATION_SI |
protected java.lang.String |
ABBREVIATIONS_BASE |
protected java.lang.String |
ABBREVIATIONS_TERM_BASE |
protected java.lang.String |
ANTONYMTERM_SI |
private static java.lang.String |
apikey |
protected java.lang.String |
CATEGORY_BASE |
protected java.lang.String |
CATEGORY_SI |
private java.lang.String[] |
contentTypes |
protected java.lang.String |
defaultEncoding |
protected java.lang.String |
defaultLang |
protected java.lang.String |
DEFINITION_SI |
protected java.lang.String |
DEFINITIONS_BASE |
protected java.lang.String |
DEFINITIONS_TERM_BASE |
protected java.lang.String |
EXAMPLE_SI |
protected java.lang.String |
PARTOFSPEECH_SI |
protected java.lang.String |
SIMILARTERM_SI |
protected java.lang.String |
SOURCE_SI |
protected java.lang.String |
STANDS4_SI |
protected java.lang.String |
SYNONYMS_BASE |
protected java.lang.String |
SYNONYMS_TERM_BASE |
protected java.lang.String |
SYNONYMTERM_SI |
protected java.lang.String |
TERM_COMPLEX_BASE |
CUSTOM_EXTRACTOR, DONE_FAILED, DONE_MANY, DONE_ONE, EXACTLY_GIVEN_URLS, FILE_EXTRACTOR, FILE_PATTERN, GIVEN_URLS_AND_ALL_CRAWLED_DOCUMENTS, GIVEN_URLS_AND_CRAWLED_DOCUMENTS_IN_URL_DOMAIN, GIVEN_URLS_AND_LINKED_DOCUMENTS, GIVEN_URLS_AND_URL_BELOW, INFO_WAIT_WHILE_WORKING, LOG_TITLE, POINT_START_URL_TEXT, RAW_EXTRACTOR, SELECT_DIALOG_TITLE, STRING_EXTRACTOR_NOT_SUPPORTED_MESSAGE, URL_EXTRACTOR
CLOSE, EXECUTE, INVISIBLE, VISIBLE, WAIT
RETURN_ERROR, RETURN_INFO
Constructor and Description |
---|
AbstractStands4Extractor() |
Modifier and Type | Method and Description |
---|---|
void |
forgetAuthorization() |
Topic |
getAbbreviationType(TopicMap tm) |
Topic |
getAntonymTermType(TopicMap tm) |
Topic |
getCategoryTopic(java.lang.String cat,
TopicMap tm) |
Topic |
getCategoryType(TopicMap tm) |
java.lang.String[] |
getContentTypes()
Returns an array of String containing the content-types this
ContentHandler can process. |
Topic |
getDefinitionTopic(java.lang.String def,
TopicMap tm) |
Topic |
getDefinitionType(TopicMap tm) |
Topic |
getExampleType(TopicMap tm) |
javax.swing.Icon |
getIcon()
All tools may have identifying graphic icon used within tool GUI elements.
|
protected Topic |
getOrCreateTopic(TopicMap tm,
java.lang.String si) |
protected Topic |
getOrCreateTopic(TopicMap tm,
java.lang.String si,
java.lang.String bn) |
Topic |
getPartOfSpeechTopic(java.lang.String p,
TopicMap tm) |
Topic |
getPartOfSpeechType(TopicMap tm) |
Topic |
getSimilarTermType(TopicMap tm) |
Topic |
getSourceType(TopicMap tm) |
Topic |
getStands4Type(TopicMap tm) |
Topic |
getSynonymTermType(TopicMap tm) |
abstract java.lang.String |
getTermBase() |
Topic |
getTermComplexTopic(java.lang.String term,
java.lang.String def,
TopicMap tm) |
Topic |
getTermComplexType(TopicMap tm) |
Topic |
getTermTopic(java.lang.String term,
TopicMap tm) |
abstract java.lang.String |
getTermType() |
Topic |
getTermType(TopicMap tm) |
Topic |
getWandoraClass(TopicMap tm) |
protected void |
makeSubclassOf(TopicMap tm,
Topic t,
Topic superclass) |
protected java.lang.String |
solveAPIKey(Wandora wandora) |
protected java.lang.String |
solveQueryTerm(java.net.URL url) |
boolean |
useURLCrawler() |
_extractTopicsFrom, _extractTopicsFrom, _extractTopicsFrom, acceptBrowserExtractRequest, addCrawlerUrl, browserExtractorConsumesPlainText, buildSI, buildSL, clearMasterSubject, createAssociation, createAssociation, createTopic, createTopic, createTopic, createTopic, createTopic, createTopic, createTopic, croppedFilename, croppedFilename, croppedUrlString, croppedUrlString, doBrowserExtract, dropExtract, dropExtract, dropExtract, execute, extractTopicsFrom, extractTopicsFrom, extractTopicsFrom, extractTopicsFrom, extractTopicsFromText, getBrowserExtractorName, getCrawlerMode, getDescription, getExtractorType, getForceContent, getForceFiles, getForceUrls, getGUIText, getGUIText, getInterruptsHandled, getMasterSubject, getName, getType, getWandora, handle, handleContent, handleCustomType, handleFiles, handleForcedContent, handleInterrupt, handleStringContent, handleUrls, initializeCustomType, instantDropHandle, makeSubclassOfWandoraClass, runInOwnThread, setData, setDisplayName, setForceContent, setForceFiles, setForceUrls, setMasterSubject, setMasterSubject, setTopicMap, setupCrawler, setWandora, takeNap, urlEncode, useTempTopicMap
addUndoMarker, addUndoMarker, allowMultipleInvocations, clearAllThreads, clearThreads, clearThreads, clearToolLock, clearToolLock, clearToolLocks, configure, execute, execute, forceStop, forceStop, getContext, getCurrentLogger, getDefaultLogger, getHistory, getLastLogger, getState, getThreads, getThreads, getToolMenuItem, getToolMenuItem, getTopicName, hlog, initialize, interruptAllThreads, interruptThreads, interruptThreads, isConfigurable, isRunning, isRunning, lockLog, log, log, log, log, requiresRefresh, run, setContext, setDefaultLogger, setLogTitle, setProgress, setProgressMax, setState, setToolLogger, singleLog, singleLog, singleLog, solveContextTopicMap, solveNameForTopicMap, writeOptions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
configure, execute, execute, getContext, getToolMenuItem, hlog, initialize, isConfigurable, isRunning, log, log, log, log, requiresRefresh, setContext, setToolLogger, writeOptions
forceStop, getHistory, getState, lockLog, setLogTitle, setProgress, setProgressMax, setState
protected java.lang.String STANDS4_SI
protected java.lang.String SYNONYMS_BASE
protected java.lang.String SYNONYMS_TERM_BASE
protected java.lang.String DEFINITIONS_BASE
protected java.lang.String DEFINITIONS_TERM_BASE
protected java.lang.String ABBREVIATIONS_BASE
protected java.lang.String ABBREVIATIONS_TERM_BASE
protected java.lang.String CATEGORY_BASE
protected java.lang.String ABBREVIATION_SI
protected java.lang.String DEFINITION_SI
protected java.lang.String CATEGORY_SI
protected java.lang.String PARTOFSPEECH_SI
protected java.lang.String EXAMPLE_SI
protected java.lang.String SIMILARTERM_SI
protected java.lang.String SYNONYMTERM_SI
protected java.lang.String ANTONYMTERM_SI
protected java.lang.String SOURCE_SI
protected java.lang.String TERM_COMPLEX_BASE
protected java.lang.String defaultEncoding
protected java.lang.String defaultLang
private final java.lang.String[] contentTypes
private static java.lang.String apikey
public javax.swing.Icon getIcon()
AbstractWandoraTool
getIcon
should return Icon
object of
the tool.getIcon
in interface WandoraTool
getIcon
in class AbstractExtractor
public java.lang.String[] getContentTypes()
Handler
ContentHandler
can process.getContentTypes
in interface Handler
getContentTypes
in class AbstractExtractor
public boolean useURLCrawler()
useURLCrawler
in class AbstractExtractor
protected java.lang.String solveQueryTerm(java.net.URL url)
public abstract java.lang.String getTermBase()
public abstract java.lang.String getTermType()
public Topic getStands4Type(TopicMap tm) throws TopicMapException
TopicMapException
public Topic getAbbreviationType(TopicMap tm) throws TopicMapException
TopicMapException
public Topic getSimilarTermType(TopicMap tm) throws TopicMapException
TopicMapException
public Topic getExampleType(TopicMap tm) throws TopicMapException
TopicMapException
public Topic getPartOfSpeechTopic(java.lang.String p, TopicMap tm) throws TopicMapException
TopicMapException
public Topic getPartOfSpeechType(TopicMap tm) throws TopicMapException
TopicMapException
public Topic getSynonymTermType(TopicMap tm) throws TopicMapException
TopicMapException
public Topic getAntonymTermType(TopicMap tm) throws TopicMapException
TopicMapException
public Topic getDefinitionTopic(java.lang.String def, TopicMap tm) throws TopicMapException
TopicMapException
public Topic getDefinitionType(TopicMap tm) throws TopicMapException
TopicMapException
public Topic getTermComplexTopic(java.lang.String term, java.lang.String def, TopicMap tm) throws TopicMapException
TopicMapException
public Topic getTermComplexType(TopicMap tm) throws TopicMapException
TopicMapException
public Topic getTermTopic(java.lang.String term, TopicMap tm) throws TopicMapException
TopicMapException
public Topic getTermType(TopicMap tm) throws TopicMapException
TopicMapException
public Topic getCategoryType(TopicMap tm) throws TopicMapException
TopicMapException
public Topic getCategoryTopic(java.lang.String cat, TopicMap tm) throws TopicMapException
TopicMapException
public Topic getWandoraClass(TopicMap tm) throws TopicMapException
TopicMapException
public Topic getSourceType(TopicMap tm) throws TopicMapException
TopicMapException
protected Topic getOrCreateTopic(TopicMap tm, java.lang.String si) throws TopicMapException
TopicMapException
protected Topic getOrCreateTopic(TopicMap tm, java.lang.String si, java.lang.String bn) throws TopicMapException
TopicMapException
protected void makeSubclassOf(TopicMap tm, Topic t, Topic superclass) throws TopicMapException
TopicMapException
protected java.lang.String solveAPIKey(Wandora wandora)
public void forgetAuthorization()
Copyright 2004-2015 Wandora Team