Documentation ¶
Overview ¶
package dict contains dictionaries for finding scientific names
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dictionary ¶
type Dictionary struct { BlackUninomials map[string]struct{} BlackSpecies map[string]struct{} CommonWords map[string]struct{} GreyGenera map[string]struct{} GreyGeneraSp map[string]struct{} GreySpecies map[string]struct{} GreyUninomials map[string]struct{} WhiteGenera map[string]struct{} WhiteSpecies map[string]struct{} WhiteUninomials map[string]struct{} Ranks map[string]struct{} }
Dictionary contains dictionaries used for detecting scientific names
func LoadDictionary ¶
func LoadDictionary() *Dictionary
LoadDictionary contain most popular words in European languages.
type DictionaryType ¶
type DictionaryType int
DictionaryType describes available dictionaries
const ( NotSet DictionaryType = iota WhiteGenus GreyGenus GreyGenusSp WhiteUninomial GreyUninomial BlackUninomial WhiteSpecies GreySpecies BlackSpecies CommonWords Rank NotInDictionary )
DictionaryType dictionaries
func (DictionaryType) String ¶
func (d DictionaryType) String() string
Click to show internal directories.
Click to hide internal directories.