ngram

package
v0.0.0-...-552d52e Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2019 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Binarize

func Binarize(seq [][]float64) int

func GenProb

func GenProb() []float64

GenProb generates a probability lookup table for a n-gram model.

func GenSeq

func GenSeq(prob []float64) ([][]float64, [][]float64)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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