tweet_feature

package
v0.4.5 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2021 License: MIT Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AtMarksCountFeature

func AtMarksCountFeature(et ExampleAndTweet) string

func CleanedLCSLenFeature

func CleanedLCSLenFeature(et ExampleAndTweet) string

func CleanedLCSRatioFeature

func CleanedLCSRatioFeature(et ExampleAndTweet) string

func CleanedTextLengthFeature

func CleanedTextLengthFeature(et ExampleAndTweet) string

func FavoriteCountFeature

func FavoriteCountFeature(et ExampleAndTweet) string

func GetLCSLen

func GetLCSLen(str1 string, str2 string) int

func HashTagsCountFeature

func HashTagsCountFeature(et ExampleAndTweet) string

func LCSLenFeature

func LCSLenFeature(et ExampleAndTweet) string

func LCSRatioFeature

func LCSRatioFeature(et ExampleAndTweet) string

func RetweetCountFeature

func RetweetCountFeature(et ExampleAndTweet) string

func ScreenNameFeature

func ScreenNameFeature(et ExampleAndTweet) string

func TextLengthFeature

func TextLengthFeature(et ExampleAndTweet) string

Types

type ExampleAndTweet

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

func GetExampleAndTweet

func GetExampleAndTweet(e *model.Example, t *model.Tweet) ExampleAndTweet

func (*ExampleAndTweet) GetFeatureVector

func (et *ExampleAndTweet) GetFeatureVector() feature.FeatureVector

func (*ExampleAndTweet) GetLabel

func (et *ExampleAndTweet) GetLabel() model.LabelType

Jump to

Keyboard shortcuts

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