api

package
v0.5.8 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2023 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	//TypeStatic must static accent be used
	TypeStatic = "STATIC"
	//TypeNone indicates no accent for word
	TypeNone = "NONE"
	//TypeNormal indicates no impact on the accent according clitics rule
	TypeNormal = "NORMAL"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CliticsInput

type CliticsInput struct {
	Type   string `json:"type,omitempty"`
	String string `json:"string,omitempty"`
	Mi     string `json:"mi,omitempty"`
	Lemma  string `json:"lemma,omitempty"`
	ID     int    `json:"id,omitempty"`
}

CliticsInput is input structure

type CliticsOutput

type CliticsOutput struct {
	ID         int    `json:"id,omitempty"`
	Type       string `json:"type,omitempty"`
	AccentType string `json:"accentType,omitempty"`
	Accent     int    `json:"accent,omitempty"`
	Pos        int    `json:"pos,omitempty"`
}

CliticsOutput is output result

Jump to

Keyboard shortcuts

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