galaktaglare

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: BSD-3-Clause Imports: 18 Imported by: 0

README

GalaktaGlare is a powerful, fast, broad, easy and innovative framework for Go that brings intuitive machine/deep learning with a variety of features.

Main features

  • Text Classification;

  • Data analysis;

  • Anomaly detection;

  • Image classification/recognition;

  • Voice command recognition (Windows and Linux);

  • TTS (Text To Speech) for Windows and Linux;

  • Natural Language Processing (NLP);

How to install

You can install using 'go get'. To do this, use the command:

go get -u github.com/simplyYan/GalaktaGlare

Documentation

The documentation is available on the Wiki of this repository.

License

GalaktaGlare is open-source and under the BSD-3-Clause license

Contribute

You can contribute to this project. Just open a pull-request and make your changes. Add, improve or correct features.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataAnalysis

type DataAnalysis struct{}

func (*DataAnalysis) Mean

func (da *DataAnalysis) Mean(data []float64) float64

func (*DataAnalysis) Median

func (da *DataAnalysis) Median(data []float64) float64

func (*DataAnalysis) Mode

func (da *DataAnalysis) Mode(data []float64) []float64

type GalaktaGlare

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

func New

func New() *GalaktaGlare

func (*GalaktaGlare) AnomalyDetector

func (gg *GalaktaGlare) AnomalyDetector(data []float64, threshold float64) []int

func (*GalaktaGlare) ExtractEntities

func (gg *GalaktaGlare) ExtractEntities(text string, customStopwords map[string]bool) []string

func (*GalaktaGlare) ImageDB

func (gg *GalaktaGlare) ImageDB(folderPath string) error

func (*GalaktaGlare) ImageScan

func (gg *GalaktaGlare) ImageScan(imagePath string) (float64, error)

func (*GalaktaGlare) Speech

func (gg *GalaktaGlare) Speech(tomlConfig string) error

Speech converte uma configuração TOML para JSON e cria o arquivo ggtts.json.

func (*GalaktaGlare) SpeechCfg

func (gg *GalaktaGlare) SpeechCfg() error

func (*GalaktaGlare) TextClassifier

func (gg *GalaktaGlare) TextClassifier(text, config string) (string, error)

type SpeechConfig

type SpeechConfig struct {
	Lang string `toml:"lang"`
	Text string `toml:"text"`
	Reco string `toml:"reco"`
}

Jump to

Keyboard shortcuts

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