Documentation ¶
Index ¶
- type Borrow
- type Cognate
- type Derived
- type DescTree
- type Descendant
- type Etyl
- type EtymTree
- type FormOf
- type FormOfGeneric
- type Frac
- type Gloss
- type GlossaryEntry
- type Inherited
- type Label
- type LabelEntry
- type Link
- type Mention
- type NonGloss
- type Parameter
- type Prefix
- type Qualifier
- type SpanishCompound
- type SpanishVerb
- type Suffix
- type Template
- func (tpl *Template) ToBorrow() Borrow
- func (tpl *Template) ToCognate() Cognate
- func (tpl *Template) ToDerived() Derived
- func (tpl *Template) ToDescTree() DescTree
- func (tpl *Template) ToDescendant() Descendant
- func (tpl *Template) ToEtyl() Etyl
- func (tpl *Template) ToEtymTree() EtymTree
- func (tpl *Template) ToFormOf(form string, tags ...string) FormOf
- func (tpl *Template) ToFormOfGeneric() FormOfGeneric
- func (tpl *Template) ToFrac() Frac
- func (tpl *Template) ToGloss() Gloss
- func (tpl *Template) ToInherited() Inherited
- func (tpl *Template) ToLabel() Label
- func (tpl *Template) ToLink() Link
- func (tpl *Template) ToMention() Mention
- func (tpl *Template) ToNonGloss() NonGloss
- func (tpl *Template) ToPrefix() Prefix
- func (tpl *Template) ToQualifier() Qualifier
- func (tpl *Template) ToSpanishCompound() SpanishCompound
- func (tpl *Template) ToSpanishVerb() SpanishVerb
- func (tpl *Template) ToSuffix() Suffix
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Borrow ¶
type Borrow struct { Lang string `lang:"true" json:"lang,omitempty" firestore:"lang,omitempty"` FromLang string `lang:"true" json:"fromLang,omitempty" firestore:"fromLang,omitempty"` FromWord string `json:"fromWord,omitempty" firestore:"fromWord,omitempty"` Alt string `names:"alt" json:"alt,omitempty" firestore:"alt,omitempty"` Gloss string `names:"t,gloss" json:"gloss,omitempty" firestore:"gloss,omitempty"` PartOfSpeech string `names:"pos" json:"partOfSpeech,omitempty" firestore:"partOfSpeech,omitempty"` Literal string `names:"lit" json:"literal,omitempty" firestore:"literal,omitempty"` }
type Cognate ¶
type Derived ¶
type Derived struct { Lang string `lang:"true" json:"lang,omitempty" firestore:"lang,omitempty"` FromLang string `lang:"true" json:"fromLang,omitempty" firestore:"fromLang,omitempty"` FromWord string `json:"fromWord,omitempty" firestore:"fromWord,omitempty"` Alt string `names:"alt" json:"alt,omitempty" firestore:"alt,omitempty"` Gloss string `names:"t,gloss" json:"gloss,omitempty" firestore:"gloss,omitempty"` PartOfSpeech string `names:"pos" json:"partOfSpeech,omitempty" firestore:"partOfSpeech,omitempty"` Literal string `names:"lit" json:"literal,omitempty" firestore:"literal,omitempty"` }
type DescTree ¶
type Descendant ¶
type Etyl ¶
type Etyl struct {
Lang string `names:"lang" lang:"true" json:"lang,omitempty" firestore:"lang,omitempty"`
}
type EtymTree ¶
type EtymTree struct { Lang string `lang:"true" json:"lang,omitempty" firestore:"lang,omitempty"` RootLang string `lang:"true" json:"rootLang,omitempty" firestore:"rootLang,omitempty"` Word string `names:"branch_term" json:"word,omitempty" firestore:"word,omitempty"` }
https://en.wiktionary.org/wiki/Template:etymtree
func (*EtymTree) ToEntryName ¶
type FormOf ¶
type FormOf struct { Lang string `lang:"true" json:"lang,omitempty" firestore:"lang,omitempty"` Word string `json:"word,omitempty" firestore:"word,omitempty"` Alt string `json:"alt,omitempty" firestore:"alt,omitempty"` Tag1 string `json:"tag1,omitempty" firestore:"tag1,omitempty"` Tag2 string `json:"tag2,omitempty" firestore:"tag2,omitempty"` Tag3 string `json:"tag3,omitempty" firestore:"tag3,omitempty"` Tag4 string `json:"tag4,omitempty" firestore:"tag4,omitempty"` Tag5 string `json:"tag5,omitempty" firestore:"tag5,omitempty"` Tag6 string `json:"tag6,omitempty" firestore:"tag6,omitempty"` Tag7 string `json:"tag7,omitempty" firestore:"tag7,omitempty"` Tag8 string `json:"tag8,omitempty" firestore:"tag8,omitempty"` Tag9 string `json:"tag9,omitempty" firestore:"tag9,omitempty"` Tag10 string `json:"tag10,omitempty" firestore:"tag10,omitempty"` Form string `json:"form,omityempty" firestore:"form,omitempty"` }
https://en.wiktionary.org/wiki/Module:form_of https://en.wiktionary.org/wiki/Module:form_of/templates https://en.wiktionary.org/wiki/Template:plural_of https://en.wiktionary.org/wiki/Category:Form-of_templates
func (*FormOf) DisplayWord ¶
type FormOfGeneric ¶
type FormOfGeneric struct { Lang string `lang:"true" json:"lang,omitempty" firestore:"lang,omitempty"` Definition string `json:"definition,omitempty" firestore:"definition,omitempty"` Word string `json:"word,omitempty" firestore:"word,omitempty"` Alt string `json:"alt,omitempty" firestore:"alt,omitempty"` }
https://en.wiktionary.org/wiki/Template:form_of
func (*FormOfGeneric) DisplayWord ¶
func (fog *FormOfGeneric) DisplayWord() string
func (*FormOfGeneric) Text ¶
func (fog *FormOfGeneric) Text() string
type Frac ¶
type Gloss ¶
type Gloss struct {
Gloss string `json:"gloss,omitempty" firestore:"gloss,omitempty"`
}
type GlossaryEntry ¶
type Inherited ¶
type Inherited struct { Lang string `lang:"true" json:"lang,omitempty" firestore:"lang,omitempty"` FromLang string `lang:"true" json:"fromLang,omitempty" firestore:"fromLang,omitempty"` FromWord string `json:"fromWord,omitempty" firestore:"fromWord,omitempty"` Alt string `names:"alt" json:"alt,omitempty" firestore:"alt,omitempty"` Gloss string `names:"t,gloss" json:"gloss,omitempty" firestore:"gloss,omitempty"` PartOfSpeech string `names:"pos" json:"partOfSpeech,omitempty" firestore:"partOfSpeech,omitempty"` Literal string `names:"lit" json:"literal,omitempty" firestore:"literal,omitempty"` }
type Label ¶
type Label struct { Lang string `lang:"true" json:"lang,omitempty" firestore:"lang,omitempty"` Label1 string `json:"label1,omitempty" firestore:"label1,omitempty"` Label2 string `json:"label2,omitempty" firestore:"label2,omitempty"` Label3 string `json:"label3,omitempty" firestore:"label3,omitempty"` Label4 string `json:"label4,omitempty" firestore:"label4,omitempty"` Label5 string `json:"label5,omitempty" firestore:"label5,omitempty"` Label6 string `json:"label6,omitempty" firestore:"label6,omitempty"` Label7 string `json:"label7,omitempty" firestore:"label7,omitempty"` Label8 string `json:"label8,omitempty" firestore:"label8,omitempty"` Label9 string `json:"label9,omitempty" firestore:"label9,omitempty"` Label10 string `json:"label10,omitempty" firestore:"label10,omitempty"` }
type LabelEntry ¶
type Link ¶
type Link struct { Lang string `lang:"true" json:"lang,omitempty" firestore:"lang,omitempty"` Word string `json:"word,omitempty" firestore:"word,omitempty"` Alt string `json:"alt,omitempty" firestore:"alt,omitempty"` Gloss string `names:"t" json:"gloss,omitempty" firestore:"gloss,omitempty"` PartOfSpeech string `names:"pos" json:"partOfSpeech,omitempty" firestore:"partOfSpeech,omitempty"` Literal string `names:"lit" json:"literal,omitempty" firestore:"literal,omitempty"` }
type Mention ¶
type Mention struct { Lang string `lang:"true" json:"lang,omitempty" firestore:"lang,omitempty"` Word string `json:"word,omitempty" firestore:"word,omitempty"` Alt string `json:"alt,omitempty" firestore:"alt,omitempty"` Gloss string `names:"t" json:"gloss,omitempty" firestore:"gloss,omitempty"` PartOfSpeech string `names:"pos" json:"partOfSpeech,omitempty" firestore:"partOfSpeech,omitempty"` Literal string `names:"lit" json:"literal,omitempty" firestore:"literal,omitempty"` }
type NonGloss ¶
type NonGloss struct {
Definition string `json:"definition,omitempty" firestore:"definition,omitempty"`
}
type Prefix ¶
type Qualifier ¶
type Qualifier struct {
Definition string `json:"text,omitempty" firestore:"text,omitempty"`
}
type SpanishCompound ¶
type SpanishCompound struct { VerbStem string `json:"verbStem,omitempty" firestore:"verbStem,omitempty"` InfinitiveEnding string `json:"infinitiveEnding,omitempty" firestore:"infinitiveEnding,omitempty"` VerbForm string `json:"verbForm,omitempty" firestore:"verbForm,omitempty"` FirstPronoun string `json:"firstPronoun,omitempty" firestore:"firstPronoun,omitempty"` SecondPronoun string `json:"secondPronoun,omitempty" firestore:"secondPronoun,omitempty"` Mood string `names:"mood" json:"mood,omitempty" firestore:"mood,omitempty"` Person string `names:"person" json:"person,omitempty" firestore:"person,omitempty"` Tense string `names:"tense" json:"tense,omitempty" firestore:"tense,omitempty"` NoDot string `names:"nodot" json:"nodot,omitempty" firestore:"nodot,omitempty"` }
https://en.wiktionary.org/wiki/Template:es-compound_of
func (*SpanishCompound) Text ¶
func (esc *SpanishCompound) Text() string
func (*SpanishCompound) Word ¶
func (esc *SpanishCompound) Word() string
type SpanishVerb ¶
type SpanishVerb struct { Word string `names:"verb,inf,infinitive" json:"word,omitempty" firestore:"word,omitempty"` Ending string `names:"ending,end" json:"ending" firestore:"ending"` Mood string `names:"mood" json:"mood" firestore:"mood"` Tense string `names:"tense" json:"tense" firestore:"tense"` Number string `names:"number,num" json:"number" firestore:"number"` Person string `names:"person,pers" json:"person" firestore:"person"` Formal string `names:"formal" json:"formal" firestore:"formal"` Sense string `names:"sense" json:"sense" firestore:"sense"` Sera string `names:"sera" json:"sera" firestore:"sera"` Gender string `names:"gender,gen" json:"gender,omitempty" firestore:"gender,omitempty"` Participle string `names:"participle,par,part" json:"participle,omitempty" firestore:"participle,omitempty"` Voseo string `names:"voseo" json:"voseo,omitempty" firestore:"voseo,omitempty"` Region string `names:"region" json:"region,omitempty" firestore:"region,omitempty"` NoDot string `names:"nodot" json:"nodot,omitempty" firestore:"nodot,omitempty"` }
https://en.wiktionary.org/wiki/Template:es-verb_form_of
func (*SpanishVerb) Normalize ¶
func (esv *SpanishVerb) Normalize()
func (*SpanishVerb) Text ¶
func (esv *SpanishVerb) Text() string
type Suffix ¶
type Template ¶
func (*Template) ToDescTree ¶
func (*Template) ToDescendant ¶
func (tpl *Template) ToDescendant() Descendant
func (*Template) ToEtymTree ¶
func (*Template) ToFormOfGeneric ¶
func (tpl *Template) ToFormOfGeneric() FormOfGeneric
func (*Template) ToInherited ¶
func (*Template) ToNonGloss ¶
func (*Template) ToQualifier ¶
func (*Template) ToSpanishCompound ¶
func (tpl *Template) ToSpanishCompound() SpanishCompound
func (*Template) ToSpanishVerb ¶
func (tpl *Template) ToSpanishVerb() SpanishVerb
Click to show internal directories.
Click to hide internal directories.