rune_tree

package
v0.0.0-...-7d8a650 Latest Latest
Warning

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

Go to latest
Published: May 17, 2019 License: Unlicense Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateRuneDictionaryTree

func CreateRuneDictionaryTree(filename string) (Node, []WordDetails)

Types

type Node

type Node struct {
	Children map[rune]*Node
	Words    []*WordDetails
}

type RuneCount

type RuneCount struct {
	Letter rune
	Count  byte
}

type WordDetails

type WordDetails struct {
	Word             string
	SortedRuneCounts []RuneCount
}

func NewWordDetails

func NewWordDetails(word string) WordDetails

type WordDetailsSlice

type WordDetailsSlice []WordDetails

Jump to

Keyboard shortcuts

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