tfidf

package
v0.0.0-...-4e43b7b Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_pb_unit_tfidf_tfidf_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Tfidf

type Tfidf struct {
	WorkerId    string    `protobuf:"bytes,1,opt,name=worker_id,json=workerId,proto3" json:"worker_id,omitempty"`
	ArticleId   int64     `protobuf:"varint,2,opt,name=article_id,json=articleId,proto3" json:"article_id,omitempty"`
	VocabColumn []int64   `protobuf:"varint,3,rep,packed,name=vocab_column,json=vocabColumn,proto3" json:"vocab_column,omitempty"`
	Score       []float64 `protobuf:"fixed64,4,rep,packed,name=score,proto3" json:"score,omitempty"`
	Id          uint64    `protobuf:"varint,5,opt,name=id,proto3" json:"id,omitempty"`
	VocabId     uint64    `protobuf:"varint,6,opt,name=vocab_id,json=vocabId,proto3" json:"vocab_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Tfidf) Descriptor deprecated

func (*Tfidf) Descriptor() ([]byte, []int)

Deprecated: Use Tfidf.ProtoReflect.Descriptor instead.

func (*Tfidf) GetArticleId

func (x *Tfidf) GetArticleId() int64

func (*Tfidf) GetId

func (x *Tfidf) GetId() uint64

func (*Tfidf) GetScore

func (x *Tfidf) GetScore() []float64

func (*Tfidf) GetVocabColumn

func (x *Tfidf) GetVocabColumn() []int64

func (*Tfidf) GetVocabId

func (x *Tfidf) GetVocabId() uint64

func (*Tfidf) GetWorkerId

func (x *Tfidf) GetWorkerId() string

func (*Tfidf) ProtoMessage

func (*Tfidf) ProtoMessage()

func (*Tfidf) ProtoReflect

func (x *Tfidf) ProtoReflect() protoreflect.Message

func (*Tfidf) Reset

func (x *Tfidf) Reset()

func (*Tfidf) String

func (x *Tfidf) String() string

Jump to

Keyboard shortcuts

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