Documentation ¶
Index ¶
- Variables
- type Sentence
- func (*Sentence) Descriptor() ([]byte, []int)deprecated
- func (x *Sentence) GetKeywords() []string
- func (x *Sentence) GetPositionPercentages() []float32
- func (x *Sentence) GetText() string
- func (*Sentence) ProtoMessage()
- func (x *Sentence) ProtoReflect() protoreflect.Message
- func (x *Sentence) Reset()
- func (x *Sentence) String() string
- type TextSummarizationTaskData
- func (*TextSummarizationTaskData) Descriptor() ([]byte, []int)deprecated
- func (x *TextSummarizationTaskData) GetKeywords() []string
- func (x *TextSummarizationTaskData) GetSentences() []*Sentence
- func (x *TextSummarizationTaskData) GetSummary() string
- func (x *TextSummarizationTaskData) GetTitle() string
- func (*TextSummarizationTaskData) ProtoMessage()
- func (x *TextSummarizationTaskData) ProtoReflect() protoreflect.Message
- func (x *TextSummarizationTaskData) Reset()
- func (x *TextSummarizationTaskData) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_text_summarization_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Sentence ¶
type Sentence struct { Text string `protobuf:"bytes,1,opt,name=Text,proto3" json:"Text,omitempty"` Keywords []string `protobuf:"bytes,2,rep,name=Keywords,proto3" json:"Keywords,omitempty"` PositionPercentages []float32 `protobuf:"fixed32,3,rep,packed,name=PositionPercentages,proto3" json:"PositionPercentages,omitempty"` // contains filtered or unexported fields }
func (*Sentence) Descriptor
deprecated
func (*Sentence) GetKeywords ¶
func (*Sentence) GetPositionPercentages ¶
func (*Sentence) ProtoMessage ¶
func (*Sentence) ProtoMessage()
func (*Sentence) ProtoReflect ¶
func (x *Sentence) ProtoReflect() protoreflect.Message
type TextSummarizationTaskData ¶
type TextSummarizationTaskData struct { Summary string `protobuf:"bytes,1,opt,name=Summary,proto3" json:"Summary,omitempty"` Title string `protobuf:"bytes,2,opt,name=Title,proto3" json:"Title,omitempty"` Sentences []*Sentence `protobuf:"bytes,3,rep,name=Sentences,proto3" json:"Sentences,omitempty"` Keywords []string `protobuf:"bytes,4,rep,name=Keywords,proto3" json:"Keywords,omitempty"` // contains filtered or unexported fields }
func (*TextSummarizationTaskData) Descriptor
deprecated
func (*TextSummarizationTaskData) Descriptor() ([]byte, []int)
Deprecated: Use TextSummarizationTaskData.ProtoReflect.Descriptor instead.
func (*TextSummarizationTaskData) GetKeywords ¶
func (x *TextSummarizationTaskData) GetKeywords() []string
func (*TextSummarizationTaskData) GetSentences ¶
func (x *TextSummarizationTaskData) GetSentences() []*Sentence
func (*TextSummarizationTaskData) GetSummary ¶
func (x *TextSummarizationTaskData) GetSummary() string
func (*TextSummarizationTaskData) GetTitle ¶
func (x *TextSummarizationTaskData) GetTitle() string
func (*TextSummarizationTaskData) ProtoMessage ¶
func (*TextSummarizationTaskData) ProtoMessage()
func (*TextSummarizationTaskData) ProtoReflect ¶
func (x *TextSummarizationTaskData) ProtoReflect() protoreflect.Message
func (*TextSummarizationTaskData) Reset ¶
func (x *TextSummarizationTaskData) Reset()
func (*TextSummarizationTaskData) String ¶
func (x *TextSummarizationTaskData) String() string
Click to show internal directories.
Click to hide internal directories.