gnames

package module
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2020 License: MIT Imports: 8 Imported by: 0

README

gnames

API GoDoc

The goal of the gnames project is to provide accurate and fast verification of scientific names in unlimited quantities. The verification should be fast (at least 1000 names per second) and include exact and fuzzy matching to data from the large number of data-sources.

RESTful API of the project is described by the OpenAPI Specification

Known limitations that we want to address in the future

  • Exact matches of a misspelling to a name-string in poorly curated databases prevent to find fuzzy matches.

To increase performance we stop any further tries if a name matched succesfully. This prevents finding how mispelling would fuzzy-match name-strings in better quality databases.

  • Fuzzy matching of a name where genus string is broken by a space.

For example we cannot match 'Abro stola triplasia' to 'Abrostola triplasia'. There is only 1 edit distance between the strings, however we stem specific epithets, so in reality we fuzzy-match 'Abro stol triplas' to 'Abrostola triplas'. That means now we have edit distance 2 which is usually beyond our threshold. See issue https://github.com/gnames/gnmatcher/issues/19

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Version of the gnames
	Version = "v0.1.0"
	// Build timestamp
	Build = "n/a"
)

Functions

This section is empty.

Types

type GNames

type GNames interface {
	gn.Versioner
	Verify(params vlib.VerifyParams) ([]*vlib.Verification, error)
	DataSources(ids ...int) ([]*vlib.DataSource, error)
}

func NewGNames

func NewGNames(cnf config.Config, vf verifier.Verifier) GNames

NewGNames is a constructor that returns implmentation of GNames interface.

Directories

Path Synopsis
entity
score
Package score provides a single number that allows to sort matching results according to their relevancy.
Package score provides a single number that allows to sort matching results according to their relevancy.
verifier
Package verifier provides data about biodiversity data-sources and metadata about scientific names aggregated from them.
Package verifier provides data about biodiversity data-sources and metadata about scientific names aggregated from them.
cmd
io
verifierpg
Package verifierpg is a PostgreSQL-based implementaion of the Verifier interface.
Package verifierpg is a PostgreSQL-based implementaion of the Verifier interface.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL