align

package
v0.0.43 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Do

func Do(master []rune, other ...[]rune) [][]Pos

Do aligns the words in master pairwise with the words in other.

Types

type Pos

type Pos struct {
	B, E int // Start end end positions of the alignment slice.
	// contains filtered or unexported fields
}

Pos represents the start and end position of an alignment.

func (Pos) Slice

func (p Pos) Slice() []rune

Slice returns the slice of base for the position.

func (Pos) String added in v0.0.29

func (p Pos) String() string

Jump to

Keyboard shortcuts

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