src

package
v0.0.0-...-b5dd045 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2021 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AverageMaps

func AverageMaps(map1 map[string]float64, map2 map[string]float64) map[string]float64

AverageMaps takes two language maps and averages each value

func Distribution

func Distribution(str string) map[string]float64

Distribution splits a string into individual letters and calculates a distribution of prevalence

func Learn

func Learn(directory string, language string)

Learn reads a directory of files for a language and produces a language file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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