MCPcopy Create free account

hub / github.com/USCDataScience/sparkler / functions

Functions403 in github.com/USCDataScience/sparkler

↓ 100 callersMethodget
Return the {@link DomainSuffix} object for the extension, if extension is a top level domain returned object will be an instance of {@link TopLevelDom
sparkler-api/src/main/java/edu/usc/irds/sparkler/util/DomainSuffixes.java:81
↓ 71 callersMethodtoString
()
sparkler-api/src/main/java/edu/usc/irds/sparkler/model/Resource.java:232
↓ 20 callersMethodgetUrl
()
sparkler-api/src/main/java/edu/usc/irds/sparkler/model/Resource.java:259
↓ 16 callersMethodadd
(int op1, int op2)
sparkler-plugins/template-plugin/src/main/java/edu/usc/irds/sparkler/plugin/MyPlugin.java:13
↓ 15 callersMethodgetHost
Returns the lowercased hostname for the url or null if the url is not well formed. @param url The url to check. @return String The hostname
sparkler-api/src/main/java/edu/usc/irds/sparkler/util/URLUtil.java:449
↓ 15 callersMethodsize
Gets number of extensions currently active @return number of extensions currently active
sparkler-api/src/main/java/edu/usc/irds/sparkler/ExtensionChain.java:46
↓ 14 callersMethodget
Search Duck Duck Go :param model: :param query: :return:
retired/sparkler-sce/webui/app/apis/ns_search.py:25
↓ 14 callersMethodsetStatus
(String status)
sparkler-api/src/main/java/edu/usc/irds/sparkler/model/Resource.java:277
↓ 11 callersMethodnewInstance
Instantiates and tests the @param clazz the class @param <T> type @return instance of the extension @throws SparklerException when an error occurs
sparkler-api/src/main/java/edu/usc/irds/sparkler/util/TestUtils.java:64
↓ 10 callersMethodgetId
Gets Sparkler Job Id @return Id
sparkler-api/src/main/java/edu/usc/irds/sparkler/JobContext.java:36
↓ 10 callersMethodgetMetadata
()
sparkler-api/src/main/java/edu/usc/irds/sparkler/model/Resource.java:339
↓ 9 callersMethodgetConfiguration
Gets Configuration @return an instance of {@link }
sparkler-api/src/main/java/edu/usc/irds/sparkler/JobContext.java:30
↓ 9 callersFunctionget_connection
Get a connection and list of models. :return:
retired/sparkler-sce/webui/app/models/model.py:26
↓ 9 callersMethodread
(DomainSuffixes tldEntries, InputStream input)
sparkler-api/src/main/java/edu/usc/irds/sparkler/util/DomainSuffixesReader.java:48
↓ 8 callersMethodfetch
@param resources iterator of resources to be fetched @return iterator of fetched data off input resources @throws Exception when an error occurs
sparkler-api/src/main/java/edu/usc/irds/sparkler/Fetcher.java:38
↓ 8 callersMethodgetPluginConfiguration
(String pluginId)
sparkler-api/src/main/java/edu/usc/irds/sparkler/SparklerConfiguration.java:38
↓ 8 callersMethodgetResponseCode
()
sparkler-api/src/main/java/edu/usc/irds/sparkler/model/FetchedData.java:65
↓ 8 callersMethodtoString
()
sparkler-api/src/main/java/edu/usc/irds/sparkler/util/DomainSuffix.java:75
↓ 7 callersMethodgetContentType
()
sparkler-api/src/main/java/edu/usc/irds/sparkler/model/FetchedData.java:61
↓ 7 callersMethodinit
Initialize the extension @param context job context @param pluginId osgi bundle symbolic name @throws SparklerException when an error occurs
sparkler-api/src/main/java/edu/usc/irds/sparkler/ExtensionPoint.java:32
↓ 7 callersMethodpost
Predict using ML model :return:
retired/sparkler-sce/webui/app/apis/ns_classify.py:46
↓ 6 callersMethodadd
(K key, V value)
sparkler-api/src/main/java/edu/usc/irds/sparkler/model/MultiMap.java:12
↓ 6 callersMethodgetDomainName
Returns the domain name of the url. The domain name of a url is the substring of the url's hostname, w/o subdomain names. As an example <br> <code> g
sparkler-api/src/main/java/edu/usc/irds/sparkler/util/URLUtil.java:99
↓ 6 callersMethodgetPort
()
sparkler-tests-base/src/main/java/edu/usc/irds/sparkler/test/WebServer.java:72
↓ 6 callersMethodsetResource
(Resource resource)
sparkler-api/src/main/java/edu/usc/irds/sparkler/model/FetchedData.java:95
↓ 5 callersMethodapply
(Resource resource)
sparkler-api/src/main/java/edu/usc/irds/sparkler/util/FetcherDefault.java:270
↓ 5 callersMethodgetHttpMethod
()
sparkler-api/src/main/java/edu/usc/irds/sparkler/model/Resource.java:331
↓ 5 callersMethodgetResource
()
sparkler-api/src/main/java/edu/usc/irds/sparkler/model/FetchedData.java:69
↓ 5 callersMethodnext
()
sparkler-api/src/main/java/edu/usc/irds/sparkler/util/StreamTransformer.java:48
↓ 5 callersMethodvalueOf
makes best effort to detect content type. Upon failure, the argument string is replied back @param s string whose content needs to be casted to sophis
sparkler-api/src/main/java/edu/usc/irds/sparkler/storage/StringEvaluator.java:71
↓ 4 callersMethodaddDomainSuffix
(DomainSuffix tld)
sparkler-api/src/main/java/edu/usc/irds/sparkler/util/DomainSuffixes.java:64
↓ 4 callersMethodgetHTTPMethod
(String url)
sparkler-plugins/url-injector/src/main/java/edu/usc/irds/sparkler/plugin/UrlInjector.java:179
↓ 4 callersMethodgetInstance
Singleton instance, lazy instantination @return returns the domain suffix instance
sparkler-api/src/main/java/edu/usc/irds/sparkler/util/DomainSuffixes.java:57
↓ 4 callersMethodgetResourceAsStream
Gets a resource @param resourceName resource name @return stream of resource or null @throws IOException when an io error occurs
sparkler-api/src/main/java/edu/usc/irds/sparkler/AbstractExtensionPoint.java:52
↓ 4 callersMethodhasNext
()
sparkler-api/src/main/java/edu/usc/irds/sparkler/util/StreamTransformer.java:43
↓ 4 callersMethodhostOrDomain
Return if this rule is used for filtering-in or out. @return host or domain this regex rule belongs to
sparkler-plugins/urlfilter-regex/src/main/java/edu/usc/irds/sparkler/plugin/regex/RegexRule.java:83
↓ 4 callersMethodresourceId
(String url, JobContext job)
sparkler-api/src/main/java/edu/usc/irds/sparkler/model/Resource.java:239
↓ 4 callersMethodscreenshot
Takes a screenshot with a SeleniumScripter interpreter. The plugin config `chrome.selenium.outputdirectory` must have a value for the screenshot opera
sparkler-plugins/fetcher-chrome/src/main/java/edu/usc/irds/sparkler/plugin/FetcherChrome.java:520
↓ 4 callersMethodtrimHTTPMethod
(String url)
sparkler-plugins/url-injector/src/main/java/edu/usc/irds/sparkler/plugin/UrlInjector.java:190
↓ 3 callersMethodfetch
(Resource resource)
sparkler-plugins/fetcher-htmlunit/src/main/java/edu/usc/irds/sparkler/plugin/HtmlUnitFetcher.java:91
↓ 3 callersMethodfilter
Filter Urls @param url the url on which decision to be made @param parent the parent or the linking url @return {@code true} if the {@code url} to be
sparkler-api/src/main/java/edu/usc/irds/sparkler/URLFilter.java:35
↓ 3 callersMethodgetFetchedAt
()
sparkler-api/src/main/java/edu/usc/irds/sparkler/model/FetchedData.java:87
↓ 3 callersMethodgetUserAgent
Gets a user agent from a list of configured values, rotates the list for each call @return get a user agent string from the list of configured values
sparkler-api/src/main/java/edu/usc/irds/sparkler/util/FetcherDefault.java:113
↓ 3 callersFunctionget_metrics
Get the metrics :param model: :return:
retired/sparkler-sce/webui/app/classifier/__init__.py:121
↓ 3 callersMethodreadBoost
read optional field boost
sparkler-api/src/main/java/edu/usc/irds/sparkler/util/DomainSuffixesReader.java:132
↓ 3 callersMethodreadStatus
read optional field status
sparkler-api/src/main/java/edu/usc/irds/sparkler/util/DomainSuffixesReader.java:124
↓ 3 callersMethodrun
(HttpServletRequest req, HttpServletResponse resp)
sparkler-tests-base/src/main/java/edu/usc/irds/sparkler/test/TestSlaveServlet.java:34
↓ 3 callersMethodsha256hash
Computes SHA-256 hash of a string @param str @return hash
sparkler-api/src/main/java/edu/usc/irds/sparkler/util/StringUtil.java:43
↓ 3 callersMethodstartDriver
Start the Selenium web driver @throws UnknownHostException Occurs when the host was not resolved @throws MalformedURLException Occurs when the URI g
sparkler-plugins/fetcher-chrome/src/main/java/edu/usc/irds/sparkler/plugin/FetcherChrome.java:165
↓ 3 callersFunctionwhack_a_mole_model
Too lazy to do it properly, but we need to replace numpy types in dicts. :param dictionary: :return:
retired/sparkler-sce/webui/app/classifier/__init__.py:234
↓ 2 callersFunction_shell_exec_check_output
(cmd: str, **kwargs: Any)
sparkler-deployment/docker/elasticsearch/dockler.py:111
↓ 2 callersMethodclean_string
Clean up a single string :param text: :return:
retired/sparkler-sce/webui/app/search/fetcher.py:36
↓ 2 callersMethodclose
()
sparkler-plugins/fetcher-htmlunit/src/main/java/edu/usc/irds/sparkler/plugin/HtmlUnitFetcher.java:154
↓ 2 callersMethodeval
Evaluate string to a type object @param s string whose value needs to be evaluated @return Type object
sparkler-api/src/main/java/edu/usc/irds/sparkler/storage/StringEvaluator.java:45
↓ 2 callersMethodfetch
(Resource resource)
sparkler-plugins/fetcher-jbrowser/src/main/java/edu/usc/irds/sparkler/plugin/FetcherJBrowser.java:57
↓ 2 callersFunctionfetchAllModels
()
retired/sparkler-ui/src/actions/index.js:104
↓ 2 callersFunctionfetchNewTime
()
retired/sparkler-ui/src/actions/index.js:133
↓ 2 callersMethodfilter
(String child, String parent)
sparkler-plugins/urlfilter-samehost/src/main/java/edu/usc/irds/sparkler/plugin/UrlFilterSameHost.java:35
↓ 2 callersMethodgetContent
()
sparkler-api/src/main/java/edu/usc/irds/sparkler/model/FetchedData.java:71
↓ 2 callersMethodgetContentLength
()
sparkler-api/src/main/java/edu/usc/irds/sparkler/model/FetchedData.java:75
↓ 2 callersMethodgetProtocol
(String url)
sparkler-api/src/main/java/edu/usc/irds/sparkler/util/URLUtil.java:477
↓ 2 callersFunctiongetStatus
(data, model)
retired/sparkler-ui/src/actions/index.js:307
↓ 2 callersMethodgetUserAgent
Gets a user agent from a list of configured values, rotates the list for each call @return get a user agent string from the list of configured values
sparkler-plugins/fetcher-chrome/src/main/java/edu/usc/irds/sparkler/plugin/FetcherChrome.java:127
↓ 2 callersFunctionget_sparkler_options
Get the current sparkler options. :param model: :return:
retired/sparkler-sce/webui/app/models/model.py:98
↓ 2 callersMethodhandleSearch
(event)
retired/sparkler-ui/src/components/sidebar/GenerateModel.js:38
↓ 2 callersMethodhtmlCrawl
(Resource resource)
sparkler-plugins/fetcher-chrome/src/main/java/edu/usc/irds/sparkler/plugin/FetcherChrome.java:340
↓ 2 callersMethodmatch
Checks if a url matches this rule. @param url is the url to check. @return <code>true</code> if the specified url matches this rule, otherwi
sparkler-plugins/urlfilter-regex/src/main/java/edu/usc/irds/sparkler/plugin/regex/RegexRule.java:100
↓ 2 callersMethodprocessMetadata
(String metadata)
sparkler-plugins/fetcher-chrome/src/main/java/edu/usc/irds/sparkler/plugin/FetcherChrome.java:574
↓ 2 callersMethodreadGTLD
(Element el, Type type)
sparkler-api/src/main/java/edu/usc/irds/sparkler/util/DomainSuffixesReader.java:108
↓ 2 callersMethodreadRule
(String line)
sparkler-plugins/urlfilter-regex/src/main/java/edu/usc/irds/sparkler/plugin/regex/RegexURLFilterBase.java:189
↓ 2 callersMethodreadRules
Read the specified file of rules. @param reader is a reader of regular expressions rules. @return the corresponding {@RegexRule rules}.
sparkler-plugins/urlfilter-regex/src/main/java/edu/usc/irds/sparkler/plugin/regex/RegexURLFilterBase.java:229
↓ 2 callersMethodregex
Return if this rule's regex. @return this regex
sparkler-plugins/urlfilter-regex/src/main/java/edu/usc/irds/sparkler/plugin/regex/RegexRule.java:90
↓ 2 callersFunctionregisterValidSW
(swUrl, config)
retired/sparkler-ui/src/serviceWorker.js:57
↓ 2 callersMethodrunGuardedInterpreter
Feed a script into an interpreter and execute it. @param script The script to run @param interpreter The interpreter to use @param resource T
sparkler-plugins/fetcher-chrome/src/main/java/edu/usc/irds/sparkler/plugin/FetcherChrome.java:430
↓ 2 callersFunctionsaveSeedURLs
(model,urls)
retired/sparkler-ui/src/actions/index.js:165
↓ 2 callersFunctionsearchFired
(b)
retired/sparkler-ui/src/actions/index.js:139
↓ 2 callersMethodsetContentType
(String contentType)
sparkler-api/src/main/java/edu/usc/irds/sparkler/model/FetchedData.java:117
↓ 2 callersMethodsetHeaders
(Map<String, List<String>> headers)
sparkler-api/src/main/java/edu/usc/irds/sparkler/model/FetchedData.java:83
↓ 2 callersFunctionset_sparkler_options
Create a new set of sparkler options for the model. :param model: :param content: :return:
retired/sparkler-sce/webui/app/models/model.py:82
↓ 2 callersFunctionstartCrawl
(model, obj)
retired/sparkler-ui/src/actions/index.js:212
↓ 2 callersMethodtakeScreenshot
()
sparkler-plugins/fetcher-chrome/src/main/java/edu/usc/irds/sparkler/plugin/FetcherChrome.java:247
↓ 1 callersMethodaccept
Return if this rule is used for filtering-in or out. @return <code>true</code> if any url matching this rule must be accepted, otherwise <cod
sparkler-plugins/urlfilter-regex/src/main/java/edu/usc/irds/sparkler/plugin/regex/RegexRule.java:74
↓ 1 callersMethodappendForm
(Collection<String> urls, List<String> tokens)
sparkler-plugins/url-injector/src/main/java/edu/usc/irds/sparkler/plugin/UrlInjector.java:63
↓ 1 callersMethodappendJSON
(Collection<String> urls, List<String> tokens)
sparkler-plugins/url-injector/src/main/java/edu/usc/irds/sparkler/plugin/UrlInjector.java:114
↓ 1 callersMethodappendSelenium
(Collection<String> urls, List<String> tokens)
sparkler-plugins/url-injector/src/main/java/edu/usc/irds/sparkler/plugin/UrlInjector.java:149
↓ 1 callersMethodcanEval
checks if this can eval object (could be string or array of strings) @param object object which needs to be evaluated @return true eval possible
sparkler-api/src/main/java/edu/usc/irds/sparkler/storage/StringEvaluator.java:91
↓ 1 callersFunctioncheckValidServiceWorker
(swUrl, config)
retired/sparkler-ui/src/serviceWorker.js:101
↓ 1 callersMethodcleantext
Clean up the text from the extract :param soup: :return:
retired/sparkler-sce/webui/app/search/fetcher.py:19
↓ 1 callersFunctionconfigureStore
(initialState)
retired/sparkler-ui/src/index.js:15
↓ 1 callersMethodcontentType
Gets the content type of the given URI @param uri The URI to get the content type of @return String the raw mime type of the given URI
sparkler-plugins/fetcher-chrome/src/main/java/edu/usc/irds/sparkler/plugin/FetcherChrome.java:595
↓ 1 callersFunctioncrawlStatus
(model)
retired/sparkler-ui/src/actions/index.js:257
↓ 1 callersMethodcreateBrowserInstance
()
sparkler-plugins/fetcher-jbrowser/src/main/java/edu/usc/irds/sparkler/plugin/FetcherJBrowser.java:118
↓ 1 callersFunctioncreateNewModel
(name)
retired/sparkler-ui/src/actions/index.js:66
↓ 1 callersMethodcreateRule
Creates a new {@link RegexRule}. @param sign of the regular expression. A <code>true</code> value means that any URL matching this
sparkler-plugins/urlfilter-regex/src/main/java/edu/usc/irds/sparkler/plugin/regex/RegexURLFilterBase.java:122
↓ 1 callersMethoddeepMerge
(Map original, Map newMap)
sparkler-api/src/main/java/edu/usc/irds/sparkler/SparklerConfiguration.java:89
↓ 1 callersFunctiondown
(compose_file=COMPOSE_FILE)
sparkler-deployment/docker/elasticsearch/dockler.py:101
↓ 1 callersFunctionenableModel
(name)
retired/sparkler-ui/src/actions/index.js:117
↓ 1 callersFunctionexportData
(model)
retired/sparkler-ui/src/actions/index.js:56
↓ 1 callersMethodfetch
(Iterator<Resource> resources)
sparkler-api/src/main/java/edu/usc/irds/sparkler/util/FetcherDefault.java:124
↓ 1 callersFunctionfetchConfig
(model)
retired/sparkler-ui/src/actions/index.js:29
next →1–100 of 403, ranked by callers