public class SynonymExtractor extends AbstractStands4Extractor
Modifier and Type | Class and Description |
---|---|
private class |
SynonymExtractor.SynonymResultParser |
Modifier and Type | Field and Description |
---|---|
private boolean |
excludeAntonyms |
private boolean |
excludeDefinition |
private boolean |
excludePartOfSpeech |
private boolean |
excludeSynonyms |
private java.lang.String |
queryTerm |
ABBREVIATION_SI, ABBREVIATIONS_BASE, ABBREVIATIONS_TERM_BASE, ANTONYMTERM_SI, CATEGORY_BASE, CATEGORY_SI, defaultEncoding, defaultLang, DEFINITION_SI, DEFINITIONS_BASE, DEFINITIONS_TERM_BASE, EXAMPLE_SI, PARTOFSPEECH_SI, SIMILARTERM_SI, SOURCE_SI, STANDS4_SI, SYNONYMS_BASE, SYNONYMS_TERM_BASE, SYNONYMTERM_SI, 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 |
---|
SynonymExtractor()
Creates a new instance of SynonymExtractor
|
Modifier and Type | Method and Description |
---|---|
boolean |
_extractTopicsFrom(java.io.File file,
TopicMap topicMap) |
boolean |
_extractTopicsFrom(java.io.InputStream in,
TopicMap topicMap) |
boolean |
_extractTopicsFrom(java.lang.String in,
TopicMap topicMap) |
boolean |
_extractTopicsFrom(java.net.URL url,
TopicMap topicMap) |
void |
excludeAntonyms(boolean value) |
void |
excludeDefinition(boolean value) |
void |
excludePartOfSpeech(boolean value) |
void |
excludeSynonyms(boolean value) |
java.lang.String |
getDescription()
AdminToolManager views tool descriptions while user browses available
tools and build user customizable GUI elements such as Tools menu.
|
java.lang.String |
getName()
Tools name represent the tool in UI unless the tool has been given
explicitly another GUI name.
|
java.lang.String |
getTermBase() |
java.lang.String |
getTermType() |
forgetAuthorization, getAbbreviationType, getAntonymTermType, getCategoryTopic, getCategoryType, getContentTypes, getDefinitionTopic, getDefinitionType, getExampleType, getIcon, getOrCreateTopic, getOrCreateTopic, getPartOfSpeechTopic, getPartOfSpeechType, getSimilarTermType, getSourceType, getStands4Type, getSynonymTermType, getTermComplexTopic, getTermComplexType, getTermTopic, getTermType, getWandoraClass, makeSubclassOf, solveAPIKey, solveQueryTerm, useURLCrawler
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, getExtractorType, getForceContent, getForceFiles, getForceUrls, getGUIText, getGUIText, getInterruptsHandled, getMasterSubject, 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
private java.lang.String queryTerm
private boolean excludeSynonyms
private boolean excludeAntonyms
private boolean excludePartOfSpeech
private boolean excludeDefinition
public SynonymExtractor()
public java.lang.String getName()
AbstractWandoraTool
getName
in interface WandoraTool
getName
in class AbstractExtractor
public java.lang.String getDescription()
AbstractWandoraTool
getDescription
in interface WandoraTool
getDescription
in class AbstractExtractor
public java.lang.String getTermBase()
getTermBase
in class AbstractStands4Extractor
public java.lang.String getTermType()
getTermType
in class AbstractStands4Extractor
public void excludeSynonyms(boolean value)
public void excludeAntonyms(boolean value)
public void excludePartOfSpeech(boolean value)
public void excludeDefinition(boolean value)
public boolean _extractTopicsFrom(java.net.URL url, TopicMap topicMap) throws java.lang.Exception
_extractTopicsFrom
in class AbstractExtractor
java.lang.Exception
public boolean _extractTopicsFrom(java.io.File file, TopicMap topicMap) throws java.lang.Exception
_extractTopicsFrom
in class AbstractExtractor
java.lang.Exception
public boolean _extractTopicsFrom(java.io.InputStream in, TopicMap topicMap) throws java.lang.Exception
java.lang.Exception
public boolean _extractTopicsFrom(java.lang.String in, TopicMap topicMap) throws java.lang.Exception
_extractTopicsFrom
in class AbstractExtractor
java.lang.Exception
Copyright 2004-2015 Wandora Team