extapi

package
v0.0.0-...-abc66c6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 22, 2022 License: BSD-3-Clause Imports: 0 Imported by: 0

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 IPAOutput

type IPAOutput struct {
	Transcription string `json:"transcription"`
	IPA           string `json:"ipa"`
}

IPAOutput output of 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL