Documentation
¶
Overview ¶
Package groove is a query analysis and processing pipeline framework.
Package pipeline provides a framework for constructing reproducible query experiments.
Index ¶
- Constants
- func EvaluationOutput(qrels string, formatters ...output.EvaluationFormatter) func() interface{}
- func MeasurementOutput(formatter ...output.MeasurementFormatter) func() interface{}
- func Preprocess(processor ...preprocess.QueryProcessor) func() interface{}
- func TrecOutput(path string) func() interface{}
- type EvaluationOutputFormat
- type ModelConfiguration
- type Pipeline
Constants ¶
const Version = "21.Apr.2021"
Variables ¶
This section is empty.
Functions ¶
func EvaluationOutput ¶
func EvaluationOutput(qrels string, formatters ...output.EvaluationFormatter) func() interface{}
EvaluationOutput configures trec output.
func MeasurementOutput ¶
func MeasurementOutput(formatter ...output.MeasurementFormatter) func() interface{}
MeasurementOutput adds outputs to the pipeline.
func Preprocess ¶
func Preprocess(processor ...preprocess.QueryProcessor) func() interface{}
Preprocess adds preprocessors to the pipeline.
func TrecOutput ¶
func TrecOutput(path string) func() interface{}
TrecOutput configures trec output.
Types ¶
type EvaluationOutputFormat ¶
type EvaluationOutputFormat struct {
EvaluationFormatters []output.EvaluationFormatter
EvaluationQrels trecresults.QrelsFile
}
EvaluationOutputFormat specifies out evaluation output should be formatted.
type ModelConfiguration ¶
ModelConfiguration specifies what actions of a model should be taken by the pipeline.
type Pipeline ¶
type Pipeline struct {
QueryPath string
PubDatesFile string
QueriesSource query.QueriesSource
StatisticsSource stats.StatisticsSource
Preprocess []preprocess.QueryProcessor
Transformations preprocess.QueryTransformations
Measurements []analysis.Measurement
MeasurementFormatters []output.MeasurementFormatter
MeasurementExecutor analysis.MeasurementExecutor
Evaluations []eval.Evaluator
EvaluationFormatters EvaluationOutputFormat
OutputTrec output.TrecResults
QueryCache combinator.QueryCacher
Model learning.Model
ModelConfiguration ModelConfiguration
QueryFormulator formulation.Formulator
Headway *headway.Client
CLF rank.CLFOptions
}
Pipeline contains all the information for executing a pipeline for query analysis.
func NewGroovePipeline ¶
func NewGroovePipeline(qs query.QueriesSource, ss stats.StatisticsSource, components ...func() interface{}) Pipeline
NewGroovePipeline creates a new groove pipeline. The query source and statistics source are required. Additional components are provided via the optional functional arguments.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package analysis provides measurements and analysis tools for queries.
|
Package analysis provides measurements and analysis tools for queries. |
|
postqpp
Package postqpp implements post-retrieval query performance predictors, reproducing the Java API from https://github.com/lucene4ir/lucene4ir (where applicable)
|
Package postqpp implements post-retrieval query performance predictors, reproducing the Java API from https://github.com/lucene4ir/lucene4ir (where applicable) |
|
preqpp
Package preqpp implements pre-retrieval query performance predictors, reproducing the Java API from https://github.com/lucene4ir/lucene4ir (where applicable)
|
Package preqpp implements pre-retrieval query performance predictors, reproducing the Java API from https://github.com/lucene4ir/lucene4ir (where applicable) |
|
probability
Package probability provides abstractions for how to compute how precision and recall is affected by measurements.
|
Package probability provides abstractions for how to compute how precision and recall is affected by measurements. |
|
cmd
|
|
|
entrez_eval
command
|
|
|
mesh_remover
command
|
|
|
pes
command
|
|
|
qrel_server
command
|
|
|
reverb
command
|
|
|
sherlock
command
|
|
|
Package combinator contains methods for performing logical operations on queries.
|
Package combinator contains methods for performing logical operations on queries. |
|
Package eval contains implementations of different evaluation measures for information retrieval.
|
Package eval contains implementations of different evaluation measures for information retrieval. |
|
Package formulation provides a library for automatically formulating queries.
|
Package formulation provides a library for automatically formulating queries. |
|
Package rewrite uses query chains to rewrite queries.
|
Package rewrite uses query chains to rewrite queries. |
|
Package output provides different formats of output for experiments.
|
Package output provides different formats of output for experiments. |
|
Package preprocess handles preprocessing and transformation of queries.
|
Package preprocess handles preprocessing and transformation of queries. |
|
Package query provides sources for loading queries in different formats.
|
Package query provides sources for loading queries in different formats. |
|
package retrieval provides handlers which operate on result lists.
|
package retrieval provides handlers which operate on result lists. |
|
scripts
|
|
|
boolean_rf_proximity
command
|
|
|
objective_qf
command
|
|
|
Package stats provides implementations of statistic sources.
|
Package stats provides implementations of statistic sources. |