Package | Description |
---|---|
gate.creole.annic | |
gate.creole.annic.lucene | |
gate.persist |
Modifier and Type | Method and Description |
---|---|
int |
Searcher.freq(List<Hit> patternsToSearchIn,
String annotationType,
boolean inMatchedSpan,
boolean inContext) |
int |
Searcher.freq(List<Hit> patternsToSearchIn,
String annotationType,
String feature,
String value,
boolean inMatchedSpan,
boolean inContext) |
int |
Searcher.freq(String corpusToSearchIn,
String annotationSetToSearchIn,
String annotationType) |
int |
Searcher.freq(String corpusToSearchIn,
String annotationSetToSearchIn,
String annotationType,
String featureName) |
int |
Searcher.freq(String corpusToSearchIn,
String annotationSetToSearchIn,
String annotationType,
String featureName,
String value) |
Map<String,Integer> |
Searcher.freqForAllValues(List<Hit> patternsToSearchIn,
String annotationType,
String feature,
boolean inMatchedSpan,
boolean inContext) |
String[] |
Searcher.getIndexedAnnotationSetNames()
Returns an containing names of the indexed annotation sets
* Each entry has the following format:
|
Hit[] |
Searchable.next(int numberOfPatterns) |
Hit[] |
Searcher.next(int numberOfHits)
Return the next numberOfHits -1 indicates all
|
boolean |
Searchable.search(String query,
Map<String,Object> searchParameters) |
boolean |
Searcher.search(String query,
Map<String,Object> parameters)
Search method that allows searching
|
void |
Searchable.setSearcher(Searcher searcher)
This method is used to specify the searcher which is used for
searchering the index
|
Modifier and Type | Method and Description |
---|---|
static int |
StatsCalculator.freq(IndexSearcher searcher,
String corpusToSearchIn,
String annotationSetToSearchIn,
String annotationType) |
static int |
StatsCalculator.freq(IndexSearcher searcher,
String corpusToSearchIn,
String annotationSetToSearchIn,
String annotationType,
String featureName) |
static int |
StatsCalculator.freq(IndexSearcher searcher,
String corpusToSearchIn,
String annotationSetToSearchIn,
String annotationType,
String featureName,
String value)
Allows retriving frequencies for the given parameters.
|
static int |
StatsCalculator.freq(List<Hit> patternsToSearchIn,
String annotationType,
boolean inMatchedSpan,
boolean inContext) |
int |
LuceneSearcher.freq(List<Hit> patternsToSearchIn,
String annotationType,
boolean inMatchedSpan,
boolean inContext) |
static int |
StatsCalculator.freq(List<Hit> patternsToSearchIn,
String annotationType,
String feature,
String value,
boolean inMatchedSpan,
boolean inContext)
Allows retrieving frequencies for the given parameters.
|
int |
LuceneSearcher.freq(List<Hit> patternsToSearchIn,
String annotationType,
String feature,
String value,
boolean inMatchedSpan,
boolean inContext) |
int |
LuceneSearcher.freq(String corpusToSearchIn,
String annotationSetToSearchIn,
String annotationType) |
int |
LuceneSearcher.freq(String corpusToSearchIn,
String annotationSetToSearchIn,
String annotationType,
String featureName) |
int |
LuceneSearcher.freq(String corpusToSearchIn,
String annotationSetToSearchIn,
String annotationType,
String featureName,
String value) |
static Map<String,Integer> |
StatsCalculator.freqForAllValues(List<Hit> patternsToSearchIn,
String annotationType,
String feature,
boolean inMatchedSpan,
boolean inContext)
Calculates frequencies for all possible values of the provided AT.feature
|
Map<String,Integer> |
LuceneSearcher.freqForAllValues(List<Hit> patternsToSearchIn,
String annotationType,
String feature,
boolean inMatchedSpan,
boolean inContext) |
String[] |
LuceneSearcher.getIndexedAnnotationSetNames()
This method returns a set of annotation set names that are indexed.
|
Hit[] |
LuceneSearcher.next(int numberOfHits)
Return the next numberOfHits -1 indicates all
|
boolean |
LuceneSearchThread.search(String query,
int patternWindow,
String indexLocation,
String corpusToSearchIn,
String annotationSetToSearchIn,
LuceneSearcher luceneSearcher)
This method collects the necessary information from lucene and uses
it when the next method is called
|
boolean |
LuceneSearcher.search(String query,
Map<String,Object> parameters)
Method retunrs true/false indicating whether results were found or not.
|
Modifier and Type | Method and Description |
---|---|
Hit[] |
LuceneDataStoreImpl.next(int numberOfPatterns)
Returns the next numberOfPatterns
|
boolean |
LuceneDataStoreImpl.search(String query,
Map<String,Object> searchParameters)
Search the datastore
|
void |
LuceneDataStoreImpl.setSearcher(Searcher searcher) |
Copyright © 2024 GATE. All rights reserved.