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.
Click to show internal directories.
Click to hide internal directories.