preprocessor

package
v0.0.0-...-3be35fb Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package preprocessor is a good package. Very good indeed.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateLabelVector

func CreateLabelVector(labelList []float64) mat.Vector

CreateLabelVector is a function I am being forced to comment cuz reasons

func ParseLabel

func ParseLabel(filename string) []float64

ParseLabel tem label vermelho

func ParseText

func ParseText(filename string) []string

ParseText is a good funk

Types

type TweetTokenizer

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

func NewTokenizer

func NewTokenizer() *TweetTokenizer

func (*TweetTokenizer) CreateDocumentTermMatrix

func (tokenizer *TweetTokenizer) CreateDocumentTermMatrix(tweetList [][]string) *mat.Dense

CreateDocumentTermMatrix be good like Vera

func (*TweetTokenizer) TokenizeTweets

func (tokenizer *TweetTokenizer) TokenizeTweets(listOfTweets []string) [][]string

TweetTokenizer is a function that operates on things.

Jump to

Keyboard shortcuts

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