freq

package
v0.0.0-...-38a5715 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package freq provides support for find the frequency in which a rune is found in a collection of text documents.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConcurrentBounded

func ConcurrentBounded(text []string) map[rune]int

ConcurrentBounded uses a concurrent algorithm based on a bounded fan out and no channels.

func ConcurrentBoundedChannel

func ConcurrentBoundedChannel(text []string) map[rune]int

ConcurrentBoundedChannel uses a concurrent algorithm based on a bounded fan out using a channel.

func ConcurrentUnlimited

func ConcurrentUnlimited(text []string) map[rune]int

ConcurrentUnlimited uses a concurrent algorithm based on an unlimited fan out pattern.

func Sequential

func Sequential(text []string) map[rune]int

Sequential uses a sequential algorithm.

Types

This section is empty.

Jump to

Keyboard shortcuts

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