Documentation ¶
Index ¶
- Variables
- func CompileCqr2Medline(q cqr.CommonQueryRepresentation) (string, error)
- func CompileCqr2PubMed(q cqr.CommonQueryRepresentation) (string, error)
- func CompileCqr2String(q cqr.CommonQueryRepresentation) (string, error)
- func CompileMedline2Cqr(q string) (cqr.CommonQueryRepresentation, error)
- func CompilePubmed2Cqr(q string) (cqr.CommonQueryRepresentation, error)
- func CompileString2Cqr(q string) (cqr.CommonQueryRepresentation, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Medline2Cqr = pipeline.NewPipeline( parser.NewMedlineParser(), backend.NewCQRBackend(), pipeline.TransmutePipelineOptions{ LexOptions: lexer.LexOptions{ FormatParenthesis: false, }, AddRedundantParenthesis: true, RequiresLexing: true, }) Pubmed2Cqr = pipeline.NewPipeline( parser.NewPubMedParser(), backend.NewCQRBackend(), pipeline.TransmutePipelineOptions{ LexOptions: lexer.LexOptions{ FormatParenthesis: true, }, AddRedundantParenthesis: true, RequiresLexing: false, }) Cqr2Medline = pipeline.NewPipeline( parser.NewCQRParser(), backend.NewMedlineBackend(), pipeline.TransmutePipelineOptions{ LexOptions: lexer.LexOptions{ FormatParenthesis: false, }, RequiresLexing: false, AddRedundantParenthesis: false, }) Cqr2Pubmed = pipeline.NewPipeline( parser.NewCQRParser(), backend.NewPubmedBackend(), pipeline.TransmutePipelineOptions{ LexOptions: lexer.LexOptions{ FormatParenthesis: false, }, RequiresLexing: false, AddRedundantParenthesis: false, }) )
Functions ¶
func CompileCqr2Medline ¶
func CompileCqr2Medline(q cqr.CommonQueryRepresentation) (string, error)
func CompileCqr2PubMed ¶
func CompileCqr2PubMed(q cqr.CommonQueryRepresentation) (string, error)
func CompileCqr2String ¶
func CompileCqr2String(q cqr.CommonQueryRepresentation) (string, error)
func CompileMedline2Cqr ¶
func CompileMedline2Cqr(q string) (cqr.CommonQueryRepresentation, error)
func CompilePubmed2Cqr ¶
func CompilePubmed2Cqr(q string) (cqr.CommonQueryRepresentation, error)
func CompileString2Cqr ¶
func CompileString2Cqr(q string) (cqr.CommonQueryRepresentation, error)
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package backend contains translation code from the immediate representation into a concrete query usable by a search engine.
|
Package backend contains translation code from the immediate representation into a concrete query usable by a search engine. |
cmd
|
|
package fields provides default mappings for transmute and cqr fields.
|
package fields provides default mappings for transmute and cqr fields. |
Package ir contains code relating to the immediate representation query structure of a search strategy.
|
Package ir contains code relating to the immediate representation query structure of a search strategy. |
Package lexer build a query tree from the search strategy.
|
Package lexer build a query tree from the search strategy. |
Package parser parses the query strings inside a search strategy.
|
Package parser parses the query strings inside a search strategy. |
Click to show internal directories.
Click to hide internal directories.