Documentation ¶
Index ¶
- func AtMarksCountFeature(et ExampleAndTweet) string
- func CleanedLCSLenFeature(et ExampleAndTweet) string
- func CleanedLCSRatioFeature(et ExampleAndTweet) string
- func CleanedTextLengthFeature(et ExampleAndTweet) string
- func FavoriteCountFeature(et ExampleAndTweet) string
- func GetLCSLen(str1 string, str2 string) int
- func HashTagsCountFeature(et ExampleAndTweet) string
- func LCSLenFeature(et ExampleAndTweet) string
- func LCSRatioFeature(et ExampleAndTweet) string
- func RetweetCountFeature(et ExampleAndTweet) string
- func ScreenNameFeature(et ExampleAndTweet) string
- func TextLengthFeature(et ExampleAndTweet) string
- type ExampleAndTweet
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 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
Click to show internal directories.
Click to hide internal directories.