align

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2022 License: MIT Imports: 2 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.

func Lev added in v0.0.49

func Lev(m *lev.Mat, primary []rune, rest ...[]rune) [][]Pos

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