dict

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package dict provides lookup data for gnparser.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dictionary

type Dictionary struct {
	// Bacteria contains bacterial genera, where boolean value is true if
	// we are aware of homonyms from other codes.
	Bacteria map[string]bool
	// AuthorICN contains family names of ICN authors of genera names.
	// This list is used to detect ICN name-strings so we can parse a word in
	// parenthesis after genus word as an author instead of subgenus.
	AuthorICN map[string]struct{}
}

Dictionary contains dictionaries used for detecting information about scientific names

var Dict *Dictionary = LoadDictionary()

Dict contains loaded dictionaries

func LoadDictionary

func LoadDictionary() *Dictionary

LoadDictionary creates dictionary from text files.

Jump to

Keyboard shortcuts

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