lattice

package
v2.7.0 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CommandName            = "lattice"
	Description            = `lattice viewer`
	UsageMessage           = "%s [-udict userdict_file] [-dict (ipa|uni)] [-mode (normal|search|extended)] [-output output_file] [-v] sentence"
	Stdout       io.Writer = os.Stdout
	Stderr       io.Writer = os.Stderr
)

subcommand property

Functions

func OptionCheck

func OptionCheck(args []string) error

OptionCheck receives a slice of args and returns an error if it was not successfully parsed

func PrintDefaults

func PrintDefaults(eh flag.ErrorHandling)

PrintDefaults prints out the default flags

func Run

func Run(ctx context.Context, args []string) error

Run receives the slice of args and executes the lattice tool

func Usage

func Usage()

Usage provides information on the use of the lattice tool

Types

This section is empty.

Jump to

Keyboard shortcuts

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