dict

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

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