keywords

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NGramsToKeywordsMap

func NGramsToKeywordsMap(ngmap map[string]*ngrams.NGram) map[string]Keyword

func SerializeNGrams

func SerializeNGrams(ngmap map[string]*ngrams.NGram) ([]byte, error)

DOC:

Types

type Keyword

type Keyword struct {
	Keyword string  `json:"keyword"`
	Weight  float64 `json:"weight"`
}

func NGramsToKeywords

func NGramsToKeywords(ngmap map[string]*ngrams.NGram) []Keyword

Note: NGramsToKeywords is being used

Jump to

Keyboard shortcuts

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