Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Indent = " "
Indent for printing
Functions ¶
func SprintSuggestions ¶
SprintSuggestions returns a string of suggestions
Types ¶
type Examples ¶
type Examples struct {
Sentences []Exsentence
}
Examples contains an individual example of word
type Exsentence ¶
type Exsentence struct {
Sentence string
}
Exsentence contains the actual sentence
type Instance ¶
type Instance struct {
Type string // {dt}
Datas []InstanceData // {dd}
}
Instance in which a word is used It usually consists of Type: Synonyms, Antonyms, Types, Type Of, ...
type InstanceData ¶
InstanceData consists of words for that particular instance it's definition if possible
type Ordinal ¶
type Ordinal struct {
ID string // (id) = sxxxx, ...
ClassType string // (title) = noun, adjective, ...
Definition string // .definition
Examples []string // .example
Instances []Instance // .instances
}
Ordinal ,definitions belonging to certain group
type Word ¶
type Word struct {
Word string
Short string // .short
Long string // .long
PrimaryIDs []string // tbody a ,redirects to fullDefs, contains id
FullDefs []FullDef // .section .definition
Audios []Audio
Examples []string
CapitalOnly bool
// contains filtered or unexported fields
}
Word consists of 4 type of definitions: - Short Definition - Long Definition - Primary Definitions (Links to Full Definitions) - Full Definitions
Click to show internal directories.
Click to hide internal directories.