termui

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitGUI

func InitGUI(t *gntagger.Text, gntag *gntagger.GnTagger)

InitGUI initializes command line interface and sets text and names variables

func Keybindings

func Keybindings(g *gocui.Gui) error

Keybindings sets hotkeys for oprations on the text and names

func Layout

func Layout(g *gocui.Gui) error

Layout describes how different vindows are displayed on the screen

Types

type Stats

type Stats struct {
	// contains filtered or unexported fields
}

Stats is a collection of fields needed for calculating statistics.

type ViewType

type ViewType int

ViewType describes possibl window view types

const (
	// ViewText is a text view
	ViewText ViewType = iota
	// ViewNames is a names view
	ViewNames
	// ViewHelp is a help view
	ViewHelp
)

type Window

type Window struct {
	// contains filtered or unexported fields
}

Window keeps information about windows parameters

type WordState

type WordState struct {
	// contains filtered or unexported fields
}

WordState keeps data about a name. It allows us to collect statistics about the quality of the name-finding algorithms.

Jump to

Keyboard shortcuts

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