Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Accent ¶
type Accent struct { MF string `json:"mf"` Mi string `json:"mi"` MiVdu string `json:"mi_vdu"` Mih string `json:"mih"` Error string `json:"error,omitempty"` Variants []AccentVariant `json:"variants"` }
Accent structure for one word accent
type AccentOutputElement ¶
type AccentOutputElement struct { Accent []Accent `json:"accent"` Word string `json:"word"` Error string `json:"error,omitempty"` }
AccentOutputElement accentuate method output element
type AccentVariant ¶
type AccentVariant struct { Accent int `json:"accent"` Accented string `json:"accented,omitempty"` Ml string `json:"ml"` Syll string `json:"syll"` Usage float64 `json:"usage,omitempty"` Meaning string `json:"meaning,omitempty"` }
AccentVariant - accenters's result
type IPAInput ¶
type IPAInput struct {
Transcription string `json:"transcription"`
}
IPAInput input for IPA method
type Trans ¶
type Trans struct {
Transcription string `json:"transcription"`
}
Trans transcription variant
type TransInput ¶
type TransInput struct { Word string `json:"word"` Syll string `json:"syll"` User string `json:"user"` Ml string `json:"ml"` Rc string `json:"rc"` Acc int `json:"acc"` }
TransInput transcription input
type TransOutput ¶
type TransOutput struct { Transcription []Trans `json:"transcription"` Word string `json:"word"` Error string `json:"error"` }
TransOutput transcription output
Click to show internal directories.
Click to hide internal directories.