co

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cooccurrence

type Cooccurrence struct {
	// contains filtered or unexported fields
}

func New

func New(typ CountType) (*Cooccurrence, error)

func (*Cooccurrence) Add

func (c *Cooccurrence) Add(left, right int) error

func (*Cooccurrence) EncodedMatrix

func (c *Cooccurrence) EncodedMatrix() map[uint64]float64

type CountType

type CountType = string
const (
	Increment CountType = "inc"
	Proximity CountType = "prox"
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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