Package | Description |
---|---|
gate.creole.annic | |
gate.creole.annic.lucene | |
gate.persist |
Modifier and Type | Class and Description |
---|---|
class |
Pattern
Pattern is an extension of the HIT class.
|
Modifier and Type | Method and Description |
---|---|
static Hit[] |
Parser.fromXML(String xml)
Given xml representation of HIT converts them into an array of hits
|
Hit[] |
Searcher.getHits()
return the last seen hits once again
|
Hit[] |
Searchable.next(int numberOfPatterns) |
Hit[] |
Searcher.next(int numberOfHits)
Return the next numberOfHits -1 indicates all
|
Modifier and Type | Method and Description |
---|---|
static String |
Parser.toXML(Hit[] hits)
Given an array of instances of Hit, this method returns an xml
representation of the Hit
|
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) |
Map<String,Integer> |
Searcher.freqForAllValues(List<Hit> patternsToSearchIn,
String annotationType,
String feature,
boolean inMatchedSpan,
boolean inContext) |
Modifier and Type | Method and Description |
---|---|
Hit[] |
LuceneSearcher.getHits()
Gets the found hits (annic patterns).
|
Hit[] |
LuceneSearcher.next(int numberOfHits)
Return the next numberOfHits -1 indicates all
|
Modifier and Type | Method and Description |
---|---|
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) |
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) |
Modifier and Type | Method and Description |
---|---|
Hit[] |
LuceneDataStoreImpl.next(int numberOfPatterns)
Returns the next numberOfPatterns
|
Copyright © 2024 GATE. All rights reserved.