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 { NotInUninomials map[string]struct{} NotInSpecies map[string]struct{} CommonWords map[string]struct{} InAmbigGenera map[string]struct{} InAmbigGeneraSp map[string]struct{} InAmbigSpecies map[string]struct{} InAmbigUninomials map[string]struct{} InGenera map[string]struct{} InSpecies map[string]struct{} InUninomials 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 InGenus InAmbigGenus InAmbigGenusSp InUninomial InAmbigUninomial NotInUninomial InSpecies InAmbigSpecies NotInSpecies CommonWords Rank NotInDictionary )
DictionaryType dictionaries
func (DictionaryType) String ¶
func (d DictionaryType) String() string
Click to show internal directories.
Click to hide internal directories.