sentence

package
v2.9.7 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CommandName = "sentence"
	Description = `tiny sentence splitter`
)

subcommand property

Variables

View Source
var (
	Stdout io.Writer = os.Stdout
	Stderr io.Writer = os.Stderr
)

Stderr writes to stderr

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 tokenize tool

func Usage

func Usage()

Usage provides information on the use of the tokenize tool

Types

This section is empty.

Jump to

Keyboard shortcuts

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