Documentation ¶
Index ¶
- Constants
- Variables
- type CorefChain
- func (*CorefChain) Descriptor() ([]byte, []int)deprecated
- func (x *CorefChain) GetChainID() int32
- func (x *CorefChain) GetMention() []*CorefChain_CorefMention
- func (x *CorefChain) GetRepresentative() uint32
- func (*CorefChain) ProtoMessage()
- func (x *CorefChain) ProtoReflect() protoreflect.Message
- func (x *CorefChain) Reset()
- func (x *CorefChain) String() string
- type CorefChain_CorefMention
- func (*CorefChain_CorefMention) Descriptor() ([]byte, []int)deprecated
- func (x *CorefChain_CorefMention) GetAnimacy() string
- func (x *CorefChain_CorefMention) GetBeginIndex() uint32
- func (x *CorefChain_CorefMention) GetEndIndex() uint32
- func (x *CorefChain_CorefMention) GetGender() string
- func (x *CorefChain_CorefMention) GetHeadIndex() uint32
- func (x *CorefChain_CorefMention) GetMentionID() int32
- func (x *CorefChain_CorefMention) GetMentionType() string
- func (x *CorefChain_CorefMention) GetNumber() string
- func (x *CorefChain_CorefMention) GetPosition() uint32
- func (x *CorefChain_CorefMention) GetSentenceIndex() uint32
- func (*CorefChain_CorefMention) ProtoMessage()
- func (x *CorefChain_CorefMention) ProtoReflect() protoreflect.Message
- func (x *CorefChain_CorefMention) Reset()
- func (x *CorefChain_CorefMention) String() string
- type DependencyConverterRequest
- func (*DependencyConverterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DependencyConverterRequest) GetTrees() []*FlattenedParseTree
- func (*DependencyConverterRequest) ProtoMessage()
- func (x *DependencyConverterRequest) ProtoReflect() protoreflect.Message
- func (x *DependencyConverterRequest) Reset()
- func (x *DependencyConverterRequest) String() string
- type DependencyConverterResponse
- func (*DependencyConverterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DependencyConverterResponse) GetConversions() []*DependencyConverterResponse_DependencyConversion
- func (*DependencyConverterResponse) ProtoMessage()
- func (x *DependencyConverterResponse) ProtoReflect() protoreflect.Message
- func (x *DependencyConverterResponse) Reset()
- func (x *DependencyConverterResponse) String() string
- type DependencyConverterResponse_DependencyConversion
- func (*DependencyConverterResponse_DependencyConversion) Descriptor() ([]byte, []int)deprecated
- func (x *DependencyConverterResponse_DependencyConversion) GetGraph() *DependencyGraph
- func (x *DependencyConverterResponse_DependencyConversion) GetTree() *FlattenedParseTree
- func (*DependencyConverterResponse_DependencyConversion) ProtoMessage()
- func (x *DependencyConverterResponse_DependencyConversion) ProtoReflect() protoreflect.Message
- func (x *DependencyConverterResponse_DependencyConversion) Reset()
- func (x *DependencyConverterResponse_DependencyConversion) String() string
- type DependencyEnhancerRequest
- func (*DependencyEnhancerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DependencyEnhancerRequest) GetDocument() *Document
- func (x *DependencyEnhancerRequest) GetLanguage() Language
- func (m *DependencyEnhancerRequest) GetRef() isDependencyEnhancerRequest_Ref
- func (x *DependencyEnhancerRequest) GetRelativePronouns() string
- func (*DependencyEnhancerRequest) ProtoMessage()
- func (x *DependencyEnhancerRequest) ProtoReflect() protoreflect.Message
- func (x *DependencyEnhancerRequest) Reset()
- func (x *DependencyEnhancerRequest) String() string
- type DependencyEnhancerRequest_Language
- type DependencyEnhancerRequest_RelativePronouns
- type DependencyGraph
- func (*DependencyGraph) Descriptor() ([]byte, []int)deprecated
- func (x *DependencyGraph) GetEdge() []*DependencyGraph_Edge
- func (x *DependencyGraph) GetNode() []*DependencyGraph_Node
- func (x *DependencyGraph) GetRoot() []uint32
- func (x *DependencyGraph) GetToken() []*Token
- func (*DependencyGraph) ProtoMessage()
- func (x *DependencyGraph) ProtoReflect() protoreflect.Message
- func (x *DependencyGraph) Reset()
- func (x *DependencyGraph) String() string
- type DependencyGraph_Edge
- func (*DependencyGraph_Edge) Descriptor() ([]byte, []int)deprecated
- func (x *DependencyGraph_Edge) GetDep() string
- func (x *DependencyGraph_Edge) GetIsExtra() bool
- func (x *DependencyGraph_Edge) GetLanguage() Language
- func (x *DependencyGraph_Edge) GetSource() uint32
- func (x *DependencyGraph_Edge) GetSourceCopy() uint32
- func (x *DependencyGraph_Edge) GetTarget() uint32
- func (x *DependencyGraph_Edge) GetTargetCopy() uint32
- func (*DependencyGraph_Edge) ProtoMessage()
- func (x *DependencyGraph_Edge) ProtoReflect() protoreflect.Message
- func (x *DependencyGraph_Edge) Reset()
- func (x *DependencyGraph_Edge) String() string
- type DependencyGraph_Node
- func (*DependencyGraph_Node) Descriptor() ([]byte, []int)deprecated
- func (x *DependencyGraph_Node) GetCopyAnnotation() uint32
- func (x *DependencyGraph_Node) GetIndex() uint32
- func (x *DependencyGraph_Node) GetSentenceIndex() uint32
- func (*DependencyGraph_Node) ProtoMessage()
- func (x *DependencyGraph_Node) ProtoReflect() protoreflect.Message
- func (x *DependencyGraph_Node) Reset()
- func (x *DependencyGraph_Node) String() string
- type Document
- func (*Document) Descriptor() ([]byte, []int)deprecated
- func (*Document) ExtensionRangeArray() []protoiface.ExtensionRangeV1deprecated
- func (x *Document) GetCalendar() uint64
- func (x *Document) GetCharacter() []*Token
- func (x *Document) GetCorefChain() []*CorefChain
- func (x *Document) GetCorefMentionToEntityMentionMappings() []int32
- func (x *Document) GetDocDate() string
- func (x *Document) GetDocID() string
- func (x *Document) GetEntityMentionToCorefMentionMappings() []int32
- func (x *Document) GetHasCorefAnnotation() bool
- func (x *Document) GetHasCorefMentionAnnotation() bool
- func (x *Document) GetHasEntityMentionsAnnotation() bool
- func (x *Document) GetMentions() []*NERMention
- func (x *Document) GetMentionsForCoref() []*Mention
- func (x *Document) GetQuote() []*Quote
- func (x *Document) GetSections() []*Section
- func (x *Document) GetSentence() []*Sentence
- func (x *Document) GetSentencelessToken() []*Token
- func (x *Document) GetText() string
- func (x *Document) GetXmlDoc() bool
- func (*Document) ProtoMessage()
- func (x *Document) ProtoReflect() protoreflect.Message
- func (x *Document) Reset()
- func (x *Document) String() string
- type Entity
- func (*Entity) Descriptor() ([]byte, []int)deprecated
- func (x *Entity) GetCorefID() string
- func (x *Entity) GetExtentEnd() uint32
- func (x *Entity) GetExtentStart() uint32
- func (x *Entity) GetHeadEnd() uint32
- func (x *Entity) GetHeadStart() uint32
- func (x *Entity) GetHeadTokenIndex() uint32
- func (x *Entity) GetMentionType() string
- func (x *Entity) GetNormalizedName() string
- func (x *Entity) GetObjectID() string
- func (x *Entity) GetSubtype() string
- func (x *Entity) GetType() string
- func (*Entity) ProtoMessage()
- func (x *Entity) ProtoReflect() protoreflect.Message
- func (x *Entity) Reset()
- func (x *Entity) String() string
- type EvaluateParserRequest
- func (*EvaluateParserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EvaluateParserRequest) GetTreebank() []*EvaluateParserRequest_ParseResult
- func (*EvaluateParserRequest) ProtoMessage()
- func (x *EvaluateParserRequest) ProtoReflect() protoreflect.Message
- func (x *EvaluateParserRequest) Reset()
- func (x *EvaluateParserRequest) String() string
- type EvaluateParserRequest_ParseResult
- func (*EvaluateParserRequest_ParseResult) Descriptor() ([]byte, []int)deprecated
- func (x *EvaluateParserRequest_ParseResult) GetGold() *FlattenedParseTree
- func (x *EvaluateParserRequest_ParseResult) GetPredicted() []*FlattenedParseTree
- func (*EvaluateParserRequest_ParseResult) ProtoMessage()
- func (x *EvaluateParserRequest_ParseResult) ProtoReflect() protoreflect.Message
- func (x *EvaluateParserRequest_ParseResult) Reset()
- func (x *EvaluateParserRequest_ParseResult) String() string
- type EvaluateParserResponse
- func (*EvaluateParserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EvaluateParserResponse) GetF1() float64
- func (x *EvaluateParserResponse) GetKbestF1() float64
- func (*EvaluateParserResponse) ProtoMessage()
- func (x *EvaluateParserResponse) ProtoReflect() protoreflect.Message
- func (x *EvaluateParserResponse) Reset()
- func (x *EvaluateParserResponse) String() string
- type FlattenedParseTree
- func (*FlattenedParseTree) Descriptor() ([]byte, []int)deprecated
- func (x *FlattenedParseTree) GetNodes() []*FlattenedParseTree_Node
- func (*FlattenedParseTree) ProtoMessage()
- func (x *FlattenedParseTree) ProtoReflect() protoreflect.Message
- func (x *FlattenedParseTree) Reset()
- func (x *FlattenedParseTree) String() string
- type FlattenedParseTree_Node
- func (*FlattenedParseTree_Node) Descriptor() ([]byte, []int)deprecated
- func (x *FlattenedParseTree_Node) GetCloseNode() bool
- func (m *FlattenedParseTree_Node) GetContents() isFlattenedParseTree_Node_Contents
- func (x *FlattenedParseTree_Node) GetOpenNode() bool
- func (x *FlattenedParseTree_Node) GetScore() float64
- func (x *FlattenedParseTree_Node) GetValue() string
- func (*FlattenedParseTree_Node) ProtoMessage()
- func (x *FlattenedParseTree_Node) ProtoReflect() protoreflect.Message
- func (x *FlattenedParseTree_Node) Reset()
- func (x *FlattenedParseTree_Node) String() string
- type FlattenedParseTree_Node_CloseNode
- type FlattenedParseTree_Node_OpenNode
- type FlattenedParseTree_Node_Value
- type IndexedWord
- func (*IndexedWord) Descriptor() ([]byte, []int)deprecated
- func (x *IndexedWord) GetCopyCount() uint32
- func (x *IndexedWord) GetDocID() int32
- func (x *IndexedWord) GetSentenceNum() int32
- func (x *IndexedWord) GetTokenIndex() int32
- func (*IndexedWord) ProtoMessage()
- func (x *IndexedWord) ProtoReflect() protoreflect.Message
- func (x *IndexedWord) Reset()
- func (x *IndexedWord) String() string
- type Language
- func (Language) Descriptor() protoreflect.EnumDescriptor
- func (x Language) Enum() *Language
- func (Language) EnumDescriptor() ([]byte, []int)deprecated
- func (x Language) Number() protoreflect.EnumNumber
- func (x Language) String() string
- func (Language) Type() protoreflect.EnumType
- func (x *Language) UnmarshalJSON(b []byte) errordeprecated
- type MapIntString
- func (*MapIntString) Descriptor() ([]byte, []int)deprecated
- func (x *MapIntString) GetKey() []uint32
- func (x *MapIntString) GetValue() []string
- func (*MapIntString) ProtoMessage()
- func (x *MapIntString) ProtoReflect() protoreflect.Message
- func (x *MapIntString) Reset()
- func (x *MapIntString) String() string
- type MapStringString
- func (*MapStringString) Descriptor() ([]byte, []int)deprecated
- func (x *MapStringString) GetKey() []string
- func (x *MapStringString) GetValue() []string
- func (*MapStringString) ProtoMessage()
- func (x *MapStringString) ProtoReflect() protoreflect.Message
- func (x *MapStringString) Reset()
- func (x *MapStringString) String() string
- type Mention
- func (*Mention) Descriptor() ([]byte, []int)deprecated
- func (x *Mention) GetAnimacy() string
- func (x *Mention) GetAppositions() []int32
- func (x *Mention) GetBelongToLists() []int32
- func (x *Mention) GetCorefClusterID() int32
- func (x *Mention) GetDependents() []string
- func (x *Mention) GetDependingVerb() *IndexedWord
- func (x *Mention) GetEndIndex() uint32
- func (x *Mention) GetGender() string
- func (x *Mention) GetGeneric() bool
- func (x *Mention) GetGoldCorefClusterID() int32
- func (x *Mention) GetHasBasicDependency() bool
- func (x *Mention) GetHasContextParseTree() bool
- func (x *Mention) GetHasEnhancedDependency() bool
- func (x *Mention) GetHasTwin() bool
- func (x *Mention) GetHeadIndex() int32
- func (x *Mention) GetHeadIndexedWord() *IndexedWord
- func (x *Mention) GetHeadString() string
- func (x *Mention) GetHeadWord() *IndexedWord
- func (x *Mention) GetIsDirectObject() bool
- func (x *Mention) GetIsIndirectObject() bool
- func (x *Mention) GetIsPrepositionObject() bool
- func (x *Mention) GetIsSingleton() bool
- func (x *Mention) GetIsSubject() bool
- func (x *Mention) GetListMembers() []int32
- func (x *Mention) GetMentionID() int32
- func (x *Mention) GetMentionNum() int32
- func (x *Mention) GetMentionType() string
- func (x *Mention) GetNerString() string
- func (x *Mention) GetNumber() string
- func (x *Mention) GetOriginalRef() int32
- func (x *Mention) GetOriginalSpan() []*IndexedWord
- func (x *Mention) GetParagraph() int32
- func (x *Mention) GetPerson() string
- func (x *Mention) GetPredicateNominatives() []int32
- func (x *Mention) GetPreprocessedTerms() []string
- func (x *Mention) GetRelativePronouns() []int32
- func (x *Mention) GetSentNum() int32
- func (x *Mention) GetSentenceWords() []*IndexedWord
- func (x *Mention) GetSpeakerInfo() *SpeakerInfo
- func (x *Mention) GetStartIndex() uint32
- func (x *Mention) GetUtter() int32
- func (*Mention) ProtoMessage()
- func (x *Mention) ProtoReflect() protoreflect.Message
- func (x *Mention) Reset()
- func (x *Mention) String() string
- type MorphologyRequest
- func (*MorphologyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MorphologyRequest) GetWords() []*MorphologyRequest_TaggedWord
- func (*MorphologyRequest) ProtoMessage()
- func (x *MorphologyRequest) ProtoReflect() protoreflect.Message
- func (x *MorphologyRequest) Reset()
- func (x *MorphologyRequest) String() string
- type MorphologyRequest_TaggedWord
- func (*MorphologyRequest_TaggedWord) Descriptor() ([]byte, []int)deprecated
- func (x *MorphologyRequest_TaggedWord) GetWord() string
- func (x *MorphologyRequest_TaggedWord) GetXpos() string
- func (*MorphologyRequest_TaggedWord) ProtoMessage()
- func (x *MorphologyRequest_TaggedWord) ProtoReflect() protoreflect.Message
- func (x *MorphologyRequest_TaggedWord) Reset()
- func (x *MorphologyRequest_TaggedWord) String() string
- type MorphologyResponse
- func (*MorphologyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MorphologyResponse) GetWords() []*MorphologyResponse_WordTagLemma
- func (*MorphologyResponse) ProtoMessage()
- func (x *MorphologyResponse) ProtoReflect() protoreflect.Message
- func (x *MorphologyResponse) Reset()
- func (x *MorphologyResponse) String() string
- type MorphologyResponse_WordTagLemma
- func (*MorphologyResponse_WordTagLemma) Descriptor() ([]byte, []int)deprecated
- func (x *MorphologyResponse_WordTagLemma) GetLemma() string
- func (x *MorphologyResponse_WordTagLemma) GetWord() string
- func (x *MorphologyResponse_WordTagLemma) GetXpos() string
- func (*MorphologyResponse_WordTagLemma) ProtoMessage()
- func (x *MorphologyResponse_WordTagLemma) ProtoReflect() protoreflect.Message
- func (x *MorphologyResponse_WordTagLemma) Reset()
- func (x *MorphologyResponse_WordTagLemma) String() string
- type NERMention
- func (*NERMention) Descriptor() ([]byte, []int)deprecated
- func (x *NERMention) GetCanonicalEntityMentionIndex() uint32
- func (x *NERMention) GetEntityMentionIndex() uint32
- func (x *NERMention) GetEntityMentionText() string
- func (x *NERMention) GetEntityType() string
- func (x *NERMention) GetGender() string
- func (x *NERMention) GetNer() string
- func (x *NERMention) GetNormalizedNER() string
- func (x *NERMention) GetSentenceIndex() uint32
- func (x *NERMention) GetTimex() *Timex
- func (x *NERMention) GetTokenEndInSentenceExclusive() uint32
- func (x *NERMention) GetTokenStartInSentenceInclusive() uint32
- func (x *NERMention) GetWikipediaEntity() string
- func (*NERMention) ProtoMessage()
- func (x *NERMention) ProtoReflect() protoreflect.Message
- func (x *NERMention) Reset()
- func (x *NERMention) String() string
- type NaturalLogicRelation
- func (NaturalLogicRelation) Descriptor() protoreflect.EnumDescriptor
- func (x NaturalLogicRelation) Enum() *NaturalLogicRelation
- func (NaturalLogicRelation) EnumDescriptor() ([]byte, []int)deprecated
- func (x NaturalLogicRelation) Number() protoreflect.EnumNumber
- func (x NaturalLogicRelation) String() string
- func (NaturalLogicRelation) Type() protoreflect.EnumType
- func (x *NaturalLogicRelation) UnmarshalJSON(b []byte) errordeprecated
- type Operator
- func (*Operator) Descriptor() ([]byte, []int)deprecated
- func (x *Operator) GetName() string
- func (x *Operator) GetObjectSpanBegin() int32
- func (x *Operator) GetObjectSpanEnd() int32
- func (x *Operator) GetQuantifierSpanBegin() int32
- func (x *Operator) GetQuantifierSpanEnd() int32
- func (x *Operator) GetSubjectSpanBegin() int32
- func (x *Operator) GetSubjectSpanEnd() int32
- func (*Operator) ProtoMessage()
- func (x *Operator) ProtoReflect() protoreflect.Message
- func (x *Operator) Reset()
- func (x *Operator) String() string
- type ParseTree
- func (*ParseTree) Descriptor() ([]byte, []int)deprecated
- func (x *ParseTree) GetChild() []*ParseTree
- func (x *ParseTree) GetScore() float64
- func (x *ParseTree) GetSentiment() Sentiment
- func (x *ParseTree) GetValue() string
- func (x *ParseTree) GetYieldBeginIndex() uint32
- func (x *ParseTree) GetYieldEndIndex() uint32
- func (*ParseTree) ProtoMessage()
- func (x *ParseTree) ProtoReflect() protoreflect.Message
- func (x *ParseTree) Reset()
- func (x *ParseTree) String() string
- type Polarity
- func (*Polarity) Descriptor() ([]byte, []int)deprecated
- func (x *Polarity) GetProjectAlternation() NaturalLogicRelation
- func (x *Polarity) GetProjectCover() NaturalLogicRelation
- func (x *Polarity) GetProjectEquivalence() NaturalLogicRelation
- func (x *Polarity) GetProjectForwardEntailment() NaturalLogicRelation
- func (x *Polarity) GetProjectIndependence() NaturalLogicRelation
- func (x *Polarity) GetProjectNegation() NaturalLogicRelation
- func (x *Polarity) GetProjectReverseEntailment() NaturalLogicRelation
- func (*Polarity) ProtoMessage()
- func (x *Polarity) ProtoReflect() protoreflect.Message
- func (x *Polarity) Reset()
- func (x *Polarity) String() string
- type Quote
- func (*Quote) Descriptor() ([]byte, []int)deprecated
- func (x *Quote) GetAttributionDependencyGraph() *DependencyGraph
- func (x *Quote) GetAuthor() string
- func (x *Quote) GetBegin() uint32
- func (x *Quote) GetCanonicalMention() string
- func (x *Quote) GetCanonicalMentionBegin() uint32
- func (x *Quote) GetCanonicalMentionEnd() uint32
- func (x *Quote) GetDocid() string
- func (x *Quote) GetEnd() uint32
- func (x *Quote) GetIndex() uint32
- func (x *Quote) GetMention() string
- func (x *Quote) GetMentionBegin() uint32
- func (x *Quote) GetMentionEnd() uint32
- func (x *Quote) GetMentionSieve() string
- func (x *Quote) GetMentionType() string
- func (x *Quote) GetSentenceBegin() uint32
- func (x *Quote) GetSentenceEnd() uint32
- func (x *Quote) GetSpeaker() string
- func (x *Quote) GetSpeakerSieve() string
- func (x *Quote) GetText() string
- func (x *Quote) GetTokenBegin() uint32
- func (x *Quote) GetTokenEnd() uint32
- func (*Quote) ProtoMessage()
- func (x *Quote) ProtoReflect() protoreflect.Message
- func (x *Quote) Reset()
- func (x *Quote) String() string
- type Relation
- func (*Relation) Descriptor() ([]byte, []int)deprecated
- func (x *Relation) GetArg() []*Entity
- func (x *Relation) GetArgName() []string
- func (x *Relation) GetExtentEnd() uint32
- func (x *Relation) GetExtentStart() uint32
- func (x *Relation) GetObjectID() string
- func (x *Relation) GetSignature() string
- func (x *Relation) GetSubtype() string
- func (x *Relation) GetType() string
- func (*Relation) ProtoMessage()
- func (x *Relation) ProtoReflect() protoreflect.Message
- func (x *Relation) Reset()
- func (x *Relation) String() string
- type RelationTriple
- func (*RelationTriple) Descriptor() ([]byte, []int)deprecated
- func (x *RelationTriple) GetConfidence() float64
- func (x *RelationTriple) GetIstmod() bool
- func (x *RelationTriple) GetObject() string
- func (x *RelationTriple) GetObjectTokens() []*TokenLocation
- func (x *RelationTriple) GetPrefixBe() bool
- func (x *RelationTriple) GetRelation() string
- func (x *RelationTriple) GetRelationTokens() []*TokenLocation
- func (x *RelationTriple) GetSubject() string
- func (x *RelationTriple) GetSubjectTokens() []*TokenLocation
- func (x *RelationTriple) GetSuffixBe() bool
- func (x *RelationTriple) GetSuffixOf() bool
- func (x *RelationTriple) GetTree() *DependencyGraph
- func (*RelationTriple) ProtoMessage()
- func (x *RelationTriple) ProtoReflect() protoreflect.Message
- func (x *RelationTriple) Reset()
- func (x *RelationTriple) String() string
- type Section
- func (*Section) Descriptor() ([]byte, []int)deprecated
- func (x *Section) GetAuthor() string
- func (x *Section) GetAuthorCharBegin() uint32
- func (x *Section) GetAuthorCharEnd() uint32
- func (x *Section) GetCharBegin() uint32
- func (x *Section) GetCharEnd() uint32
- func (x *Section) GetDatetime() string
- func (x *Section) GetQuotes() []*Quote
- func (x *Section) GetSentenceIndexes() []uint32
- func (x *Section) GetXmlTag() *Token
- func (*Section) ProtoMessage()
- func (x *Section) ProtoReflect() protoreflect.Message
- func (x *Section) Reset()
- func (x *Section) String() string
- type SemgrexRequest
- func (*SemgrexRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SemgrexRequest) GetQuery() []*SemgrexRequest_Dependencies
- func (x *SemgrexRequest) GetSemgrex() []string
- func (*SemgrexRequest) ProtoMessage()
- func (x *SemgrexRequest) ProtoReflect() protoreflect.Message
- func (x *SemgrexRequest) Reset()
- func (x *SemgrexRequest) String() string
- type SemgrexRequest_Dependencies
- func (*SemgrexRequest_Dependencies) Descriptor() ([]byte, []int)deprecated
- func (x *SemgrexRequest_Dependencies) GetGraph() *DependencyGraph
- func (x *SemgrexRequest_Dependencies) GetToken() []*Token
- func (*SemgrexRequest_Dependencies) ProtoMessage()
- func (x *SemgrexRequest_Dependencies) ProtoReflect() protoreflect.Message
- func (x *SemgrexRequest_Dependencies) Reset()
- func (x *SemgrexRequest_Dependencies) String() string
- type SemgrexResponse
- func (*SemgrexResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SemgrexResponse) GetResult() []*SemgrexResponse_GraphResult
- func (*SemgrexResponse) ProtoMessage()
- func (x *SemgrexResponse) ProtoReflect() protoreflect.Message
- func (x *SemgrexResponse) Reset()
- func (x *SemgrexResponse) String() string
- type SemgrexResponse_GraphResult
- func (*SemgrexResponse_GraphResult) Descriptor() ([]byte, []int)deprecated
- func (x *SemgrexResponse_GraphResult) GetResult() []*SemgrexResponse_SemgrexResult
- func (*SemgrexResponse_GraphResult) ProtoMessage()
- func (x *SemgrexResponse_GraphResult) ProtoReflect() protoreflect.Message
- func (x *SemgrexResponse_GraphResult) Reset()
- func (x *SemgrexResponse_GraphResult) String() string
- type SemgrexResponse_Match
- func (*SemgrexResponse_Match) Descriptor() ([]byte, []int)deprecated
- func (x *SemgrexResponse_Match) GetEdge() []*SemgrexResponse_NamedEdge
- func (x *SemgrexResponse_Match) GetGraphIndex() int32
- func (x *SemgrexResponse_Match) GetMatchIndex() int32
- func (x *SemgrexResponse_Match) GetNode() []*SemgrexResponse_NamedNode
- func (x *SemgrexResponse_Match) GetReln() []*SemgrexResponse_NamedRelation
- func (x *SemgrexResponse_Match) GetSemgrexIndex() int32
- func (*SemgrexResponse_Match) ProtoMessage()
- func (x *SemgrexResponse_Match) ProtoReflect() protoreflect.Message
- func (x *SemgrexResponse_Match) Reset()
- func (x *SemgrexResponse_Match) String() string
- type SemgrexResponse_NamedEdge
- func (*SemgrexResponse_NamedEdge) Descriptor() ([]byte, []int)deprecated
- func (x *SemgrexResponse_NamedEdge) GetIsExtra() bool
- func (x *SemgrexResponse_NamedEdge) GetName() string
- func (x *SemgrexResponse_NamedEdge) GetReln() string
- func (x *SemgrexResponse_NamedEdge) GetSource() int32
- func (x *SemgrexResponse_NamedEdge) GetSourceCopy() uint32
- func (x *SemgrexResponse_NamedEdge) GetTarget() int32
- func (x *SemgrexResponse_NamedEdge) GetTargetCopy() uint32
- func (*SemgrexResponse_NamedEdge) ProtoMessage()
- func (x *SemgrexResponse_NamedEdge) ProtoReflect() protoreflect.Message
- func (x *SemgrexResponse_NamedEdge) Reset()
- func (x *SemgrexResponse_NamedEdge) String() string
- type SemgrexResponse_NamedNode
- func (*SemgrexResponse_NamedNode) Descriptor() ([]byte, []int)deprecated
- func (x *SemgrexResponse_NamedNode) GetMatchIndex() int32
- func (x *SemgrexResponse_NamedNode) GetName() string
- func (*SemgrexResponse_NamedNode) ProtoMessage()
- func (x *SemgrexResponse_NamedNode) ProtoReflect() protoreflect.Message
- func (x *SemgrexResponse_NamedNode) Reset()
- func (x *SemgrexResponse_NamedNode) String() string
- type SemgrexResponse_NamedRelation
- func (*SemgrexResponse_NamedRelation) Descriptor() ([]byte, []int)deprecated
- func (x *SemgrexResponse_NamedRelation) GetName() string
- func (x *SemgrexResponse_NamedRelation) GetReln() string
- func (*SemgrexResponse_NamedRelation) ProtoMessage()
- func (x *SemgrexResponse_NamedRelation) ProtoReflect() protoreflect.Message
- func (x *SemgrexResponse_NamedRelation) Reset()
- func (x *SemgrexResponse_NamedRelation) String() string
- type SemgrexResponse_SemgrexResult
- func (*SemgrexResponse_SemgrexResult) Descriptor() ([]byte, []int)deprecated
- func (x *SemgrexResponse_SemgrexResult) GetMatch() []*SemgrexResponse_Match
- func (*SemgrexResponse_SemgrexResult) ProtoMessage()
- func (x *SemgrexResponse_SemgrexResult) ProtoReflect() protoreflect.Message
- func (x *SemgrexResponse_SemgrexResult) Reset()
- func (x *SemgrexResponse_SemgrexResult) String() string
- type Sentence
- func (*Sentence) Descriptor() ([]byte, []int)deprecated
- func (*Sentence) ExtensionRangeArray() []protoiface.ExtensionRangeV1deprecated
- func (x *Sentence) GetAlternativeDependencies() *DependencyGraph
- func (x *Sentence) GetAnnotatedParseTree() *ParseTree
- func (x *Sentence) GetBasicDependencies() *DependencyGraph
- func (x *Sentence) GetBinarizedParseTree() *ParseTree
- func (x *Sentence) GetChapterIndex() uint32
- func (x *Sentence) GetCharacter() []*Token
- func (x *Sentence) GetCharacterOffsetBegin() uint32
- func (x *Sentence) GetCharacterOffsetEnd() uint32
- func (x *Sentence) GetCollapsedCCProcessedDependencies() *DependencyGraph
- func (x *Sentence) GetCollapsedDependencies() *DependencyGraph
- func (x *Sentence) GetDocID() string
- func (x *Sentence) GetEnhancedDependencies() *DependencyGraph
- func (x *Sentence) GetEnhancedPlusPlusDependencies() *DependencyGraph
- func (x *Sentence) GetEnhancedSentence() *Sentence
- func (x *Sentence) GetEntailedClause() []*SentenceFragment
- func (x *Sentence) GetEntailedSentence() []*SentenceFragment
- func (x *Sentence) GetEntity() []*Entity
- func (x *Sentence) GetHasCorefMentionsAnnotation() bool
- func (x *Sentence) GetHasEntityMentionsAnnotation() bool
- func (x *Sentence) GetHasKBPTriplesAnnotation() bool
- func (x *Sentence) GetHasNumerizedTokensAnnotation() bool
- func (x *Sentence) GetHasOpenieTriplesAnnotation() bool
- func (x *Sentence) GetHasRelationAnnotations() bool
- func (x *Sentence) GetKBestParseTrees() []*ParseTree
- func (x *Sentence) GetKbpTriple() []*RelationTriple
- func (x *Sentence) GetLineNumber() uint32
- func (x *Sentence) GetMentions() []*NERMention
- func (x *Sentence) GetMentionsForCoref() []*Mention
- func (x *Sentence) GetOpenieTriple() []*RelationTriple
- func (x *Sentence) GetParagraph() uint32
- func (x *Sentence) GetParagraphIndex() uint32
- func (x *Sentence) GetParseTree() *ParseTree
- func (x *Sentence) GetRelation() []*Relation
- func (x *Sentence) GetSectionAuthor() string
- func (x *Sentence) GetSectionDate() string
- func (x *Sentence) GetSectionIndex() uint32
- func (x *Sentence) GetSectionName() string
- func (x *Sentence) GetSectionQuoted() bool
- func (x *Sentence) GetSentenceID() string
- func (x *Sentence) GetSentenceIndex() uint32
- func (x *Sentence) GetSentiment() string
- func (x *Sentence) GetSpeaker() string
- func (x *Sentence) GetSpeakerType() string
- func (x *Sentence) GetText() string
- func (x *Sentence) GetToken() []*Token
- func (x *Sentence) GetTokenOffsetBegin() uint32
- func (x *Sentence) GetTokenOffsetEnd() uint32
- func (*Sentence) ProtoMessage()
- func (x *Sentence) ProtoReflect() protoreflect.Message
- func (x *Sentence) Reset()
- func (x *Sentence) String() string
- type SentenceFragment
- func (*SentenceFragment) Descriptor() ([]byte, []int)deprecated
- func (x *SentenceFragment) GetAssumedTruth() bool
- func (x *SentenceFragment) GetRoot() uint32
- func (x *SentenceFragment) GetScore() float64
- func (x *SentenceFragment) GetTokenIndex() []uint32
- func (*SentenceFragment) ProtoMessage()
- func (x *SentenceFragment) ProtoReflect() protoreflect.Message
- func (x *SentenceFragment) Reset()
- func (x *SentenceFragment) String() string
- type Sentiment
- func (Sentiment) Descriptor() protoreflect.EnumDescriptor
- func (x Sentiment) Enum() *Sentiment
- func (Sentiment) EnumDescriptor() ([]byte, []int)deprecated
- func (x Sentiment) Number() protoreflect.EnumNumber
- func (x Sentiment) String() string
- func (Sentiment) Type() protoreflect.EnumType
- func (x *Sentiment) UnmarshalJSON(b []byte) errordeprecated
- type Span
- type SpeakerInfo
- func (*SpeakerInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SpeakerInfo) GetMentions() []int32
- func (x *SpeakerInfo) GetSpeakerName() string
- func (*SpeakerInfo) ProtoMessage()
- func (x *SpeakerInfo) ProtoReflect() protoreflect.Message
- func (x *SpeakerInfo) Reset()
- func (x *SpeakerInfo) String() string
- type SsurgeonRequest
- func (*SsurgeonRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SsurgeonRequest) GetGraph() []*DependencyGraph
- func (x *SsurgeonRequest) GetSsurgeon() []*SsurgeonRequest_Ssurgeon
- func (*SsurgeonRequest) ProtoMessage()
- func (x *SsurgeonRequest) ProtoReflect() protoreflect.Message
- func (x *SsurgeonRequest) Reset()
- func (x *SsurgeonRequest) String() string
- type SsurgeonRequest_Ssurgeon
- func (*SsurgeonRequest_Ssurgeon) Descriptor() ([]byte, []int)deprecated
- func (x *SsurgeonRequest_Ssurgeon) GetId() string
- func (x *SsurgeonRequest_Ssurgeon) GetLanguage() string
- func (x *SsurgeonRequest_Ssurgeon) GetNotes() string
- func (x *SsurgeonRequest_Ssurgeon) GetOperation() []string
- func (x *SsurgeonRequest_Ssurgeon) GetSemgrex() string
- func (*SsurgeonRequest_Ssurgeon) ProtoMessage()
- func (x *SsurgeonRequest_Ssurgeon) ProtoReflect() protoreflect.Message
- func (x *SsurgeonRequest_Ssurgeon) Reset()
- func (x *SsurgeonRequest_Ssurgeon) String() string
- type SsurgeonResponse
- func (*SsurgeonResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SsurgeonResponse) GetResult() []*SsurgeonResponse_SsurgeonResult
- func (*SsurgeonResponse) ProtoMessage()
- func (x *SsurgeonResponse) ProtoReflect() protoreflect.Message
- func (x *SsurgeonResponse) Reset()
- func (x *SsurgeonResponse) String() string
- type SsurgeonResponse_SsurgeonResult
- func (*SsurgeonResponse_SsurgeonResult) Descriptor() ([]byte, []int)deprecated
- func (x *SsurgeonResponse_SsurgeonResult) GetChanged() bool
- func (x *SsurgeonResponse_SsurgeonResult) GetGraph() *DependencyGraph
- func (*SsurgeonResponse_SsurgeonResult) ProtoMessage()
- func (x *SsurgeonResponse_SsurgeonResult) ProtoReflect() protoreflect.Message
- func (x *SsurgeonResponse_SsurgeonResult) Reset()
- func (x *SsurgeonResponse_SsurgeonResult) String() string
- type Timex
- func (*Timex) Descriptor() ([]byte, []int)deprecated
- func (x *Timex) GetAltValue() string
- func (x *Timex) GetBeginPoint() uint32
- func (x *Timex) GetEndPoint() uint32
- func (x *Timex) GetText() string
- func (x *Timex) GetTid() string
- func (x *Timex) GetType() string
- func (x *Timex) GetValue() string
- func (*Timex) ProtoMessage()
- func (x *Timex) ProtoReflect() protoreflect.Message
- func (x *Timex) Reset()
- func (x *Timex) String() string
- type Token
- func (*Token) Descriptor() ([]byte, []int)deprecated
- func (*Token) ExtensionRangeArray() []protoiface.ExtensionRangeV1deprecated
- func (x *Token) GetAfter() string
- func (x *Token) GetAnswer() string
- func (x *Token) GetArabicSeg() string
- func (x *Token) GetBefore() string
- func (x *Token) GetBeginChar() uint32
- func (x *Token) GetBeginIndex() uint32
- func (x *Token) GetCategory() string
- func (x *Token) GetChineseChar() string
- func (x *Token) GetChineseSeg() string
- func (x *Token) GetChineseXMLChar() string
- func (x *Token) GetCoarseNER() string
- func (x *Token) GetCoarseTag() string
- func (x *Token) GetCodepointOffsetBegin() uint32
- func (x *Token) GetCodepointOffsetEnd() uint32
- func (x *Token) GetConllUFeatures() *MapStringString
- func (x *Token) GetConllUMisc() string
- func (x *Token) GetConllUSecondaryDeps() *MapStringString
- func (x *Token) GetConllUTokenSpan() *Span
- func (x *Token) GetCorefClusterID() uint32
- func (x *Token) GetCorefMentionIndex() []uint32
- func (x *Token) GetEndChar() uint32
- func (x *Token) GetEndIndex() uint32
- func (x *Token) GetEntityMentionIndex() uint32
- func (x *Token) GetFineGrainedNER() string
- func (x *Token) GetGender() string
- func (x *Token) GetHasXmlContext() bool
- func (x *Token) GetHeadWordIndex() uint32
- func (x *Token) GetIsFirstMWT() bool
- func (x *Token) GetIsMWT() bool
- func (x *Token) GetIsNewline() bool
- func (x *Token) GetLemma() string
- func (x *Token) GetMwtText() string
- func (x *Token) GetNer() string
- func (x *Token) GetNerLabelProbs() []string
- func (x *Token) GetNormalizedNER() string
- func (x *Token) GetNumericCompositeType() string
- func (x *Token) GetNumericCompositeValue() uint64
- func (x *Token) GetNumericType() string
- func (x *Token) GetNumericValue() uint64
- func (x *Token) GetOperator() *Operator
- func (x *Token) GetOriginalText() string
- func (x *Token) GetParent() string
- func (x *Token) GetPolarity() *Polarity
- func (x *Token) GetPolarityDir() string
- func (x *Token) GetPos() string
- func (x *Token) GetQuotationIndex() int32
- func (x *Token) GetSectionAuthor() string
- func (x *Token) GetSectionDate() string
- func (x *Token) GetSectionEndLabel() string
- func (x *Token) GetSectionName() string
- func (x *Token) GetSentiment() string
- func (x *Token) GetSpan() *Span
- func (x *Token) GetSpeaker() string
- func (x *Token) GetSpeakerType() string
- func (x *Token) GetTimexValue() *Timex
- func (x *Token) GetTokenBeginIndex() uint32
- func (x *Token) GetTokenEndIndex() uint32
- func (x *Token) GetTrueCase() string
- func (x *Token) GetTrueCaseText() string
- func (x *Token) GetUtterance() uint32
- func (x *Token) GetValue() string
- func (x *Token) GetWikipediaEntity() string
- func (x *Token) GetWord() string
- func (x *Token) GetXmlContext() []string
- func (*Token) ProtoMessage()
- func (x *Token) ProtoReflect() protoreflect.Message
- func (x *Token) Reset()
- func (x *Token) String() string
- type TokenLocation
- func (*TokenLocation) Descriptor() ([]byte, []int)deprecated
- func (x *TokenLocation) GetSentenceIndex() uint32
- func (x *TokenLocation) GetTokenIndex() uint32
- func (*TokenLocation) ProtoMessage()
- func (x *TokenLocation) ProtoReflect() protoreflect.Message
- func (x *TokenLocation) Reset()
- func (x *TokenLocation) String() string
- type TokensRegexRequest
- func (*TokensRegexRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TokensRegexRequest) GetDoc() *Document
- func (x *TokensRegexRequest) GetPattern() []string
- func (*TokensRegexRequest) ProtoMessage()
- func (x *TokensRegexRequest) ProtoReflect() protoreflect.Message
- func (x *TokensRegexRequest) Reset()
- func (x *TokensRegexRequest) String() string
- type TokensRegexResponse
- func (*TokensRegexResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TokensRegexResponse) GetMatch() []*TokensRegexResponse_PatternMatch
- func (*TokensRegexResponse) ProtoMessage()
- func (x *TokensRegexResponse) ProtoReflect() protoreflect.Message
- func (x *TokensRegexResponse) Reset()
- func (x *TokensRegexResponse) String() string
- type TokensRegexResponse_Match
- func (*TokensRegexResponse_Match) Descriptor() ([]byte, []int)deprecated
- func (x *TokensRegexResponse_Match) GetGroup() []*TokensRegexResponse_MatchLocation
- func (x *TokensRegexResponse_Match) GetMatch() *TokensRegexResponse_MatchLocation
- func (x *TokensRegexResponse_Match) GetSentence() int32
- func (*TokensRegexResponse_Match) ProtoMessage()
- func (x *TokensRegexResponse_Match) ProtoReflect() protoreflect.Message
- func (x *TokensRegexResponse_Match) Reset()
- func (x *TokensRegexResponse_Match) String() string
- type TokensRegexResponse_MatchLocation
- func (*TokensRegexResponse_MatchLocation) Descriptor() ([]byte, []int)deprecated
- func (x *TokensRegexResponse_MatchLocation) GetBegin() int32
- func (x *TokensRegexResponse_MatchLocation) GetEnd() int32
- func (x *TokensRegexResponse_MatchLocation) GetText() string
- func (*TokensRegexResponse_MatchLocation) ProtoMessage()
- func (x *TokensRegexResponse_MatchLocation) ProtoReflect() protoreflect.Message
- func (x *TokensRegexResponse_MatchLocation) Reset()
- func (x *TokensRegexResponse_MatchLocation) String() string
- type TokensRegexResponse_PatternMatch
- func (*TokensRegexResponse_PatternMatch) Descriptor() ([]byte, []int)deprecated
- func (x *TokensRegexResponse_PatternMatch) GetMatch() []*TokensRegexResponse_Match
- func (*TokensRegexResponse_PatternMatch) ProtoMessage()
- func (x *TokensRegexResponse_PatternMatch) ProtoReflect() protoreflect.Message
- func (x *TokensRegexResponse_PatternMatch) Reset()
- func (x *TokensRegexResponse_PatternMatch) String() string
- type TsurgeonRequest
- func (*TsurgeonRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TsurgeonRequest) GetOperations() []*TsurgeonRequest_Operation
- func (x *TsurgeonRequest) GetTrees() []*FlattenedParseTree
- func (*TsurgeonRequest) ProtoMessage()
- func (x *TsurgeonRequest) ProtoReflect() protoreflect.Message
- func (x *TsurgeonRequest) Reset()
- func (x *TsurgeonRequest) String() string
- type TsurgeonRequest_Operation
- func (*TsurgeonRequest_Operation) Descriptor() ([]byte, []int)deprecated
- func (x *TsurgeonRequest_Operation) GetTregex() string
- func (x *TsurgeonRequest_Operation) GetTsurgeon() []string
- func (*TsurgeonRequest_Operation) ProtoMessage()
- func (x *TsurgeonRequest_Operation) ProtoReflect() protoreflect.Message
- func (x *TsurgeonRequest_Operation) Reset()
- func (x *TsurgeonRequest_Operation) String() string
- type TsurgeonResponse
- func (*TsurgeonResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TsurgeonResponse) GetTrees() []*FlattenedParseTree
- func (*TsurgeonResponse) ProtoMessage()
- func (x *TsurgeonResponse) ProtoReflect() protoreflect.Message
- func (x *TsurgeonResponse) Reset()
- func (x *TsurgeonResponse) String() string
Constants ¶
const (
Default_DependencyGraph_Edge_Language = Language_Unknown
)
Default values for DependencyGraph_Edge fields.
Variables ¶
var ( Language_name = map[int32]string{ 0: "Unknown", 1: "Any", 2: "Arabic", 3: "Chinese", 4: "English", 5: "German", 6: "French", 7: "Hebrew", 8: "Spanish", 9: "UniversalEnglish", 10: "UniversalChinese", } Language_value = map[string]int32{ "Unknown": 0, "Any": 1, "Arabic": 2, "Chinese": 3, "English": 4, "German": 5, "French": 6, "Hebrew": 7, "Spanish": 8, "UniversalEnglish": 9, "UniversalChinese": 10, } )
Enum value maps for Language.
var ( Sentiment_name = map[int32]string{ 0: "STRONG_NEGATIVE", 1: "WEAK_NEGATIVE", 2: "NEUTRAL", 3: "WEAK_POSITIVE", 4: "STRONG_POSITIVE", } Sentiment_value = map[string]int32{ "STRONG_NEGATIVE": 0, "WEAK_NEGATIVE": 1, "NEUTRAL": 2, "WEAK_POSITIVE": 3, "STRONG_POSITIVE": 4, } )
Enum value maps for Sentiment.
var ( NaturalLogicRelation_name = map[int32]string{ 0: "EQUIVALENCE", 1: "FORWARD_ENTAILMENT", 2: "REVERSE_ENTAILMENT", 3: "NEGATION", 4: "ALTERNATION", 5: "COVER", 6: "INDEPENDENCE", } NaturalLogicRelation_value = map[string]int32{ "EQUIVALENCE": 0, "FORWARD_ENTAILMENT": 1, "REVERSE_ENTAILMENT": 2, "NEGATION": 3, "ALTERNATION": 4, "COVER": 5, "INDEPENDENCE": 6, } )
Enum value maps for NaturalLogicRelation.
var File_proto_coreNLP_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CorefChain ¶
type CorefChain struct { ChainID *int32 `protobuf:"varint,1,req,name=chainID" json:"chainID,omitempty"` Mention []*CorefChain_CorefMention `protobuf:"bytes,2,rep,name=mention" json:"mention,omitempty"` Representative *uint32 `protobuf:"varint,3,req,name=representative" json:"representative,omitempty"` // contains filtered or unexported fields }
A coreference chain. These fields are not *really* optional. CoreNLP will crash without them.
func (*CorefChain) Descriptor
deprecated
func (*CorefChain) Descriptor() ([]byte, []int)
Deprecated: Use CorefChain.ProtoReflect.Descriptor instead.
func (*CorefChain) GetChainID ¶
func (x *CorefChain) GetChainID() int32
func (*CorefChain) GetMention ¶
func (x *CorefChain) GetMention() []*CorefChain_CorefMention
func (*CorefChain) GetRepresentative ¶
func (x *CorefChain) GetRepresentative() uint32
func (*CorefChain) ProtoMessage ¶
func (*CorefChain) ProtoMessage()
func (*CorefChain) ProtoReflect ¶
func (x *CorefChain) ProtoReflect() protoreflect.Message
func (*CorefChain) Reset ¶
func (x *CorefChain) Reset()
func (*CorefChain) String ¶
func (x *CorefChain) String() string
type CorefChain_CorefMention ¶
type CorefChain_CorefMention struct { MentionID *int32 `protobuf:"varint,1,opt,name=mentionID" json:"mentionID,omitempty"` MentionType *string `protobuf:"bytes,2,opt,name=mentionType" json:"mentionType,omitempty"` Number *string `protobuf:"bytes,3,opt,name=number" json:"number,omitempty"` Gender *string `protobuf:"bytes,4,opt,name=gender" json:"gender,omitempty"` Animacy *string `protobuf:"bytes,5,opt,name=animacy" json:"animacy,omitempty"` BeginIndex *uint32 `protobuf:"varint,6,opt,name=beginIndex" json:"beginIndex,omitempty"` EndIndex *uint32 `protobuf:"varint,7,opt,name=endIndex" json:"endIndex,omitempty"` HeadIndex *uint32 `protobuf:"varint,9,opt,name=headIndex" json:"headIndex,omitempty"` SentenceIndex *uint32 `protobuf:"varint,10,opt,name=sentenceIndex" json:"sentenceIndex,omitempty"` Position *uint32 `protobuf:"varint,11,opt,name=position" json:"position,omitempty"` // the second element of position // contains filtered or unexported fields }
func (*CorefChain_CorefMention) Descriptor
deprecated
func (*CorefChain_CorefMention) Descriptor() ([]byte, []int)
Deprecated: Use CorefChain_CorefMention.ProtoReflect.Descriptor instead.
func (*CorefChain_CorefMention) GetAnimacy ¶
func (x *CorefChain_CorefMention) GetAnimacy() string
func (*CorefChain_CorefMention) GetBeginIndex ¶
func (x *CorefChain_CorefMention) GetBeginIndex() uint32
func (*CorefChain_CorefMention) GetEndIndex ¶
func (x *CorefChain_CorefMention) GetEndIndex() uint32
func (*CorefChain_CorefMention) GetGender ¶
func (x *CorefChain_CorefMention) GetGender() string
func (*CorefChain_CorefMention) GetHeadIndex ¶
func (x *CorefChain_CorefMention) GetHeadIndex() uint32
func (*CorefChain_CorefMention) GetMentionID ¶
func (x *CorefChain_CorefMention) GetMentionID() int32
func (*CorefChain_CorefMention) GetMentionType ¶
func (x *CorefChain_CorefMention) GetMentionType() string
func (*CorefChain_CorefMention) GetNumber ¶
func (x *CorefChain_CorefMention) GetNumber() string
func (*CorefChain_CorefMention) GetPosition ¶
func (x *CorefChain_CorefMention) GetPosition() uint32
func (*CorefChain_CorefMention) GetSentenceIndex ¶
func (x *CorefChain_CorefMention) GetSentenceIndex() uint32
func (*CorefChain_CorefMention) ProtoMessage ¶
func (*CorefChain_CorefMention) ProtoMessage()
func (*CorefChain_CorefMention) ProtoReflect ¶
func (x *CorefChain_CorefMention) ProtoReflect() protoreflect.Message
func (*CorefChain_CorefMention) Reset ¶
func (x *CorefChain_CorefMention) Reset()
func (*CorefChain_CorefMention) String ¶
func (x *CorefChain_CorefMention) String() string
type DependencyConverterRequest ¶ added in v0.4.5
type DependencyConverterRequest struct { Trees []*FlattenedParseTree `protobuf:"bytes,1,rep,name=trees" json:"trees,omitempty"` // contains filtered or unexported fields }
A request for converting constituency trees to dependency graphs
func (*DependencyConverterRequest) Descriptor
deprecated
added in
v0.4.5
func (*DependencyConverterRequest) Descriptor() ([]byte, []int)
Deprecated: Use DependencyConverterRequest.ProtoReflect.Descriptor instead.
func (*DependencyConverterRequest) GetTrees ¶ added in v0.4.5
func (x *DependencyConverterRequest) GetTrees() []*FlattenedParseTree
func (*DependencyConverterRequest) ProtoMessage ¶ added in v0.4.5
func (*DependencyConverterRequest) ProtoMessage()
func (*DependencyConverterRequest) ProtoReflect ¶ added in v0.4.5
func (x *DependencyConverterRequest) ProtoReflect() protoreflect.Message
func (*DependencyConverterRequest) Reset ¶ added in v0.4.5
func (x *DependencyConverterRequest) Reset()
func (*DependencyConverterRequest) String ¶ added in v0.4.5
func (x *DependencyConverterRequest) String() string
type DependencyConverterResponse ¶ added in v0.4.5
type DependencyConverterResponse struct { Conversions []*DependencyConverterResponse_DependencyConversion `protobuf:"bytes,1,rep,name=conversions" json:"conversions,omitempty"` // contains filtered or unexported fields }
The result of using the CoreNLP dependency converter. One graph per tree
func (*DependencyConverterResponse) Descriptor
deprecated
added in
v0.4.5
func (*DependencyConverterResponse) Descriptor() ([]byte, []int)
Deprecated: Use DependencyConverterResponse.ProtoReflect.Descriptor instead.
func (*DependencyConverterResponse) GetConversions ¶ added in v0.4.5
func (x *DependencyConverterResponse) GetConversions() []*DependencyConverterResponse_DependencyConversion
func (*DependencyConverterResponse) ProtoMessage ¶ added in v0.4.5
func (*DependencyConverterResponse) ProtoMessage()
func (*DependencyConverterResponse) ProtoReflect ¶ added in v0.4.5
func (x *DependencyConverterResponse) ProtoReflect() protoreflect.Message
func (*DependencyConverterResponse) Reset ¶ added in v0.4.5
func (x *DependencyConverterResponse) Reset()
func (*DependencyConverterResponse) String ¶ added in v0.4.5
func (x *DependencyConverterResponse) String() string
type DependencyConverterResponse_DependencyConversion ¶ added in v0.4.5
type DependencyConverterResponse_DependencyConversion struct { Graph *DependencyGraph `protobuf:"bytes,1,req,name=graph" json:"graph,omitempty"` Tree *FlattenedParseTree `protobuf:"bytes,2,opt,name=tree" json:"tree,omitempty"` // contains filtered or unexported fields }
func (*DependencyConverterResponse_DependencyConversion) Descriptor
deprecated
added in
v0.4.5
func (*DependencyConverterResponse_DependencyConversion) Descriptor() ([]byte, []int)
Deprecated: Use DependencyConverterResponse_DependencyConversion.ProtoReflect.Descriptor instead.
func (*DependencyConverterResponse_DependencyConversion) GetGraph ¶ added in v0.4.5
func (x *DependencyConverterResponse_DependencyConversion) GetGraph() *DependencyGraph
func (*DependencyConverterResponse_DependencyConversion) GetTree ¶ added in v0.4.5
func (x *DependencyConverterResponse_DependencyConversion) GetTree() *FlattenedParseTree
func (*DependencyConverterResponse_DependencyConversion) ProtoMessage ¶ added in v0.4.5
func (*DependencyConverterResponse_DependencyConversion) ProtoMessage()
func (*DependencyConverterResponse_DependencyConversion) ProtoReflect ¶ added in v0.4.5
func (x *DependencyConverterResponse_DependencyConversion) ProtoReflect() protoreflect.Message
func (*DependencyConverterResponse_DependencyConversion) Reset ¶ added in v0.4.5
func (x *DependencyConverterResponse_DependencyConversion) Reset()
func (*DependencyConverterResponse_DependencyConversion) String ¶ added in v0.4.5
func (x *DependencyConverterResponse_DependencyConversion) String() string
type DependencyEnhancerRequest ¶
type DependencyEnhancerRequest struct { Document *Document `protobuf:"bytes,1,req,name=document" json:"document,omitempty"` // Types that are assignable to Ref: // *DependencyEnhancerRequest_Language // *DependencyEnhancerRequest_RelativePronouns Ref isDependencyEnhancerRequest_Ref `protobuf_oneof:"ref"` // contains filtered or unexported fields }
A protobuf which allows to pass in a document with basic dependencies to be converted to enhanced
func (*DependencyEnhancerRequest) Descriptor
deprecated
func (*DependencyEnhancerRequest) Descriptor() ([]byte, []int)
Deprecated: Use DependencyEnhancerRequest.ProtoReflect.Descriptor instead.
func (*DependencyEnhancerRequest) GetDocument ¶
func (x *DependencyEnhancerRequest) GetDocument() *Document
func (*DependencyEnhancerRequest) GetLanguage ¶
func (x *DependencyEnhancerRequest) GetLanguage() Language
func (*DependencyEnhancerRequest) GetRef ¶
func (m *DependencyEnhancerRequest) GetRef() isDependencyEnhancerRequest_Ref
func (*DependencyEnhancerRequest) GetRelativePronouns ¶
func (x *DependencyEnhancerRequest) GetRelativePronouns() string
func (*DependencyEnhancerRequest) ProtoMessage ¶
func (*DependencyEnhancerRequest) ProtoMessage()
func (*DependencyEnhancerRequest) ProtoReflect ¶
func (x *DependencyEnhancerRequest) ProtoReflect() protoreflect.Message
func (*DependencyEnhancerRequest) Reset ¶
func (x *DependencyEnhancerRequest) Reset()
func (*DependencyEnhancerRequest) String ¶
func (x *DependencyEnhancerRequest) String() string
type DependencyEnhancerRequest_Language ¶
type DependencyEnhancerRequest_Language struct {
Language Language `protobuf:"varint,2,opt,name=language,enum=edu.stanford.nlp.pipeline.Language,oneof"`
}
type DependencyEnhancerRequest_RelativePronouns ¶
type DependencyEnhancerRequest_RelativePronouns struct { // The expected value of this is a regex which matches relative pronouns RelativePronouns string `protobuf:"bytes,3,opt,name=relativePronouns,oneof"` }
type DependencyGraph ¶
type DependencyGraph struct { Node []*DependencyGraph_Node `protobuf:"bytes,1,rep,name=node" json:"node,omitempty"` Edge []*DependencyGraph_Edge `protobuf:"bytes,2,rep,name=edge" json:"edge,omitempty"` Root []uint32 `protobuf:"varint,3,rep,packed,name=root" json:"root,omitempty"` // optional: if this graph message is not part of a larger context, // the tokens will help reconstruct the actual sentence Token []*Token `protobuf:"bytes,4,rep,name=token" json:"token,omitempty"` // contains filtered or unexported fields }
A dependency graph representation.
func (*DependencyGraph) Descriptor
deprecated
func (*DependencyGraph) Descriptor() ([]byte, []int)
Deprecated: Use DependencyGraph.ProtoReflect.Descriptor instead.
func (*DependencyGraph) GetEdge ¶
func (x *DependencyGraph) GetEdge() []*DependencyGraph_Edge
func (*DependencyGraph) GetNode ¶
func (x *DependencyGraph) GetNode() []*DependencyGraph_Node
func (*DependencyGraph) GetRoot ¶
func (x *DependencyGraph) GetRoot() []uint32
func (*DependencyGraph) GetToken ¶ added in v0.4.5
func (x *DependencyGraph) GetToken() []*Token
func (*DependencyGraph) ProtoMessage ¶
func (*DependencyGraph) ProtoMessage()
func (*DependencyGraph) ProtoReflect ¶
func (x *DependencyGraph) ProtoReflect() protoreflect.Message
func (*DependencyGraph) Reset ¶
func (x *DependencyGraph) Reset()
func (*DependencyGraph) String ¶
func (x *DependencyGraph) String() string
type DependencyGraph_Edge ¶
type DependencyGraph_Edge struct { Source *uint32 `protobuf:"varint,1,req,name=source" json:"source,omitempty"` Target *uint32 `protobuf:"varint,2,req,name=target" json:"target,omitempty"` Dep *string `protobuf:"bytes,3,opt,name=dep" json:"dep,omitempty"` IsExtra *bool `protobuf:"varint,4,opt,name=isExtra" json:"isExtra,omitempty"` SourceCopy *uint32 `protobuf:"varint,5,opt,name=sourceCopy" json:"sourceCopy,omitempty"` TargetCopy *uint32 `protobuf:"varint,6,opt,name=targetCopy" json:"targetCopy,omitempty"` Language *Language `protobuf:"varint,7,opt,name=language,enum=edu.stanford.nlp.pipeline.Language,def=0" json:"language,omitempty"` // contains filtered or unexported fields }
func (*DependencyGraph_Edge) Descriptor
deprecated
func (*DependencyGraph_Edge) Descriptor() ([]byte, []int)
Deprecated: Use DependencyGraph_Edge.ProtoReflect.Descriptor instead.
func (*DependencyGraph_Edge) GetDep ¶
func (x *DependencyGraph_Edge) GetDep() string
func (*DependencyGraph_Edge) GetIsExtra ¶
func (x *DependencyGraph_Edge) GetIsExtra() bool
func (*DependencyGraph_Edge) GetLanguage ¶
func (x *DependencyGraph_Edge) GetLanguage() Language
func (*DependencyGraph_Edge) GetSource ¶
func (x *DependencyGraph_Edge) GetSource() uint32
func (*DependencyGraph_Edge) GetSourceCopy ¶
func (x *DependencyGraph_Edge) GetSourceCopy() uint32
func (*DependencyGraph_Edge) GetTarget ¶
func (x *DependencyGraph_Edge) GetTarget() uint32
func (*DependencyGraph_Edge) GetTargetCopy ¶
func (x *DependencyGraph_Edge) GetTargetCopy() uint32
func (*DependencyGraph_Edge) ProtoMessage ¶
func (*DependencyGraph_Edge) ProtoMessage()
func (*DependencyGraph_Edge) ProtoReflect ¶
func (x *DependencyGraph_Edge) ProtoReflect() protoreflect.Message
func (*DependencyGraph_Edge) Reset ¶
func (x *DependencyGraph_Edge) Reset()
func (*DependencyGraph_Edge) String ¶
func (x *DependencyGraph_Edge) String() string
type DependencyGraph_Node ¶
type DependencyGraph_Node struct { SentenceIndex *uint32 `protobuf:"varint,1,req,name=sentenceIndex" json:"sentenceIndex,omitempty"` Index *uint32 `protobuf:"varint,2,req,name=index" json:"index,omitempty"` CopyAnnotation *uint32 `protobuf:"varint,3,opt,name=copyAnnotation" json:"copyAnnotation,omitempty"` // contains filtered or unexported fields }
func (*DependencyGraph_Node) Descriptor
deprecated
func (*DependencyGraph_Node) Descriptor() ([]byte, []int)
Deprecated: Use DependencyGraph_Node.ProtoReflect.Descriptor instead.
func (*DependencyGraph_Node) GetCopyAnnotation ¶
func (x *DependencyGraph_Node) GetCopyAnnotation() uint32
func (*DependencyGraph_Node) GetIndex ¶
func (x *DependencyGraph_Node) GetIndex() uint32
func (*DependencyGraph_Node) GetSentenceIndex ¶
func (x *DependencyGraph_Node) GetSentenceIndex() uint32
func (*DependencyGraph_Node) ProtoMessage ¶
func (*DependencyGraph_Node) ProtoMessage()
func (*DependencyGraph_Node) ProtoReflect ¶
func (x *DependencyGraph_Node) ProtoReflect() protoreflect.Message
func (*DependencyGraph_Node) Reset ¶
func (x *DependencyGraph_Node) Reset()
func (*DependencyGraph_Node) String ¶
func (x *DependencyGraph_Node) String() string
type Document ¶
type Document struct { Text *string `protobuf:"bytes,1,req,name=text" json:"text,omitempty"` Sentence []*Sentence `protobuf:"bytes,2,rep,name=sentence" json:"sentence,omitempty"` CorefChain []*CorefChain `protobuf:"bytes,3,rep,name=corefChain" json:"corefChain,omitempty"` DocID *string `protobuf:"bytes,4,opt,name=docID" json:"docID,omitempty"` DocDate *string `protobuf:"bytes,7,opt,name=docDate" json:"docDate,omitempty"` Calendar *uint64 `protobuf:"varint,8,opt,name=calendar" json:"calendar,omitempty"` //* // A peculiar field, for the corner case when a Document is // serialized without any sentences. Otherwise SentencelessToken []*Token `protobuf:"bytes,5,rep,name=sentencelessToken" json:"sentencelessToken,omitempty"` Character []*Token `protobuf:"bytes,10,rep,name=character" json:"character,omitempty"` Quote []*Quote `protobuf:"bytes,6,rep,name=quote" json:"quote,omitempty"` //* // This field is for entity mentions across the document. Mentions []*NERMention `protobuf:"bytes,9,rep,name=mentions" json:"mentions,omitempty"` HasEntityMentionsAnnotation *bool `protobuf:"varint,13,opt,name=hasEntityMentionsAnnotation" json:"hasEntityMentionsAnnotation,omitempty"` // used to differentiate between null and empty list //* // xml information XmlDoc *bool `protobuf:"varint,11,opt,name=xmlDoc" json:"xmlDoc,omitempty"` Sections []*Section `protobuf:"bytes,12,rep,name=sections" json:"sections,omitempty"` //* coref mentions for entire document * MentionsForCoref []*Mention `protobuf:"bytes,14,rep,name=mentionsForCoref" json:"mentionsForCoref,omitempty"` HasCorefMentionAnnotation *bool `protobuf:"varint,15,opt,name=hasCorefMentionAnnotation" json:"hasCorefMentionAnnotation,omitempty"` HasCorefAnnotation *bool `protobuf:"varint,16,opt,name=hasCorefAnnotation" json:"hasCorefAnnotation,omitempty"` CorefMentionToEntityMentionMappings []int32 `protobuf:"varint,17,rep,name=corefMentionToEntityMentionMappings" json:"corefMentionToEntityMentionMappings,omitempty"` EntityMentionToCorefMentionMappings []int32 `protobuf:"varint,18,rep,name=entityMentionToCorefMentionMappings" json:"entityMentionToCorefMentionMappings,omitempty"` // contains filtered or unexported fields }
A document; that is, the equivalent of an Annotation.
func (*Document) Descriptor
deprecated
func (*Document) ExtensionRangeArray
deprecated
func (*Document) ExtensionRangeArray() []protoiface.ExtensionRangeV1
Deprecated: Use Document.ProtoReflect.Descriptor.ExtensionRanges instead.
func (*Document) GetCalendar ¶
func (*Document) GetCharacter ¶
func (*Document) GetCorefChain ¶
func (x *Document) GetCorefChain() []*CorefChain
func (*Document) GetCorefMentionToEntityMentionMappings ¶
func (*Document) GetDocDate ¶
func (*Document) GetEntityMentionToCorefMentionMappings ¶
func (*Document) GetHasCorefAnnotation ¶
func (*Document) GetHasCorefMentionAnnotation ¶
func (*Document) GetHasEntityMentionsAnnotation ¶
func (*Document) GetMentions ¶
func (x *Document) GetMentions() []*NERMention
func (*Document) GetMentionsForCoref ¶
func (*Document) GetSections ¶
func (*Document) GetSentence ¶
func (*Document) GetSentencelessToken ¶
func (*Document) ProtoMessage ¶
func (*Document) ProtoMessage()
func (*Document) ProtoReflect ¶
func (x *Document) ProtoReflect() protoreflect.Message
type Entity ¶
type Entity struct { HeadStart *uint32 `protobuf:"varint,6,opt,name=headStart" json:"headStart,omitempty"` HeadEnd *uint32 `protobuf:"varint,7,opt,name=headEnd" json:"headEnd,omitempty"` MentionType *string `protobuf:"bytes,8,opt,name=mentionType" json:"mentionType,omitempty"` NormalizedName *string `protobuf:"bytes,9,opt,name=normalizedName" json:"normalizedName,omitempty"` HeadTokenIndex *uint32 `protobuf:"varint,10,opt,name=headTokenIndex" json:"headTokenIndex,omitempty"` CorefID *string `protobuf:"bytes,11,opt,name=corefID" json:"corefID,omitempty"` // inherited from ExtractionObject ObjectID *string `protobuf:"bytes,1,opt,name=objectID" json:"objectID,omitempty"` ExtentStart *uint32 `protobuf:"varint,2,opt,name=extentStart" json:"extentStart,omitempty"` ExtentEnd *uint32 `protobuf:"varint,3,opt,name=extentEnd" json:"extentEnd,omitempty"` Type *string `protobuf:"bytes,4,opt,name=type" json:"type,omitempty"` Subtype *string `protobuf:"bytes,5,opt,name=subtype" json:"subtype,omitempty"` // contains filtered or unexported fields }
A representation of an entity in a relation. This corresponds to the EntityMention, and more broadly the ExtractionObject classes.
func (*Entity) Descriptor
deprecated
func (*Entity) GetCorefID ¶
func (*Entity) GetExtentEnd ¶
func (*Entity) GetExtentStart ¶
func (*Entity) GetHeadEnd ¶
func (*Entity) GetHeadStart ¶
func (*Entity) GetHeadTokenIndex ¶
func (*Entity) GetMentionType ¶
func (*Entity) GetNormalizedName ¶
func (*Entity) GetObjectID ¶
func (*Entity) GetSubtype ¶
func (*Entity) ProtoMessage ¶
func (*Entity) ProtoMessage()
func (*Entity) ProtoReflect ¶
func (x *Entity) ProtoReflect() protoreflect.Message
type EvaluateParserRequest ¶
type EvaluateParserRequest struct { Treebank []*EvaluateParserRequest_ParseResult `protobuf:"bytes,1,rep,name=treebank" json:"treebank,omitempty"` // contains filtered or unexported fields }
A protobuf for calling the java constituency parser evaluator from elsewhere
func (*EvaluateParserRequest) Descriptor
deprecated
func (*EvaluateParserRequest) Descriptor() ([]byte, []int)
Deprecated: Use EvaluateParserRequest.ProtoReflect.Descriptor instead.
func (*EvaluateParserRequest) GetTreebank ¶
func (x *EvaluateParserRequest) GetTreebank() []*EvaluateParserRequest_ParseResult
func (*EvaluateParserRequest) ProtoMessage ¶
func (*EvaluateParserRequest) ProtoMessage()
func (*EvaluateParserRequest) ProtoReflect ¶
func (x *EvaluateParserRequest) ProtoReflect() protoreflect.Message
func (*EvaluateParserRequest) Reset ¶
func (x *EvaluateParserRequest) Reset()
func (*EvaluateParserRequest) String ¶
func (x *EvaluateParserRequest) String() string
type EvaluateParserRequest_ParseResult ¶
type EvaluateParserRequest_ParseResult struct { Gold *FlattenedParseTree `protobuf:"bytes,1,req,name=gold" json:"gold,omitempty"` // repeated so you can send in kbest parses, if your parser handles that // note that this already includes a score field Predicted []*FlattenedParseTree `protobuf:"bytes,2,rep,name=predicted" json:"predicted,omitempty"` // contains filtered or unexported fields }
func (*EvaluateParserRequest_ParseResult) Descriptor
deprecated
func (*EvaluateParserRequest_ParseResult) Descriptor() ([]byte, []int)
Deprecated: Use EvaluateParserRequest_ParseResult.ProtoReflect.Descriptor instead.
func (*EvaluateParserRequest_ParseResult) GetGold ¶
func (x *EvaluateParserRequest_ParseResult) GetGold() *FlattenedParseTree
func (*EvaluateParserRequest_ParseResult) GetPredicted ¶
func (x *EvaluateParserRequest_ParseResult) GetPredicted() []*FlattenedParseTree
func (*EvaluateParserRequest_ParseResult) ProtoMessage ¶
func (*EvaluateParserRequest_ParseResult) ProtoMessage()
func (*EvaluateParserRequest_ParseResult) ProtoReflect ¶
func (x *EvaluateParserRequest_ParseResult) ProtoReflect() protoreflect.Message
func (*EvaluateParserRequest_ParseResult) Reset ¶
func (x *EvaluateParserRequest_ParseResult) Reset()
func (*EvaluateParserRequest_ParseResult) String ¶
func (x *EvaluateParserRequest_ParseResult) String() string
type EvaluateParserResponse ¶
type EvaluateParserResponse struct { F1 *float64 `protobuf:"fixed64,1,req,name=f1" json:"f1,omitempty"` KbestF1 *float64 `protobuf:"fixed64,2,opt,name=kbestF1" json:"kbestF1,omitempty"` // contains filtered or unexported fields }
func (*EvaluateParserResponse) Descriptor
deprecated
func (*EvaluateParserResponse) Descriptor() ([]byte, []int)
Deprecated: Use EvaluateParserResponse.ProtoReflect.Descriptor instead.
func (*EvaluateParserResponse) GetF1 ¶
func (x *EvaluateParserResponse) GetF1() float64
func (*EvaluateParserResponse) GetKbestF1 ¶
func (x *EvaluateParserResponse) GetKbestF1() float64
func (*EvaluateParserResponse) ProtoMessage ¶
func (*EvaluateParserResponse) ProtoMessage()
func (*EvaluateParserResponse) ProtoReflect ¶
func (x *EvaluateParserResponse) ProtoReflect() protoreflect.Message
func (*EvaluateParserResponse) Reset ¶
func (x *EvaluateParserResponse) Reset()
func (*EvaluateParserResponse) String ¶
func (x *EvaluateParserResponse) String() string
type FlattenedParseTree ¶
type FlattenedParseTree struct { Nodes []*FlattenedParseTree_Node `protobuf:"bytes,1,rep,name=nodes" json:"nodes,omitempty"` // contains filtered or unexported fields }
A version of ParseTree with a flattened structure so that deep trees don't exceed the protobuf stack depth
func (*FlattenedParseTree) Descriptor
deprecated
func (*FlattenedParseTree) Descriptor() ([]byte, []int)
Deprecated: Use FlattenedParseTree.ProtoReflect.Descriptor instead.
func (*FlattenedParseTree) GetNodes ¶
func (x *FlattenedParseTree) GetNodes() []*FlattenedParseTree_Node
func (*FlattenedParseTree) ProtoMessage ¶
func (*FlattenedParseTree) ProtoMessage()
func (*FlattenedParseTree) ProtoReflect ¶
func (x *FlattenedParseTree) ProtoReflect() protoreflect.Message
func (*FlattenedParseTree) Reset ¶
func (x *FlattenedParseTree) Reset()
func (*FlattenedParseTree) String ¶
func (x *FlattenedParseTree) String() string
type FlattenedParseTree_Node ¶
type FlattenedParseTree_Node struct { // Types that are assignable to Contents: // *FlattenedParseTree_Node_OpenNode // *FlattenedParseTree_Node_CloseNode // *FlattenedParseTree_Node_Value Contents isFlattenedParseTree_Node_Contents `protobuf_oneof:"contents"` Score *float64 `protobuf:"fixed64,4,opt,name=score" json:"score,omitempty"` // contains filtered or unexported fields }
func (*FlattenedParseTree_Node) Descriptor
deprecated
func (*FlattenedParseTree_Node) Descriptor() ([]byte, []int)
Deprecated: Use FlattenedParseTree_Node.ProtoReflect.Descriptor instead.
func (*FlattenedParseTree_Node) GetCloseNode ¶
func (x *FlattenedParseTree_Node) GetCloseNode() bool
func (*FlattenedParseTree_Node) GetContents ¶
func (m *FlattenedParseTree_Node) GetContents() isFlattenedParseTree_Node_Contents
func (*FlattenedParseTree_Node) GetOpenNode ¶
func (x *FlattenedParseTree_Node) GetOpenNode() bool
func (*FlattenedParseTree_Node) GetScore ¶
func (x *FlattenedParseTree_Node) GetScore() float64
func (*FlattenedParseTree_Node) GetValue ¶
func (x *FlattenedParseTree_Node) GetValue() string
func (*FlattenedParseTree_Node) ProtoMessage ¶
func (*FlattenedParseTree_Node) ProtoMessage()
func (*FlattenedParseTree_Node) ProtoReflect ¶
func (x *FlattenedParseTree_Node) ProtoReflect() protoreflect.Message
func (*FlattenedParseTree_Node) Reset ¶
func (x *FlattenedParseTree_Node) Reset()
func (*FlattenedParseTree_Node) String ¶
func (x *FlattenedParseTree_Node) String() string
type FlattenedParseTree_Node_CloseNode ¶
type FlattenedParseTree_Node_CloseNode struct {
CloseNode bool `protobuf:"varint,2,opt,name=closeNode,oneof"`
}
type FlattenedParseTree_Node_OpenNode ¶
type FlattenedParseTree_Node_OpenNode struct {
OpenNode bool `protobuf:"varint,1,opt,name=openNode,oneof"`
}
type FlattenedParseTree_Node_Value ¶
type FlattenedParseTree_Node_Value struct {
Value string `protobuf:"bytes,3,opt,name=value,oneof"`
}
type IndexedWord ¶
type IndexedWord struct { SentenceNum *int32 `protobuf:"varint,1,opt,name=sentenceNum" json:"sentenceNum,omitempty"` TokenIndex *int32 `protobuf:"varint,2,opt,name=tokenIndex" json:"tokenIndex,omitempty"` DocID *int32 `protobuf:"varint,3,opt,name=docID" json:"docID,omitempty"` CopyCount *uint32 `protobuf:"varint,4,opt,name=copyCount" json:"copyCount,omitempty"` // contains filtered or unexported fields }
func (*IndexedWord) Descriptor
deprecated
func (*IndexedWord) Descriptor() ([]byte, []int)
Deprecated: Use IndexedWord.ProtoReflect.Descriptor instead.
func (*IndexedWord) GetCopyCount ¶
func (x *IndexedWord) GetCopyCount() uint32
func (*IndexedWord) GetDocID ¶
func (x *IndexedWord) GetDocID() int32
func (*IndexedWord) GetSentenceNum ¶
func (x *IndexedWord) GetSentenceNum() int32
func (*IndexedWord) GetTokenIndex ¶
func (x *IndexedWord) GetTokenIndex() int32
func (*IndexedWord) ProtoMessage ¶
func (*IndexedWord) ProtoMessage()
func (*IndexedWord) ProtoReflect ¶
func (x *IndexedWord) ProtoReflect() protoreflect.Message
func (*IndexedWord) Reset ¶
func (x *IndexedWord) Reset()
func (*IndexedWord) String ¶
func (x *IndexedWord) String() string
type Language ¶
type Language int32
An enumeration for the valid languages allowed in CoreNLP
const ( Language_Unknown Language = 0 Language_Any Language = 1 Language_Arabic Language = 2 Language_Chinese Language = 3 Language_English Language = 4 Language_German Language = 5 Language_French Language = 6 Language_Hebrew Language = 7 Language_Spanish Language = 8 Language_UniversalEnglish Language = 9 Language_UniversalChinese Language = 10 )
func (Language) Descriptor ¶
func (Language) Descriptor() protoreflect.EnumDescriptor
func (Language) EnumDescriptor
deprecated
func (Language) Number ¶
func (x Language) Number() protoreflect.EnumNumber
func (Language) Type ¶
func (Language) Type() protoreflect.EnumType
func (*Language) UnmarshalJSON
deprecated
type MapIntString ¶
type MapIntString struct { Key []uint32 `protobuf:"varint,1,rep,name=key" json:"key,omitempty"` Value []string `protobuf:"bytes,2,rep,name=value" json:"value,omitempty"` // contains filtered or unexported fields }
A map from integers to strings. Used, minimally, in the CoNLLU featurizer
func (*MapIntString) Descriptor
deprecated
func (*MapIntString) Descriptor() ([]byte, []int)
Deprecated: Use MapIntString.ProtoReflect.Descriptor instead.
func (*MapIntString) GetKey ¶
func (x *MapIntString) GetKey() []uint32
func (*MapIntString) GetValue ¶
func (x *MapIntString) GetValue() []string
func (*MapIntString) ProtoMessage ¶
func (*MapIntString) ProtoMessage()
func (*MapIntString) ProtoReflect ¶
func (x *MapIntString) ProtoReflect() protoreflect.Message
func (*MapIntString) Reset ¶
func (x *MapIntString) Reset()
func (*MapIntString) String ¶
func (x *MapIntString) String() string
type MapStringString ¶
type MapStringString struct { Key []string `protobuf:"bytes,1,rep,name=key" json:"key,omitempty"` Value []string `protobuf:"bytes,2,rep,name=value" json:"value,omitempty"` // contains filtered or unexported fields }
A map from strings to strings. Used, minimally, in the CoNLLU featurizer
func (*MapStringString) Descriptor
deprecated
func (*MapStringString) Descriptor() ([]byte, []int)
Deprecated: Use MapStringString.ProtoReflect.Descriptor instead.
func (*MapStringString) GetKey ¶
func (x *MapStringString) GetKey() []string
func (*MapStringString) GetValue ¶
func (x *MapStringString) GetValue() []string
func (*MapStringString) ProtoMessage ¶
func (*MapStringString) ProtoMessage()
func (*MapStringString) ProtoReflect ¶
func (x *MapStringString) ProtoReflect() protoreflect.Message
func (*MapStringString) Reset ¶
func (x *MapStringString) Reset()
func (*MapStringString) String ¶
func (x *MapStringString) String() string
type Mention ¶
type Mention struct { MentionID *int32 `protobuf:"varint,1,opt,name=mentionID" json:"mentionID,omitempty"` MentionType *string `protobuf:"bytes,2,opt,name=mentionType" json:"mentionType,omitempty"` Number *string `protobuf:"bytes,3,opt,name=number" json:"number,omitempty"` Gender *string `protobuf:"bytes,4,opt,name=gender" json:"gender,omitempty"` Animacy *string `protobuf:"bytes,5,opt,name=animacy" json:"animacy,omitempty"` Person *string `protobuf:"bytes,6,opt,name=person" json:"person,omitempty"` StartIndex *uint32 `protobuf:"varint,7,opt,name=startIndex" json:"startIndex,omitempty"` EndIndex *uint32 `protobuf:"varint,9,opt,name=endIndex" json:"endIndex,omitempty"` HeadIndex *int32 `protobuf:"varint,10,opt,name=headIndex" json:"headIndex,omitempty"` HeadString *string `protobuf:"bytes,11,opt,name=headString" json:"headString,omitempty"` NerString *string `protobuf:"bytes,12,opt,name=nerString" json:"nerString,omitempty"` OriginalRef *int32 `protobuf:"varint,13,opt,name=originalRef" json:"originalRef,omitempty"` GoldCorefClusterID *int32 `protobuf:"varint,14,opt,name=goldCorefClusterID" json:"goldCorefClusterID,omitempty"` CorefClusterID *int32 `protobuf:"varint,15,opt,name=corefClusterID" json:"corefClusterID,omitempty"` MentionNum *int32 `protobuf:"varint,16,opt,name=mentionNum" json:"mentionNum,omitempty"` SentNum *int32 `protobuf:"varint,17,opt,name=sentNum" json:"sentNum,omitempty"` Utter *int32 `protobuf:"varint,18,opt,name=utter" json:"utter,omitempty"` Paragraph *int32 `protobuf:"varint,19,opt,name=paragraph" json:"paragraph,omitempty"` IsSubject *bool `protobuf:"varint,20,opt,name=isSubject" json:"isSubject,omitempty"` IsDirectObject *bool `protobuf:"varint,21,opt,name=isDirectObject" json:"isDirectObject,omitempty"` IsIndirectObject *bool `protobuf:"varint,22,opt,name=isIndirectObject" json:"isIndirectObject,omitempty"` IsPrepositionObject *bool `protobuf:"varint,23,opt,name=isPrepositionObject" json:"isPrepositionObject,omitempty"` HasTwin *bool `protobuf:"varint,24,opt,name=hasTwin" json:"hasTwin,omitempty"` Generic *bool `protobuf:"varint,25,opt,name=generic" json:"generic,omitempty"` IsSingleton *bool `protobuf:"varint,26,opt,name=isSingleton" json:"isSingleton,omitempty"` HasBasicDependency *bool `protobuf:"varint,27,opt,name=hasBasicDependency" json:"hasBasicDependency,omitempty"` HasEnhancedDependency *bool `protobuf:"varint,28,opt,name=hasEnhancedDependency" json:"hasEnhancedDependency,omitempty"` HasContextParseTree *bool `protobuf:"varint,29,opt,name=hasContextParseTree" json:"hasContextParseTree,omitempty"` HeadIndexedWord *IndexedWord `protobuf:"bytes,30,opt,name=headIndexedWord" json:"headIndexedWord,omitempty"` DependingVerb *IndexedWord `protobuf:"bytes,31,opt,name=dependingVerb" json:"dependingVerb,omitempty"` HeadWord *IndexedWord `protobuf:"bytes,32,opt,name=headWord" json:"headWord,omitempty"` SpeakerInfo *SpeakerInfo `protobuf:"bytes,33,opt,name=speakerInfo" json:"speakerInfo,omitempty"` SentenceWords []*IndexedWord `protobuf:"bytes,50,rep,name=sentenceWords" json:"sentenceWords,omitempty"` OriginalSpan []*IndexedWord `protobuf:"bytes,51,rep,name=originalSpan" json:"originalSpan,omitempty"` Dependents []string `protobuf:"bytes,52,rep,name=dependents" json:"dependents,omitempty"` PreprocessedTerms []string `protobuf:"bytes,53,rep,name=preprocessedTerms" json:"preprocessedTerms,omitempty"` Appositions []int32 `protobuf:"varint,54,rep,name=appositions" json:"appositions,omitempty"` PredicateNominatives []int32 `protobuf:"varint,55,rep,name=predicateNominatives" json:"predicateNominatives,omitempty"` RelativePronouns []int32 `protobuf:"varint,56,rep,name=relativePronouns" json:"relativePronouns,omitempty"` ListMembers []int32 `protobuf:"varint,57,rep,name=listMembers" json:"listMembers,omitempty"` BelongToLists []int32 `protobuf:"varint,58,rep,name=belongToLists" json:"belongToLists,omitempty"` // contains filtered or unexported fields }
func (*Mention) Descriptor
deprecated
func (*Mention) GetAnimacy ¶
func (*Mention) GetAppositions ¶
func (*Mention) GetBelongToLists ¶
func (*Mention) GetCorefClusterID ¶
func (*Mention) GetDependents ¶
func (*Mention) GetDependingVerb ¶
func (x *Mention) GetDependingVerb() *IndexedWord
func (*Mention) GetEndIndex ¶
func (*Mention) GetGeneric ¶
func (*Mention) GetGoldCorefClusterID ¶
func (*Mention) GetHasBasicDependency ¶
func (*Mention) GetHasContextParseTree ¶
func (*Mention) GetHasEnhancedDependency ¶ added in v0.4.5
func (*Mention) GetHasTwin ¶
func (*Mention) GetHeadIndex ¶
func (*Mention) GetHeadIndexedWord ¶
func (x *Mention) GetHeadIndexedWord() *IndexedWord
func (*Mention) GetHeadString ¶
func (*Mention) GetHeadWord ¶
func (x *Mention) GetHeadWord() *IndexedWord
func (*Mention) GetIsDirectObject ¶
func (*Mention) GetIsIndirectObject ¶
func (*Mention) GetIsPrepositionObject ¶
func (*Mention) GetIsSingleton ¶
func (*Mention) GetIsSubject ¶
func (*Mention) GetListMembers ¶
func (*Mention) GetMentionID ¶
func (*Mention) GetMentionNum ¶
func (*Mention) GetMentionType ¶
func (*Mention) GetNerString ¶
func (*Mention) GetOriginalRef ¶
func (*Mention) GetOriginalSpan ¶
func (x *Mention) GetOriginalSpan() []*IndexedWord
func (*Mention) GetParagraph ¶
func (*Mention) GetPredicateNominatives ¶
func (*Mention) GetPreprocessedTerms ¶
func (*Mention) GetRelativePronouns ¶
func (*Mention) GetSentNum ¶
func (*Mention) GetSentenceWords ¶
func (x *Mention) GetSentenceWords() []*IndexedWord
func (*Mention) GetSpeakerInfo ¶
func (x *Mention) GetSpeakerInfo() *SpeakerInfo
func (*Mention) GetStartIndex ¶
func (*Mention) ProtoMessage ¶
func (*Mention) ProtoMessage()
func (*Mention) ProtoReflect ¶
func (x *Mention) ProtoReflect() protoreflect.Message
type MorphologyRequest ¶ added in v0.4.5
type MorphologyRequest struct { Words []*MorphologyRequest_TaggedWord `protobuf:"bytes,1,rep,name=words" json:"words,omitempty"` // contains filtered or unexported fields }
Sent in Morphology requests - a stream of sentences with tagged words
func (*MorphologyRequest) Descriptor
deprecated
added in
v0.4.5
func (*MorphologyRequest) Descriptor() ([]byte, []int)
Deprecated: Use MorphologyRequest.ProtoReflect.Descriptor instead.
func (*MorphologyRequest) GetWords ¶ added in v0.4.5
func (x *MorphologyRequest) GetWords() []*MorphologyRequest_TaggedWord
func (*MorphologyRequest) ProtoMessage ¶ added in v0.4.5
func (*MorphologyRequest) ProtoMessage()
func (*MorphologyRequest) ProtoReflect ¶ added in v0.4.5
func (x *MorphologyRequest) ProtoReflect() protoreflect.Message
func (*MorphologyRequest) Reset ¶ added in v0.4.5
func (x *MorphologyRequest) Reset()
func (*MorphologyRequest) String ¶ added in v0.4.5
func (x *MorphologyRequest) String() string
type MorphologyRequest_TaggedWord ¶ added in v0.4.5
type MorphologyRequest_TaggedWord struct { Word *string `protobuf:"bytes,1,req,name=word" json:"word,omitempty"` Xpos *string `protobuf:"bytes,2,opt,name=xpos" json:"xpos,omitempty"` // contains filtered or unexported fields }
func (*MorphologyRequest_TaggedWord) Descriptor
deprecated
added in
v0.4.5
func (*MorphologyRequest_TaggedWord) Descriptor() ([]byte, []int)
Deprecated: Use MorphologyRequest_TaggedWord.ProtoReflect.Descriptor instead.
func (*MorphologyRequest_TaggedWord) GetWord ¶ added in v0.4.5
func (x *MorphologyRequest_TaggedWord) GetWord() string
func (*MorphologyRequest_TaggedWord) GetXpos ¶ added in v0.4.5
func (x *MorphologyRequest_TaggedWord) GetXpos() string
func (*MorphologyRequest_TaggedWord) ProtoMessage ¶ added in v0.4.5
func (*MorphologyRequest_TaggedWord) ProtoMessage()
func (*MorphologyRequest_TaggedWord) ProtoReflect ¶ added in v0.4.5
func (x *MorphologyRequest_TaggedWord) ProtoReflect() protoreflect.Message
func (*MorphologyRequest_TaggedWord) Reset ¶ added in v0.4.5
func (x *MorphologyRequest_TaggedWord) Reset()
func (*MorphologyRequest_TaggedWord) String ¶ added in v0.4.5
func (x *MorphologyRequest_TaggedWord) String() string
type MorphologyResponse ¶ added in v0.4.5
type MorphologyResponse struct { Words []*MorphologyResponse_WordTagLemma `protobuf:"bytes,1,rep,name=words" json:"words,omitempty"` // contains filtered or unexported fields }
Sent back from the Morphology request - the words and their tags
func (*MorphologyResponse) Descriptor
deprecated
added in
v0.4.5
func (*MorphologyResponse) Descriptor() ([]byte, []int)
Deprecated: Use MorphologyResponse.ProtoReflect.Descriptor instead.
func (*MorphologyResponse) GetWords ¶ added in v0.4.5
func (x *MorphologyResponse) GetWords() []*MorphologyResponse_WordTagLemma
func (*MorphologyResponse) ProtoMessage ¶ added in v0.4.5
func (*MorphologyResponse) ProtoMessage()
func (*MorphologyResponse) ProtoReflect ¶ added in v0.4.5
func (x *MorphologyResponse) ProtoReflect() protoreflect.Message
func (*MorphologyResponse) Reset ¶ added in v0.4.5
func (x *MorphologyResponse) Reset()
func (*MorphologyResponse) String ¶ added in v0.4.5
func (x *MorphologyResponse) String() string
type MorphologyResponse_WordTagLemma ¶ added in v0.4.5
type MorphologyResponse_WordTagLemma struct { Word *string `protobuf:"bytes,1,req,name=word" json:"word,omitempty"` Xpos *string `protobuf:"bytes,2,opt,name=xpos" json:"xpos,omitempty"` Lemma *string `protobuf:"bytes,3,req,name=lemma" json:"lemma,omitempty"` // contains filtered or unexported fields }
func (*MorphologyResponse_WordTagLemma) Descriptor
deprecated
added in
v0.4.5
func (*MorphologyResponse_WordTagLemma) Descriptor() ([]byte, []int)
Deprecated: Use MorphologyResponse_WordTagLemma.ProtoReflect.Descriptor instead.
func (*MorphologyResponse_WordTagLemma) GetLemma ¶ added in v0.4.5
func (x *MorphologyResponse_WordTagLemma) GetLemma() string
func (*MorphologyResponse_WordTagLemma) GetWord ¶ added in v0.4.5
func (x *MorphologyResponse_WordTagLemma) GetWord() string
func (*MorphologyResponse_WordTagLemma) GetXpos ¶ added in v0.4.5
func (x *MorphologyResponse_WordTagLemma) GetXpos() string
func (*MorphologyResponse_WordTagLemma) ProtoMessage ¶ added in v0.4.5
func (*MorphologyResponse_WordTagLemma) ProtoMessage()
func (*MorphologyResponse_WordTagLemma) ProtoReflect ¶ added in v0.4.5
func (x *MorphologyResponse_WordTagLemma) ProtoReflect() protoreflect.Message
func (*MorphologyResponse_WordTagLemma) Reset ¶ added in v0.4.5
func (x *MorphologyResponse_WordTagLemma) Reset()
func (*MorphologyResponse_WordTagLemma) String ¶ added in v0.4.5
func (x *MorphologyResponse_WordTagLemma) String() string
type NERMention ¶
type NERMention struct { SentenceIndex *uint32 `protobuf:"varint,1,opt,name=sentenceIndex" json:"sentenceIndex,omitempty"` TokenStartInSentenceInclusive *uint32 `protobuf:"varint,2,req,name=tokenStartInSentenceInclusive" json:"tokenStartInSentenceInclusive,omitempty"` TokenEndInSentenceExclusive *uint32 `protobuf:"varint,3,req,name=tokenEndInSentenceExclusive" json:"tokenEndInSentenceExclusive,omitempty"` Ner *string `protobuf:"bytes,4,req,name=ner" json:"ner,omitempty"` NormalizedNER *string `protobuf:"bytes,5,opt,name=normalizedNER" json:"normalizedNER,omitempty"` EntityType *string `protobuf:"bytes,6,opt,name=entityType" json:"entityType,omitempty"` Timex *Timex `protobuf:"bytes,7,opt,name=timex" json:"timex,omitempty"` WikipediaEntity *string `protobuf:"bytes,8,opt,name=wikipediaEntity" json:"wikipediaEntity,omitempty"` Gender *string `protobuf:"bytes,9,opt,name=gender" json:"gender,omitempty"` EntityMentionIndex *uint32 `protobuf:"varint,10,opt,name=entityMentionIndex" json:"entityMentionIndex,omitempty"` CanonicalEntityMentionIndex *uint32 `protobuf:"varint,11,opt,name=canonicalEntityMentionIndex" json:"canonicalEntityMentionIndex,omitempty"` EntityMentionText *string `protobuf:"bytes,12,opt,name=entityMentionText" json:"entityMentionText,omitempty"` // contains filtered or unexported fields }
An NER mention in the text
func (*NERMention) Descriptor
deprecated
func (*NERMention) Descriptor() ([]byte, []int)
Deprecated: Use NERMention.ProtoReflect.Descriptor instead.
func (*NERMention) GetCanonicalEntityMentionIndex ¶
func (x *NERMention) GetCanonicalEntityMentionIndex() uint32
func (*NERMention) GetEntityMentionIndex ¶
func (x *NERMention) GetEntityMentionIndex() uint32
func (*NERMention) GetEntityMentionText ¶
func (x *NERMention) GetEntityMentionText() string
func (*NERMention) GetEntityType ¶
func (x *NERMention) GetEntityType() string
func (*NERMention) GetGender ¶
func (x *NERMention) GetGender() string
func (*NERMention) GetNer ¶
func (x *NERMention) GetNer() string
func (*NERMention) GetNormalizedNER ¶
func (x *NERMention) GetNormalizedNER() string
func (*NERMention) GetSentenceIndex ¶
func (x *NERMention) GetSentenceIndex() uint32
func (*NERMention) GetTimex ¶
func (x *NERMention) GetTimex() *Timex
func (*NERMention) GetTokenEndInSentenceExclusive ¶
func (x *NERMention) GetTokenEndInSentenceExclusive() uint32
func (*NERMention) GetTokenStartInSentenceInclusive ¶
func (x *NERMention) GetTokenStartInSentenceInclusive() uint32
func (*NERMention) GetWikipediaEntity ¶
func (x *NERMention) GetWikipediaEntity() string
func (*NERMention) ProtoMessage ¶
func (*NERMention) ProtoMessage()
func (*NERMention) ProtoReflect ¶
func (x *NERMention) ProtoReflect() protoreflect.Message
func (*NERMention) Reset ¶
func (x *NERMention) Reset()
func (*NERMention) String ¶
func (x *NERMention) String() string
type NaturalLogicRelation ¶
type NaturalLogicRelation int32
The seven informative Natural Logic relations
const ( NaturalLogicRelation_EQUIVALENCE NaturalLogicRelation = 0 NaturalLogicRelation_FORWARD_ENTAILMENT NaturalLogicRelation = 1 NaturalLogicRelation_REVERSE_ENTAILMENT NaturalLogicRelation = 2 NaturalLogicRelation_NEGATION NaturalLogicRelation = 3 NaturalLogicRelation_ALTERNATION NaturalLogicRelation = 4 NaturalLogicRelation_COVER NaturalLogicRelation = 5 NaturalLogicRelation_INDEPENDENCE NaturalLogicRelation = 6 )
func (NaturalLogicRelation) Descriptor ¶
func (NaturalLogicRelation) Descriptor() protoreflect.EnumDescriptor
func (NaturalLogicRelation) Enum ¶
func (x NaturalLogicRelation) Enum() *NaturalLogicRelation
func (NaturalLogicRelation) EnumDescriptor
deprecated
func (NaturalLogicRelation) EnumDescriptor() ([]byte, []int)
Deprecated: Use NaturalLogicRelation.Descriptor instead.
func (NaturalLogicRelation) Number ¶
func (x NaturalLogicRelation) Number() protoreflect.EnumNumber
func (NaturalLogicRelation) String ¶
func (x NaturalLogicRelation) String() string
func (NaturalLogicRelation) Type ¶
func (NaturalLogicRelation) Type() protoreflect.EnumType
func (*NaturalLogicRelation) UnmarshalJSON
deprecated
func (x *NaturalLogicRelation) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type Operator ¶
type Operator struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` QuantifierSpanBegin *int32 `protobuf:"varint,2,req,name=quantifierSpanBegin" json:"quantifierSpanBegin,omitempty"` QuantifierSpanEnd *int32 `protobuf:"varint,3,req,name=quantifierSpanEnd" json:"quantifierSpanEnd,omitempty"` SubjectSpanBegin *int32 `protobuf:"varint,4,req,name=subjectSpanBegin" json:"subjectSpanBegin,omitempty"` SubjectSpanEnd *int32 `protobuf:"varint,5,req,name=subjectSpanEnd" json:"subjectSpanEnd,omitempty"` ObjectSpanBegin *int32 `protobuf:"varint,6,req,name=objectSpanBegin" json:"objectSpanBegin,omitempty"` ObjectSpanEnd *int32 `protobuf:"varint,7,req,name=objectSpanEnd" json:"objectSpanEnd,omitempty"` // contains filtered or unexported fields }
A Natural Logic operator
func (*Operator) Descriptor
deprecated
func (*Operator) GetObjectSpanBegin ¶
func (*Operator) GetObjectSpanEnd ¶
func (*Operator) GetQuantifierSpanBegin ¶
func (*Operator) GetQuantifierSpanEnd ¶
func (*Operator) GetSubjectSpanBegin ¶
func (*Operator) GetSubjectSpanEnd ¶
func (*Operator) ProtoMessage ¶
func (*Operator) ProtoMessage()
func (*Operator) ProtoReflect ¶
func (x *Operator) ProtoReflect() protoreflect.Message
type ParseTree ¶
type ParseTree struct { Child []*ParseTree `protobuf:"bytes,1,rep,name=child" json:"child,omitempty"` Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` YieldBeginIndex *uint32 `protobuf:"varint,3,opt,name=yieldBeginIndex" json:"yieldBeginIndex,omitempty"` YieldEndIndex *uint32 `protobuf:"varint,4,opt,name=yieldEndIndex" json:"yieldEndIndex,omitempty"` Score *float64 `protobuf:"fixed64,5,opt,name=score" json:"score,omitempty"` Sentiment *Sentiment `protobuf:"varint,6,opt,name=sentiment,enum=edu.stanford.nlp.pipeline.Sentiment" json:"sentiment,omitempty"` // contains filtered or unexported fields }
A syntactic parse tree, with scores.
func (*ParseTree) Descriptor
deprecated
func (*ParseTree) GetSentiment ¶
func (*ParseTree) GetYieldBeginIndex ¶
func (*ParseTree) GetYieldEndIndex ¶
func (*ParseTree) ProtoMessage ¶
func (*ParseTree) ProtoMessage()
func (*ParseTree) ProtoReflect ¶
func (x *ParseTree) ProtoReflect() protoreflect.Message
type Polarity ¶
type Polarity struct { ProjectEquivalence *NaturalLogicRelation `` /* 135-byte string literal not displayed */ ProjectForwardEntailment *NaturalLogicRelation `` /* 147-byte string literal not displayed */ ProjectReverseEntailment *NaturalLogicRelation `` /* 147-byte string literal not displayed */ ProjectNegation *NaturalLogicRelation `` /* 129-byte string literal not displayed */ ProjectAlternation *NaturalLogicRelation `` /* 135-byte string literal not displayed */ ProjectCover *NaturalLogicRelation `protobuf:"varint,6,req,name=projectCover,enum=edu.stanford.nlp.pipeline.NaturalLogicRelation" json:"projectCover,omitempty"` ProjectIndependence *NaturalLogicRelation `` /* 137-byte string literal not displayed */ // contains filtered or unexported fields }
The polarity of a word, according to Natural Logic
func (*Polarity) Descriptor
deprecated
func (*Polarity) GetProjectAlternation ¶
func (x *Polarity) GetProjectAlternation() NaturalLogicRelation
func (*Polarity) GetProjectCover ¶
func (x *Polarity) GetProjectCover() NaturalLogicRelation
func (*Polarity) GetProjectEquivalence ¶
func (x *Polarity) GetProjectEquivalence() NaturalLogicRelation
func (*Polarity) GetProjectForwardEntailment ¶
func (x *Polarity) GetProjectForwardEntailment() NaturalLogicRelation
func (*Polarity) GetProjectIndependence ¶
func (x *Polarity) GetProjectIndependence() NaturalLogicRelation
func (*Polarity) GetProjectNegation ¶
func (x *Polarity) GetProjectNegation() NaturalLogicRelation
func (*Polarity) GetProjectReverseEntailment ¶
func (x *Polarity) GetProjectReverseEntailment() NaturalLogicRelation
func (*Polarity) ProtoMessage ¶
func (*Polarity) ProtoMessage()
func (*Polarity) ProtoReflect ¶
func (x *Polarity) ProtoReflect() protoreflect.Message
type Quote ¶
type Quote struct { Text *string `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"` Begin *uint32 `protobuf:"varint,2,opt,name=begin" json:"begin,omitempty"` End *uint32 `protobuf:"varint,3,opt,name=end" json:"end,omitempty"` SentenceBegin *uint32 `protobuf:"varint,5,opt,name=sentenceBegin" json:"sentenceBegin,omitempty"` SentenceEnd *uint32 `protobuf:"varint,6,opt,name=sentenceEnd" json:"sentenceEnd,omitempty"` TokenBegin *uint32 `protobuf:"varint,7,opt,name=tokenBegin" json:"tokenBegin,omitempty"` TokenEnd *uint32 `protobuf:"varint,8,opt,name=tokenEnd" json:"tokenEnd,omitempty"` Docid *string `protobuf:"bytes,9,opt,name=docid" json:"docid,omitempty"` Index *uint32 `protobuf:"varint,10,opt,name=index" json:"index,omitempty"` Author *string `protobuf:"bytes,11,opt,name=author" json:"author,omitempty"` Mention *string `protobuf:"bytes,12,opt,name=mention" json:"mention,omitempty"` MentionBegin *uint32 `protobuf:"varint,13,opt,name=mentionBegin" json:"mentionBegin,omitempty"` MentionEnd *uint32 `protobuf:"varint,14,opt,name=mentionEnd" json:"mentionEnd,omitempty"` MentionType *string `protobuf:"bytes,15,opt,name=mentionType" json:"mentionType,omitempty"` MentionSieve *string `protobuf:"bytes,16,opt,name=mentionSieve" json:"mentionSieve,omitempty"` Speaker *string `protobuf:"bytes,17,opt,name=speaker" json:"speaker,omitempty"` SpeakerSieve *string `protobuf:"bytes,18,opt,name=speakerSieve" json:"speakerSieve,omitempty"` CanonicalMention *string `protobuf:"bytes,19,opt,name=canonicalMention" json:"canonicalMention,omitempty"` CanonicalMentionBegin *uint32 `protobuf:"varint,20,opt,name=canonicalMentionBegin" json:"canonicalMentionBegin,omitempty"` CanonicalMentionEnd *uint32 `protobuf:"varint,21,opt,name=canonicalMentionEnd" json:"canonicalMentionEnd,omitempty"` AttributionDependencyGraph *DependencyGraph `protobuf:"bytes,22,opt,name=attributionDependencyGraph" json:"attributionDependencyGraph,omitempty"` // contains filtered or unexported fields }
A quotation marker in text
func (*Quote) Descriptor
deprecated
func (*Quote) GetAttributionDependencyGraph ¶
func (x *Quote) GetAttributionDependencyGraph() *DependencyGraph
func (*Quote) GetCanonicalMention ¶
func (*Quote) GetCanonicalMentionBegin ¶
func (*Quote) GetCanonicalMentionEnd ¶
func (*Quote) GetMention ¶
func (*Quote) GetMentionBegin ¶
func (*Quote) GetMentionEnd ¶
func (*Quote) GetMentionSieve ¶
func (*Quote) GetMentionType ¶
func (*Quote) GetSentenceBegin ¶
func (*Quote) GetSentenceEnd ¶
func (*Quote) GetSpeaker ¶
func (*Quote) GetSpeakerSieve ¶
func (*Quote) GetTokenBegin ¶
func (*Quote) GetTokenEnd ¶
func (*Quote) ProtoMessage ¶
func (*Quote) ProtoMessage()
func (*Quote) ProtoReflect ¶
func (x *Quote) ProtoReflect() protoreflect.Message
type Relation ¶
type Relation struct { ArgName []string `protobuf:"bytes,6,rep,name=argName" json:"argName,omitempty"` Arg []*Entity `protobuf:"bytes,7,rep,name=arg" json:"arg,omitempty"` Signature *string `protobuf:"bytes,8,opt,name=signature" json:"signature,omitempty"` // inherited from ExtractionObject ObjectID *string `protobuf:"bytes,1,opt,name=objectID" json:"objectID,omitempty"` ExtentStart *uint32 `protobuf:"varint,2,opt,name=extentStart" json:"extentStart,omitempty"` ExtentEnd *uint32 `protobuf:"varint,3,opt,name=extentEnd" json:"extentEnd,omitempty"` Type *string `protobuf:"bytes,4,opt,name=type" json:"type,omitempty"` Subtype *string `protobuf:"bytes,5,opt,name=subtype" json:"subtype,omitempty"` // contains filtered or unexported fields }
A representation of a relation, mirroring RelationMention
func (*Relation) Descriptor
deprecated
func (*Relation) GetArgName ¶
func (*Relation) GetExtentEnd ¶
func (*Relation) GetExtentStart ¶
func (*Relation) GetObjectID ¶
func (*Relation) GetSignature ¶
func (*Relation) GetSubtype ¶
func (*Relation) ProtoMessage ¶
func (*Relation) ProtoMessage()
func (*Relation) ProtoReflect ¶
func (x *Relation) ProtoReflect() protoreflect.Message
type RelationTriple ¶
type RelationTriple struct { Subject *string `protobuf:"bytes,1,opt,name=subject" json:"subject,omitempty"` // The surface form of the subject Relation *string `protobuf:"bytes,2,opt,name=relation" json:"relation,omitempty"` // The surface form of the relation (required) Object *string `protobuf:"bytes,3,opt,name=object" json:"object,omitempty"` // The surface form of the object Confidence *float64 `protobuf:"fixed64,4,opt,name=confidence" json:"confidence,omitempty"` // The [optional] confidence of the extraction SubjectTokens []*TokenLocation `protobuf:"bytes,13,rep,name=subjectTokens" json:"subjectTokens,omitempty"` // The tokens comprising the subject of the triple RelationTokens []*TokenLocation `protobuf:"bytes,14,rep,name=relationTokens" json:"relationTokens,omitempty"` // The tokens comprising the relation of the triple ObjectTokens []*TokenLocation `protobuf:"bytes,15,rep,name=objectTokens" json:"objectTokens,omitempty"` // The tokens comprising the object of the triple Tree *DependencyGraph `protobuf:"bytes,8,opt,name=tree" json:"tree,omitempty"` // The dependency graph fragment for this triple Istmod *bool `protobuf:"varint,9,opt,name=istmod" json:"istmod,omitempty"` // If true, this expresses an implicit tmod relation PrefixBe *bool `protobuf:"varint,10,opt,name=prefixBe" json:"prefixBe,omitempty"` // If true, this relation string is missing a 'be' prefix SuffixBe *bool `protobuf:"varint,11,opt,name=suffixBe" json:"suffixBe,omitempty"` // If true, this relation string is missing a 'be' suffix SuffixOf *bool `protobuf:"varint,12,opt,name=suffixOf" json:"suffixOf,omitempty"` // If true, this relation string is missing a 'of' prefix // contains filtered or unexported fields }
An OpenIE relation triple. Created by the openie annotator.
func (*RelationTriple) Descriptor
deprecated
func (*RelationTriple) Descriptor() ([]byte, []int)
Deprecated: Use RelationTriple.ProtoReflect.Descriptor instead.
func (*RelationTriple) GetConfidence ¶
func (x *RelationTriple) GetConfidence() float64
func (*RelationTriple) GetIstmod ¶
func (x *RelationTriple) GetIstmod() bool
func (*RelationTriple) GetObject ¶
func (x *RelationTriple) GetObject() string
func (*RelationTriple) GetObjectTokens ¶
func (x *RelationTriple) GetObjectTokens() []*TokenLocation
func (*RelationTriple) GetPrefixBe ¶
func (x *RelationTriple) GetPrefixBe() bool
func (*RelationTriple) GetRelation ¶
func (x *RelationTriple) GetRelation() string
func (*RelationTriple) GetRelationTokens ¶
func (x *RelationTriple) GetRelationTokens() []*TokenLocation
func (*RelationTriple) GetSubject ¶
func (x *RelationTriple) GetSubject() string
func (*RelationTriple) GetSubjectTokens ¶
func (x *RelationTriple) GetSubjectTokens() []*TokenLocation
func (*RelationTriple) GetSuffixBe ¶
func (x *RelationTriple) GetSuffixBe() bool
func (*RelationTriple) GetSuffixOf ¶
func (x *RelationTriple) GetSuffixOf() bool
func (*RelationTriple) GetTree ¶
func (x *RelationTriple) GetTree() *DependencyGraph
func (*RelationTriple) ProtoMessage ¶
func (*RelationTriple) ProtoMessage()
func (*RelationTriple) ProtoReflect ¶
func (x *RelationTriple) ProtoReflect() protoreflect.Message
func (*RelationTriple) Reset ¶
func (x *RelationTriple) Reset()
func (*RelationTriple) String ¶
func (x *RelationTriple) String() string
type Section ¶
type Section struct { CharBegin *uint32 `protobuf:"varint,1,req,name=charBegin" json:"charBegin,omitempty"` CharEnd *uint32 `protobuf:"varint,2,req,name=charEnd" json:"charEnd,omitempty"` Author *string `protobuf:"bytes,3,opt,name=author" json:"author,omitempty"` SentenceIndexes []uint32 `protobuf:"varint,4,rep,name=sentenceIndexes" json:"sentenceIndexes,omitempty"` Datetime *string `protobuf:"bytes,5,opt,name=datetime" json:"datetime,omitempty"` Quotes []*Quote `protobuf:"bytes,6,rep,name=quotes" json:"quotes,omitempty"` AuthorCharBegin *uint32 `protobuf:"varint,7,opt,name=authorCharBegin" json:"authorCharBegin,omitempty"` AuthorCharEnd *uint32 `protobuf:"varint,8,opt,name=authorCharEnd" json:"authorCharEnd,omitempty"` XmlTag *Token `protobuf:"bytes,9,req,name=xmlTag" json:"xmlTag,omitempty"` // contains filtered or unexported fields }
func (*Section) Descriptor
deprecated
func (*Section) GetAuthorCharBegin ¶
func (*Section) GetAuthorCharEnd ¶
func (*Section) GetCharBegin ¶
func (*Section) GetCharEnd ¶
func (*Section) GetDatetime ¶
func (*Section) GetSentenceIndexes ¶
func (*Section) ProtoMessage ¶
func (*Section) ProtoMessage()
func (*Section) ProtoReflect ¶
func (x *Section) ProtoReflect() protoreflect.Message
type SemgrexRequest ¶
type SemgrexRequest struct { Semgrex []string `protobuf:"bytes,1,rep,name=semgrex" json:"semgrex,omitempty"` Query []*SemgrexRequest_Dependencies `protobuf:"bytes,2,rep,name=query" json:"query,omitempty"` // contains filtered or unexported fields }
A message for requesting a semgrex Each sentence stores information about the tokens making up the corresponding graph An alternative would have been to use the existing Document or Sentence classes, but the problem with that is it would be ambiguous which dependency object to use.
func (*SemgrexRequest) Descriptor
deprecated
func (*SemgrexRequest) Descriptor() ([]byte, []int)
Deprecated: Use SemgrexRequest.ProtoReflect.Descriptor instead.
func (*SemgrexRequest) GetQuery ¶
func (x *SemgrexRequest) GetQuery() []*SemgrexRequest_Dependencies
func (*SemgrexRequest) GetSemgrex ¶
func (x *SemgrexRequest) GetSemgrex() []string
func (*SemgrexRequest) ProtoMessage ¶
func (*SemgrexRequest) ProtoMessage()
func (*SemgrexRequest) ProtoReflect ¶
func (x *SemgrexRequest) ProtoReflect() protoreflect.Message
func (*SemgrexRequest) Reset ¶
func (x *SemgrexRequest) Reset()
func (*SemgrexRequest) String ¶
func (x *SemgrexRequest) String() string
type SemgrexRequest_Dependencies ¶
type SemgrexRequest_Dependencies struct { Token []*Token `protobuf:"bytes,1,rep,name=token" json:"token,omitempty"` Graph *DependencyGraph `protobuf:"bytes,2,req,name=graph" json:"graph,omitempty"` // contains filtered or unexported fields }
func (*SemgrexRequest_Dependencies) Descriptor
deprecated
func (*SemgrexRequest_Dependencies) Descriptor() ([]byte, []int)
Deprecated: Use SemgrexRequest_Dependencies.ProtoReflect.Descriptor instead.
func (*SemgrexRequest_Dependencies) GetGraph ¶
func (x *SemgrexRequest_Dependencies) GetGraph() *DependencyGraph
func (*SemgrexRequest_Dependencies) GetToken ¶
func (x *SemgrexRequest_Dependencies) GetToken() []*Token
func (*SemgrexRequest_Dependencies) ProtoMessage ¶
func (*SemgrexRequest_Dependencies) ProtoMessage()
func (*SemgrexRequest_Dependencies) ProtoReflect ¶
func (x *SemgrexRequest_Dependencies) ProtoReflect() protoreflect.Message
func (*SemgrexRequest_Dependencies) Reset ¶
func (x *SemgrexRequest_Dependencies) Reset()
func (*SemgrexRequest_Dependencies) String ¶
func (x *SemgrexRequest_Dependencies) String() string
type SemgrexResponse ¶
type SemgrexResponse struct { Result []*SemgrexResponse_GraphResult `protobuf:"bytes,1,rep,name=result" json:"result,omitempty"` // contains filtered or unexported fields }
The response from running a semgrex If you pass in M semgrex expressions and N dependency graphs, this returns MxN nested results. Each SemgrexResult can match multiple times in one graph
You may want to send multiple semgrexes per query because translating large numbers of dependency graphs to protobufs will be expensive, so doing several queries at once will save time
func (*SemgrexResponse) Descriptor
deprecated
func (*SemgrexResponse) Descriptor() ([]byte, []int)
Deprecated: Use SemgrexResponse.ProtoReflect.Descriptor instead.
func (*SemgrexResponse) GetResult ¶
func (x *SemgrexResponse) GetResult() []*SemgrexResponse_GraphResult
func (*SemgrexResponse) ProtoMessage ¶
func (*SemgrexResponse) ProtoMessage()
func (*SemgrexResponse) ProtoReflect ¶
func (x *SemgrexResponse) ProtoReflect() protoreflect.Message
func (*SemgrexResponse) Reset ¶
func (x *SemgrexResponse) Reset()
func (*SemgrexResponse) String ¶
func (x *SemgrexResponse) String() string
type SemgrexResponse_GraphResult ¶
type SemgrexResponse_GraphResult struct { Result []*SemgrexResponse_SemgrexResult `protobuf:"bytes,1,rep,name=result" json:"result,omitempty"` // contains filtered or unexported fields }
func (*SemgrexResponse_GraphResult) Descriptor
deprecated
func (*SemgrexResponse_GraphResult) Descriptor() ([]byte, []int)
Deprecated: Use SemgrexResponse_GraphResult.ProtoReflect.Descriptor instead.
func (*SemgrexResponse_GraphResult) GetResult ¶
func (x *SemgrexResponse_GraphResult) GetResult() []*SemgrexResponse_SemgrexResult
func (*SemgrexResponse_GraphResult) ProtoMessage ¶
func (*SemgrexResponse_GraphResult) ProtoMessage()
func (*SemgrexResponse_GraphResult) ProtoReflect ¶
func (x *SemgrexResponse_GraphResult) ProtoReflect() protoreflect.Message
func (*SemgrexResponse_GraphResult) Reset ¶
func (x *SemgrexResponse_GraphResult) Reset()
func (*SemgrexResponse_GraphResult) String ¶
func (x *SemgrexResponse_GraphResult) String() string
type SemgrexResponse_Match ¶
type SemgrexResponse_Match struct { MatchIndex *int32 `protobuf:"varint,1,req,name=matchIndex" json:"matchIndex,omitempty"` Node []*SemgrexResponse_NamedNode `protobuf:"bytes,2,rep,name=node" json:"node,omitempty"` Reln []*SemgrexResponse_NamedRelation `protobuf:"bytes,3,rep,name=reln" json:"reln,omitempty"` Edge []*SemgrexResponse_NamedEdge `protobuf:"bytes,6,rep,name=edge" json:"edge,omitempty"` // when processing multiple dependency graphs at once, // which dependency graph this applies to // indexed from 0 GraphIndex *int32 `protobuf:"varint,4,opt,name=graphIndex" json:"graphIndex,omitempty"` // index of the semgrex expression this match applies to // indexed from 0 SemgrexIndex *int32 `protobuf:"varint,5,opt,name=semgrexIndex" json:"semgrexIndex,omitempty"` // contains filtered or unexported fields }
func (*SemgrexResponse_Match) Descriptor
deprecated
func (*SemgrexResponse_Match) Descriptor() ([]byte, []int)
Deprecated: Use SemgrexResponse_Match.ProtoReflect.Descriptor instead.
func (*SemgrexResponse_Match) GetEdge ¶ added in v0.4.5
func (x *SemgrexResponse_Match) GetEdge() []*SemgrexResponse_NamedEdge
func (*SemgrexResponse_Match) GetGraphIndex ¶ added in v0.4.5
func (x *SemgrexResponse_Match) GetGraphIndex() int32
func (*SemgrexResponse_Match) GetMatchIndex ¶
func (x *SemgrexResponse_Match) GetMatchIndex() int32
func (*SemgrexResponse_Match) GetNode ¶
func (x *SemgrexResponse_Match) GetNode() []*SemgrexResponse_NamedNode
func (*SemgrexResponse_Match) GetReln ¶
func (x *SemgrexResponse_Match) GetReln() []*SemgrexResponse_NamedRelation
func (*SemgrexResponse_Match) GetSemgrexIndex ¶ added in v0.4.5
func (x *SemgrexResponse_Match) GetSemgrexIndex() int32
func (*SemgrexResponse_Match) ProtoMessage ¶
func (*SemgrexResponse_Match) ProtoMessage()
func (*SemgrexResponse_Match) ProtoReflect ¶
func (x *SemgrexResponse_Match) ProtoReflect() protoreflect.Message
func (*SemgrexResponse_Match) Reset ¶
func (x *SemgrexResponse_Match) Reset()
func (*SemgrexResponse_Match) String ¶
func (x *SemgrexResponse_Match) String() string
type SemgrexResponse_NamedEdge ¶ added in v0.4.5
type SemgrexResponse_NamedEdge struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` Source *int32 `protobuf:"varint,2,req,name=source" json:"source,omitempty"` Target *int32 `protobuf:"varint,3,req,name=target" json:"target,omitempty"` Reln *string `protobuf:"bytes,4,opt,name=reln" json:"reln,omitempty"` IsExtra *bool `protobuf:"varint,5,opt,name=isExtra" json:"isExtra,omitempty"` SourceCopy *uint32 `protobuf:"varint,6,opt,name=sourceCopy" json:"sourceCopy,omitempty"` TargetCopy *uint32 `protobuf:"varint,7,opt,name=targetCopy" json:"targetCopy,omitempty"` // contains filtered or unexported fields }
func (*SemgrexResponse_NamedEdge) Descriptor
deprecated
added in
v0.4.5
func (*SemgrexResponse_NamedEdge) Descriptor() ([]byte, []int)
Deprecated: Use SemgrexResponse_NamedEdge.ProtoReflect.Descriptor instead.
func (*SemgrexResponse_NamedEdge) GetIsExtra ¶ added in v0.4.5
func (x *SemgrexResponse_NamedEdge) GetIsExtra() bool
func (*SemgrexResponse_NamedEdge) GetName ¶ added in v0.4.5
func (x *SemgrexResponse_NamedEdge) GetName() string
func (*SemgrexResponse_NamedEdge) GetReln ¶ added in v0.4.5
func (x *SemgrexResponse_NamedEdge) GetReln() string
func (*SemgrexResponse_NamedEdge) GetSource ¶ added in v0.4.5
func (x *SemgrexResponse_NamedEdge) GetSource() int32
func (*SemgrexResponse_NamedEdge) GetSourceCopy ¶ added in v0.4.5
func (x *SemgrexResponse_NamedEdge) GetSourceCopy() uint32
func (*SemgrexResponse_NamedEdge) GetTarget ¶ added in v0.4.5
func (x *SemgrexResponse_NamedEdge) GetTarget() int32
func (*SemgrexResponse_NamedEdge) GetTargetCopy ¶ added in v0.4.5
func (x *SemgrexResponse_NamedEdge) GetTargetCopy() uint32
func (*SemgrexResponse_NamedEdge) ProtoMessage ¶ added in v0.4.5
func (*SemgrexResponse_NamedEdge) ProtoMessage()
func (*SemgrexResponse_NamedEdge) ProtoReflect ¶ added in v0.4.5
func (x *SemgrexResponse_NamedEdge) ProtoReflect() protoreflect.Message
func (*SemgrexResponse_NamedEdge) Reset ¶ added in v0.4.5
func (x *SemgrexResponse_NamedEdge) Reset()
func (*SemgrexResponse_NamedEdge) String ¶ added in v0.4.5
func (x *SemgrexResponse_NamedEdge) String() string
type SemgrexResponse_NamedNode ¶
type SemgrexResponse_NamedNode struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` MatchIndex *int32 `protobuf:"varint,2,req,name=matchIndex" json:"matchIndex,omitempty"` // contains filtered or unexported fields }
func (*SemgrexResponse_NamedNode) Descriptor
deprecated
func (*SemgrexResponse_NamedNode) Descriptor() ([]byte, []int)
Deprecated: Use SemgrexResponse_NamedNode.ProtoReflect.Descriptor instead.
func (*SemgrexResponse_NamedNode) GetMatchIndex ¶
func (x *SemgrexResponse_NamedNode) GetMatchIndex() int32
func (*SemgrexResponse_NamedNode) GetName ¶
func (x *SemgrexResponse_NamedNode) GetName() string
func (*SemgrexResponse_NamedNode) ProtoMessage ¶
func (*SemgrexResponse_NamedNode) ProtoMessage()
func (*SemgrexResponse_NamedNode) ProtoReflect ¶
func (x *SemgrexResponse_NamedNode) ProtoReflect() protoreflect.Message
func (*SemgrexResponse_NamedNode) Reset ¶
func (x *SemgrexResponse_NamedNode) Reset()
func (*SemgrexResponse_NamedNode) String ¶
func (x *SemgrexResponse_NamedNode) String() string
type SemgrexResponse_NamedRelation ¶
type SemgrexResponse_NamedRelation struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` Reln *string `protobuf:"bytes,2,req,name=reln" json:"reln,omitempty"` // contains filtered or unexported fields }
func (*SemgrexResponse_NamedRelation) Descriptor
deprecated
func (*SemgrexResponse_NamedRelation) Descriptor() ([]byte, []int)
Deprecated: Use SemgrexResponse_NamedRelation.ProtoReflect.Descriptor instead.
func (*SemgrexResponse_NamedRelation) GetName ¶
func (x *SemgrexResponse_NamedRelation) GetName() string
func (*SemgrexResponse_NamedRelation) GetReln ¶
func (x *SemgrexResponse_NamedRelation) GetReln() string
func (*SemgrexResponse_NamedRelation) ProtoMessage ¶
func (*SemgrexResponse_NamedRelation) ProtoMessage()
func (*SemgrexResponse_NamedRelation) ProtoReflect ¶
func (x *SemgrexResponse_NamedRelation) ProtoReflect() protoreflect.Message
func (*SemgrexResponse_NamedRelation) Reset ¶
func (x *SemgrexResponse_NamedRelation) Reset()
func (*SemgrexResponse_NamedRelation) String ¶
func (x *SemgrexResponse_NamedRelation) String() string
type SemgrexResponse_SemgrexResult ¶
type SemgrexResponse_SemgrexResult struct { Match []*SemgrexResponse_Match `protobuf:"bytes,1,rep,name=match" json:"match,omitempty"` // contains filtered or unexported fields }
func (*SemgrexResponse_SemgrexResult) Descriptor
deprecated
func (*SemgrexResponse_SemgrexResult) Descriptor() ([]byte, []int)
Deprecated: Use SemgrexResponse_SemgrexResult.ProtoReflect.Descriptor instead.
func (*SemgrexResponse_SemgrexResult) GetMatch ¶
func (x *SemgrexResponse_SemgrexResult) GetMatch() []*SemgrexResponse_Match
func (*SemgrexResponse_SemgrexResult) ProtoMessage ¶
func (*SemgrexResponse_SemgrexResult) ProtoMessage()
func (*SemgrexResponse_SemgrexResult) ProtoReflect ¶
func (x *SemgrexResponse_SemgrexResult) ProtoReflect() protoreflect.Message
func (*SemgrexResponse_SemgrexResult) Reset ¶
func (x *SemgrexResponse_SemgrexResult) Reset()
func (*SemgrexResponse_SemgrexResult) String ¶
func (x *SemgrexResponse_SemgrexResult) String() string
type Sentence ¶
type Sentence struct { Token []*Token `protobuf:"bytes,1,rep,name=token" json:"token,omitempty"` TokenOffsetBegin *uint32 `protobuf:"varint,2,req,name=tokenOffsetBegin" json:"tokenOffsetBegin,omitempty"` TokenOffsetEnd *uint32 `protobuf:"varint,3,req,name=tokenOffsetEnd" json:"tokenOffsetEnd,omitempty"` SentenceIndex *uint32 `protobuf:"varint,4,opt,name=sentenceIndex" json:"sentenceIndex,omitempty"` CharacterOffsetBegin *uint32 `protobuf:"varint,5,opt,name=characterOffsetBegin" json:"characterOffsetBegin,omitempty"` CharacterOffsetEnd *uint32 `protobuf:"varint,6,opt,name=characterOffsetEnd" json:"characterOffsetEnd,omitempty"` ParseTree *ParseTree `protobuf:"bytes,7,opt,name=parseTree" json:"parseTree,omitempty"` BinarizedParseTree *ParseTree `protobuf:"bytes,31,opt,name=binarizedParseTree" json:"binarizedParseTree,omitempty"` AnnotatedParseTree *ParseTree `protobuf:"bytes,32,opt,name=annotatedParseTree" json:"annotatedParseTree,omitempty"` Sentiment *string `protobuf:"bytes,33,opt,name=sentiment" json:"sentiment,omitempty"` KBestParseTrees []*ParseTree `protobuf:"bytes,34,rep,name=kBestParseTrees" json:"kBestParseTrees,omitempty"` BasicDependencies *DependencyGraph `protobuf:"bytes,8,opt,name=basicDependencies" json:"basicDependencies,omitempty"` CollapsedDependencies *DependencyGraph `protobuf:"bytes,9,opt,name=collapsedDependencies" json:"collapsedDependencies,omitempty"` CollapsedCCProcessedDependencies *DependencyGraph `protobuf:"bytes,10,opt,name=collapsedCCProcessedDependencies" json:"collapsedCCProcessedDependencies,omitempty"` AlternativeDependencies *DependencyGraph `protobuf:"bytes,13,opt,name=alternativeDependencies" json:"alternativeDependencies,omitempty"` OpenieTriple []*RelationTriple `protobuf:"bytes,14,rep,name=openieTriple" json:"openieTriple,omitempty"` // The OpenIE triples in the sentence KbpTriple []*RelationTriple `protobuf:"bytes,16,rep,name=kbpTriple" json:"kbpTriple,omitempty"` // The KBP triples in this sentence EntailedSentence []*SentenceFragment `protobuf:"bytes,15,rep,name=entailedSentence" json:"entailedSentence,omitempty"` // The entailed sentences, by natural logic EntailedClause []*SentenceFragment `protobuf:"bytes,35,rep,name=entailedClause" json:"entailedClause,omitempty"` // The entailed clauses, by natural logic EnhancedDependencies *DependencyGraph `protobuf:"bytes,17,opt,name=enhancedDependencies" json:"enhancedDependencies,omitempty"` EnhancedPlusPlusDependencies *DependencyGraph `protobuf:"bytes,18,opt,name=enhancedPlusPlusDependencies" json:"enhancedPlusPlusDependencies,omitempty"` Character []*Token `protobuf:"bytes,19,rep,name=character" json:"character,omitempty"` Paragraph *uint32 `protobuf:"varint,11,opt,name=paragraph" json:"paragraph,omitempty"` Text *string `protobuf:"bytes,12,opt,name=text" json:"text,omitempty"` // Only needed if we're only saving the sentence. LineNumber *uint32 `protobuf:"varint,20,opt,name=lineNumber" json:"lineNumber,omitempty"` // Fields set by other annotators in CoreNLP HasRelationAnnotations *bool `protobuf:"varint,51,opt,name=hasRelationAnnotations" json:"hasRelationAnnotations,omitempty"` Entity []*Entity `protobuf:"bytes,52,rep,name=entity" json:"entity,omitempty"` Relation []*Relation `protobuf:"bytes,53,rep,name=relation" json:"relation,omitempty"` HasNumerizedTokensAnnotation *bool `protobuf:"varint,54,opt,name=hasNumerizedTokensAnnotation" json:"hasNumerizedTokensAnnotation,omitempty"` Mentions []*NERMention `protobuf:"bytes,55,rep,name=mentions" json:"mentions,omitempty"` MentionsForCoref []*Mention `protobuf:"bytes,56,rep,name=mentionsForCoref" json:"mentionsForCoref,omitempty"` HasCorefMentionsAnnotation *bool `protobuf:"varint,57,opt,name=hasCorefMentionsAnnotation" json:"hasCorefMentionsAnnotation,omitempty"` SentenceID *string `protobuf:"bytes,58,opt,name=sentenceID" json:"sentenceID,omitempty"` // Useful when storing sentences (e.g. ForEach) SectionDate *string `protobuf:"bytes,59,opt,name=sectionDate" json:"sectionDate,omitempty"` // date of section SectionIndex *uint32 `protobuf:"varint,60,opt,name=sectionIndex" json:"sectionIndex,omitempty"` // section index for this sentence's section SectionName *string `protobuf:"bytes,61,opt,name=sectionName" json:"sectionName,omitempty"` // name of section SectionAuthor *string `protobuf:"bytes,62,opt,name=sectionAuthor" json:"sectionAuthor,omitempty"` // author of section DocID *string `protobuf:"bytes,63,opt,name=docID" json:"docID,omitempty"` // doc id SectionQuoted *bool `protobuf:"varint,64,opt,name=sectionQuoted" json:"sectionQuoted,omitempty"` // is this sentence in an xml quote in a post HasEntityMentionsAnnotation *bool `protobuf:"varint,65,opt,name=hasEntityMentionsAnnotation" json:"hasEntityMentionsAnnotation,omitempty"` // check if there are entity mentions HasKBPTriplesAnnotation *bool `protobuf:"varint,68,opt,name=hasKBPTriplesAnnotation" json:"hasKBPTriplesAnnotation,omitempty"` // check if there are KBP triples HasOpenieTriplesAnnotation *bool `protobuf:"varint,69,opt,name=hasOpenieTriplesAnnotation" json:"hasOpenieTriplesAnnotation,omitempty"` // check if there are OpenIE triples // quote stuff ChapterIndex *uint32 `protobuf:"varint,66,opt,name=chapterIndex" json:"chapterIndex,omitempty"` ParagraphIndex *uint32 `protobuf:"varint,67,opt,name=paragraphIndex" json:"paragraphIndex,omitempty"` // the quote annotator can soometimes add merged sentences EnhancedSentence *Sentence `protobuf:"bytes,70,opt,name=enhancedSentence" json:"enhancedSentence,omitempty"` // speaker stuff Speaker *string `protobuf:"bytes,71,opt,name=speaker" json:"speaker,omitempty"` // The speaker speaking this sentence SpeakerType *string `protobuf:"bytes,72,opt,name=speakerType" json:"speakerType,omitempty"` // The type of speaker speaking this sentence // contains filtered or unexported fields }
The serialized version of a CoreMap representing a sentence.
func (*Sentence) Descriptor
deprecated
func (*Sentence) ExtensionRangeArray
deprecated
func (*Sentence) ExtensionRangeArray() []protoiface.ExtensionRangeV1
Deprecated: Use Sentence.ProtoReflect.Descriptor.ExtensionRanges instead.
func (*Sentence) GetAlternativeDependencies ¶
func (x *Sentence) GetAlternativeDependencies() *DependencyGraph
func (*Sentence) GetAnnotatedParseTree ¶
func (*Sentence) GetBasicDependencies ¶
func (x *Sentence) GetBasicDependencies() *DependencyGraph
func (*Sentence) GetBinarizedParseTree ¶
func (*Sentence) GetChapterIndex ¶
func (*Sentence) GetCharacter ¶
func (*Sentence) GetCharacterOffsetBegin ¶
func (*Sentence) GetCharacterOffsetEnd ¶
func (*Sentence) GetCollapsedCCProcessedDependencies ¶
func (x *Sentence) GetCollapsedCCProcessedDependencies() *DependencyGraph
func (*Sentence) GetCollapsedDependencies ¶
func (x *Sentence) GetCollapsedDependencies() *DependencyGraph
func (*Sentence) GetEnhancedDependencies ¶
func (x *Sentence) GetEnhancedDependencies() *DependencyGraph
func (*Sentence) GetEnhancedPlusPlusDependencies ¶
func (x *Sentence) GetEnhancedPlusPlusDependencies() *DependencyGraph
func (*Sentence) GetEnhancedSentence ¶
func (*Sentence) GetEntailedClause ¶
func (x *Sentence) GetEntailedClause() []*SentenceFragment
func (*Sentence) GetEntailedSentence ¶
func (x *Sentence) GetEntailedSentence() []*SentenceFragment
func (*Sentence) GetHasCorefMentionsAnnotation ¶
func (*Sentence) GetHasEntityMentionsAnnotation ¶
func (*Sentence) GetHasKBPTriplesAnnotation ¶
func (*Sentence) GetHasNumerizedTokensAnnotation ¶
func (*Sentence) GetHasOpenieTriplesAnnotation ¶
func (*Sentence) GetHasRelationAnnotations ¶
func (*Sentence) GetKBestParseTrees ¶
func (*Sentence) GetKbpTriple ¶
func (x *Sentence) GetKbpTriple() []*RelationTriple
func (*Sentence) GetLineNumber ¶
func (*Sentence) GetMentions ¶
func (x *Sentence) GetMentions() []*NERMention
func (*Sentence) GetMentionsForCoref ¶
func (*Sentence) GetOpenieTriple ¶
func (x *Sentence) GetOpenieTriple() []*RelationTriple
func (*Sentence) GetParagraph ¶
func (*Sentence) GetParagraphIndex ¶
func (*Sentence) GetParseTree ¶
func (*Sentence) GetRelation ¶
func (*Sentence) GetSectionAuthor ¶
func (*Sentence) GetSectionDate ¶
func (*Sentence) GetSectionIndex ¶
func (*Sentence) GetSectionName ¶
func (*Sentence) GetSectionQuoted ¶
func (*Sentence) GetSentenceID ¶
func (*Sentence) GetSentenceIndex ¶
func (*Sentence) GetSentiment ¶
func (*Sentence) GetSpeaker ¶
func (*Sentence) GetSpeakerType ¶
func (*Sentence) GetTokenOffsetBegin ¶
func (*Sentence) GetTokenOffsetEnd ¶
func (*Sentence) ProtoMessage ¶
func (*Sentence) ProtoMessage()
func (*Sentence) ProtoReflect ¶
func (x *Sentence) ProtoReflect() protoreflect.Message
type SentenceFragment ¶
type SentenceFragment struct { TokenIndex []uint32 `protobuf:"varint,1,rep,name=tokenIndex" json:"tokenIndex,omitempty"` Root *uint32 `protobuf:"varint,2,opt,name=root" json:"root,omitempty"` AssumedTruth *bool `protobuf:"varint,3,opt,name=assumedTruth" json:"assumedTruth,omitempty"` Score *float64 `protobuf:"fixed64,4,opt,name=score" json:"score,omitempty"` // contains filtered or unexported fields }
An entailed sentence fragment. Created by the openie annotator.
func (*SentenceFragment) Descriptor
deprecated
func (*SentenceFragment) Descriptor() ([]byte, []int)
Deprecated: Use SentenceFragment.ProtoReflect.Descriptor instead.
func (*SentenceFragment) GetAssumedTruth ¶
func (x *SentenceFragment) GetAssumedTruth() bool
func (*SentenceFragment) GetRoot ¶
func (x *SentenceFragment) GetRoot() uint32
func (*SentenceFragment) GetScore ¶
func (x *SentenceFragment) GetScore() float64
func (*SentenceFragment) GetTokenIndex ¶
func (x *SentenceFragment) GetTokenIndex() []uint32
func (*SentenceFragment) ProtoMessage ¶
func (*SentenceFragment) ProtoMessage()
func (*SentenceFragment) ProtoReflect ¶
func (x *SentenceFragment) ProtoReflect() protoreflect.Message
func (*SentenceFragment) Reset ¶
func (x *SentenceFragment) Reset()
func (*SentenceFragment) String ¶
func (x *SentenceFragment) String() string
type Sentiment ¶
type Sentiment int32
An enumeration of valid sentiment values for the sentiment classifier.
func (Sentiment) Descriptor ¶
func (Sentiment) Descriptor() protoreflect.EnumDescriptor
func (Sentiment) EnumDescriptor
deprecated
func (Sentiment) Number ¶
func (x Sentiment) Number() protoreflect.EnumNumber
func (Sentiment) Type ¶
func (Sentiment) Type() protoreflect.EnumType
func (*Sentiment) UnmarshalJSON
deprecated
type Span ¶
type Span struct { Begin *uint32 `protobuf:"varint,1,req,name=begin" json:"begin,omitempty"` End *uint32 `protobuf:"varint,2,req,name=end" json:"end,omitempty"` // contains filtered or unexported fields }
A Span of text
func (*Span) Descriptor
deprecated
func (*Span) ProtoMessage ¶
func (*Span) ProtoMessage()
func (*Span) ProtoReflect ¶
func (x *Span) ProtoReflect() protoreflect.Message
type SpeakerInfo ¶
type SpeakerInfo struct { SpeakerName *string `protobuf:"bytes,1,opt,name=speakerName" json:"speakerName,omitempty"` Mentions []int32 `protobuf:"varint,2,rep,name=mentions" json:"mentions,omitempty"` // contains filtered or unexported fields }
func (*SpeakerInfo) Descriptor
deprecated
func (*SpeakerInfo) Descriptor() ([]byte, []int)
Deprecated: Use SpeakerInfo.ProtoReflect.Descriptor instead.
func (*SpeakerInfo) GetMentions ¶
func (x *SpeakerInfo) GetMentions() []int32
func (*SpeakerInfo) GetSpeakerName ¶
func (x *SpeakerInfo) GetSpeakerName() string
func (*SpeakerInfo) ProtoMessage ¶
func (*SpeakerInfo) ProtoMessage()
func (*SpeakerInfo) ProtoReflect ¶
func (x *SpeakerInfo) ProtoReflect() protoreflect.Message
func (*SpeakerInfo) Reset ¶
func (x *SpeakerInfo) Reset()
func (*SpeakerInfo) String ¶
func (x *SpeakerInfo) String() string
type SsurgeonRequest ¶ added in v0.4.5
type SsurgeonRequest struct { Ssurgeon []*SsurgeonRequest_Ssurgeon `protobuf:"bytes,1,rep,name=ssurgeon" json:"ssurgeon,omitempty"` Graph []*DependencyGraph `protobuf:"bytes,2,rep,name=graph" json:"graph,omitempty"` // contains filtered or unexported fields }
A message for processing an Ssurgeon Each sentence stores information about the tokens making up the corresponding graph An alternative would have been to use the existing Document or Sentence classes, but the problem with that is it would be ambiguous which dependency object to use. The Ssurgeon is composed of two pieces, the semgrex and the ssurgeon operations, along with some optional documentation.
func (*SsurgeonRequest) Descriptor
deprecated
added in
v0.4.5
func (*SsurgeonRequest) Descriptor() ([]byte, []int)
Deprecated: Use SsurgeonRequest.ProtoReflect.Descriptor instead.
func (*SsurgeonRequest) GetGraph ¶ added in v0.4.5
func (x *SsurgeonRequest) GetGraph() []*DependencyGraph
func (*SsurgeonRequest) GetSsurgeon ¶ added in v0.4.5
func (x *SsurgeonRequest) GetSsurgeon() []*SsurgeonRequest_Ssurgeon
func (*SsurgeonRequest) ProtoMessage ¶ added in v0.4.5
func (*SsurgeonRequest) ProtoMessage()
func (*SsurgeonRequest) ProtoReflect ¶ added in v0.4.5
func (x *SsurgeonRequest) ProtoReflect() protoreflect.Message
func (*SsurgeonRequest) Reset ¶ added in v0.4.5
func (x *SsurgeonRequest) Reset()
func (*SsurgeonRequest) String ¶ added in v0.4.5
func (x *SsurgeonRequest) String() string
type SsurgeonRequest_Ssurgeon ¶ added in v0.4.5
type SsurgeonRequest_Ssurgeon struct { Semgrex *string `protobuf:"bytes,1,opt,name=semgrex" json:"semgrex,omitempty"` Operation []string `protobuf:"bytes,2,rep,name=operation" json:"operation,omitempty"` Id *string `protobuf:"bytes,3,opt,name=id" json:"id,omitempty"` Notes *string `protobuf:"bytes,4,opt,name=notes" json:"notes,omitempty"` Language *string `protobuf:"bytes,5,opt,name=language" json:"language,omitempty"` // contains filtered or unexported fields }
func (*SsurgeonRequest_Ssurgeon) Descriptor
deprecated
added in
v0.4.5
func (*SsurgeonRequest_Ssurgeon) Descriptor() ([]byte, []int)
Deprecated: Use SsurgeonRequest_Ssurgeon.ProtoReflect.Descriptor instead.
func (*SsurgeonRequest_Ssurgeon) GetId ¶ added in v0.4.5
func (x *SsurgeonRequest_Ssurgeon) GetId() string
func (*SsurgeonRequest_Ssurgeon) GetLanguage ¶ added in v0.4.5
func (x *SsurgeonRequest_Ssurgeon) GetLanguage() string
func (*SsurgeonRequest_Ssurgeon) GetNotes ¶ added in v0.4.5
func (x *SsurgeonRequest_Ssurgeon) GetNotes() string
func (*SsurgeonRequest_Ssurgeon) GetOperation ¶ added in v0.4.5
func (x *SsurgeonRequest_Ssurgeon) GetOperation() []string
func (*SsurgeonRequest_Ssurgeon) GetSemgrex ¶ added in v0.4.5
func (x *SsurgeonRequest_Ssurgeon) GetSemgrex() string
func (*SsurgeonRequest_Ssurgeon) ProtoMessage ¶ added in v0.4.5
func (*SsurgeonRequest_Ssurgeon) ProtoMessage()
func (*SsurgeonRequest_Ssurgeon) ProtoReflect ¶ added in v0.4.5
func (x *SsurgeonRequest_Ssurgeon) ProtoReflect() protoreflect.Message
func (*SsurgeonRequest_Ssurgeon) Reset ¶ added in v0.4.5
func (x *SsurgeonRequest_Ssurgeon) Reset()
func (*SsurgeonRequest_Ssurgeon) String ¶ added in v0.4.5
func (x *SsurgeonRequest_Ssurgeon) String() string
type SsurgeonResponse ¶ added in v0.4.5
type SsurgeonResponse struct { Result []*SsurgeonResponse_SsurgeonResult `protobuf:"bytes,1,rep,name=result" json:"result,omitempty"` // contains filtered or unexported fields }
func (*SsurgeonResponse) Descriptor
deprecated
added in
v0.4.5
func (*SsurgeonResponse) Descriptor() ([]byte, []int)
Deprecated: Use SsurgeonResponse.ProtoReflect.Descriptor instead.
func (*SsurgeonResponse) GetResult ¶ added in v0.4.5
func (x *SsurgeonResponse) GetResult() []*SsurgeonResponse_SsurgeonResult
func (*SsurgeonResponse) ProtoMessage ¶ added in v0.4.5
func (*SsurgeonResponse) ProtoMessage()
func (*SsurgeonResponse) ProtoReflect ¶ added in v0.4.5
func (x *SsurgeonResponse) ProtoReflect() protoreflect.Message
func (*SsurgeonResponse) Reset ¶ added in v0.4.5
func (x *SsurgeonResponse) Reset()
func (*SsurgeonResponse) String ¶ added in v0.4.5
func (x *SsurgeonResponse) String() string
type SsurgeonResponse_SsurgeonResult ¶ added in v0.4.5
type SsurgeonResponse_SsurgeonResult struct { Graph *DependencyGraph `protobuf:"bytes,1,opt,name=graph" json:"graph,omitempty"` Changed *bool `protobuf:"varint,2,opt,name=changed" json:"changed,omitempty"` // contains filtered or unexported fields }
func (*SsurgeonResponse_SsurgeonResult) Descriptor
deprecated
added in
v0.4.5
func (*SsurgeonResponse_SsurgeonResult) Descriptor() ([]byte, []int)
Deprecated: Use SsurgeonResponse_SsurgeonResult.ProtoReflect.Descriptor instead.
func (*SsurgeonResponse_SsurgeonResult) GetChanged ¶ added in v0.4.5
func (x *SsurgeonResponse_SsurgeonResult) GetChanged() bool
func (*SsurgeonResponse_SsurgeonResult) GetGraph ¶ added in v0.4.5
func (x *SsurgeonResponse_SsurgeonResult) GetGraph() *DependencyGraph
func (*SsurgeonResponse_SsurgeonResult) ProtoMessage ¶ added in v0.4.5
func (*SsurgeonResponse_SsurgeonResult) ProtoMessage()
func (*SsurgeonResponse_SsurgeonResult) ProtoReflect ¶ added in v0.4.5
func (x *SsurgeonResponse_SsurgeonResult) ProtoReflect() protoreflect.Message
func (*SsurgeonResponse_SsurgeonResult) Reset ¶ added in v0.4.5
func (x *SsurgeonResponse_SsurgeonResult) Reset()
func (*SsurgeonResponse_SsurgeonResult) String ¶ added in v0.4.5
func (x *SsurgeonResponse_SsurgeonResult) String() string
type Timex ¶
type Timex struct { Value *string `protobuf:"bytes,1,opt,name=value" json:"value,omitempty"` AltValue *string `protobuf:"bytes,2,opt,name=altValue" json:"altValue,omitempty"` Text *string `protobuf:"bytes,3,opt,name=text" json:"text,omitempty"` Type *string `protobuf:"bytes,4,opt,name=type" json:"type,omitempty"` Tid *string `protobuf:"bytes,5,opt,name=tid" json:"tid,omitempty"` BeginPoint *uint32 `protobuf:"varint,6,opt,name=beginPoint" json:"beginPoint,omitempty"` EndPoint *uint32 `protobuf:"varint,7,opt,name=endPoint" json:"endPoint,omitempty"` // contains filtered or unexported fields }
A Timex object, representing a temporal expression (TIMe EXpression) These fields are not *really* optional. CoreNLP will crash without them.
func (*Timex) Descriptor
deprecated
func (*Timex) GetAltValue ¶
func (*Timex) GetBeginPoint ¶
func (*Timex) GetEndPoint ¶
func (*Timex) ProtoMessage ¶
func (*Timex) ProtoMessage()
func (*Timex) ProtoReflect ¶
func (x *Timex) ProtoReflect() protoreflect.Message
type Token ¶
type Token struct { // Fields set by the default annotators [new CoreNLP(new Properties())] Word *string `protobuf:"bytes,1,opt,name=word" json:"word,omitempty"` // the word's gloss (post-tokenization) Pos *string `protobuf:"bytes,2,opt,name=pos" json:"pos,omitempty"` // The word's part of speech tag Value *string `protobuf:"bytes,3,opt,name=value" json:"value,omitempty"` // The word's 'value', (e.g., parse tree node) Category *string `protobuf:"bytes,4,opt,name=category" json:"category,omitempty"` // The word's 'category' (e.g., parse tree node) Before *string `protobuf:"bytes,5,opt,name=before" json:"before,omitempty"` // The whitespace/xml before the token After *string `protobuf:"bytes,6,opt,name=after" json:"after,omitempty"` // The whitespace/xml after the token OriginalText *string `protobuf:"bytes,7,opt,name=originalText" json:"originalText,omitempty"` // The original text for this token Ner *string `protobuf:"bytes,8,opt,name=ner" json:"ner,omitempty"` // The word's NER tag CoarseNER *string `protobuf:"bytes,62,opt,name=coarseNER" json:"coarseNER,omitempty"` // The word's coarse NER tag FineGrainedNER *string `protobuf:"bytes,63,opt,name=fineGrainedNER" json:"fineGrainedNER,omitempty"` // The word's fine-grained NER tag NerLabelProbs []string `protobuf:"bytes,66,rep,name=nerLabelProbs" json:"nerLabelProbs,omitempty"` // listing of probs NormalizedNER *string `protobuf:"bytes,9,opt,name=normalizedNER" json:"normalizedNER,omitempty"` // The word's normalized NER tag Lemma *string `protobuf:"bytes,10,opt,name=lemma" json:"lemma,omitempty"` // The word's lemma BeginChar *uint32 `protobuf:"varint,11,opt,name=beginChar" json:"beginChar,omitempty"` // The character offset begin, in the document EndChar *uint32 `protobuf:"varint,12,opt,name=endChar" json:"endChar,omitempty"` // The character offset end, in the document Utterance *uint32 `protobuf:"varint,13,opt,name=utterance" json:"utterance,omitempty"` // The utterance tag used in dcoref Speaker *string `protobuf:"bytes,14,opt,name=speaker" json:"speaker,omitempty"` // The speaker speaking this word SpeakerType *string `protobuf:"bytes,77,opt,name=speakerType" json:"speakerType,omitempty"` // The type of speaker speaking this word BeginIndex *uint32 `protobuf:"varint,15,opt,name=beginIndex" json:"beginIndex,omitempty"` // The begin index of, e.g., a span EndIndex *uint32 `protobuf:"varint,16,opt,name=endIndex" json:"endIndex,omitempty"` // The begin index of, e.g., a span TokenBeginIndex *uint32 `protobuf:"varint,17,opt,name=tokenBeginIndex" json:"tokenBeginIndex,omitempty"` // The begin index of the token TokenEndIndex *uint32 `protobuf:"varint,18,opt,name=tokenEndIndex" json:"tokenEndIndex,omitempty"` // The end index of the token TimexValue *Timex `protobuf:"bytes,19,opt,name=timexValue" json:"timexValue,omitempty"` // The time this word refers to HasXmlContext *bool `protobuf:"varint,21,opt,name=hasXmlContext" json:"hasXmlContext,omitempty"` // Used by clean xml annotator XmlContext []string `protobuf:"bytes,22,rep,name=xmlContext" json:"xmlContext,omitempty"` // Used by clean xml annotator CorefClusterID *uint32 `protobuf:"varint,23,opt,name=corefClusterID" json:"corefClusterID,omitempty"` // The [primary] cluster id for this token Answer *string `protobuf:"bytes,24,opt,name=answer" json:"answer,omitempty"` // A temporary annotation which is occasionally left in // optional string projectedCategory = 25; // The syntactic category of the maximal constituent headed by the word. Not used anywhere, so deleted. HeadWordIndex *uint32 `protobuf:"varint,26,opt,name=headWordIndex" json:"headWordIndex,omitempty"` // The index of the head word of this word. Operator *Operator `protobuf:"bytes,27,opt,name=operator" json:"operator,omitempty"` // If this is an operator, which one is it and what is its scope (as per Natural Logic)? Polarity *Polarity `protobuf:"bytes,28,opt,name=polarity" json:"polarity,omitempty"` // The polarity of this word, according to Natural Logic PolarityDir *string `protobuf:"bytes,39,opt,name=polarity_dir,json=polarityDir" json:"polarity_dir,omitempty"` // The polarity of this word, either "up", "down", or "flat" Span *Span `protobuf:"bytes,29,opt,name=span" json:"span,omitempty"` // The span of a leaf node of a tree Sentiment *string `protobuf:"bytes,30,opt,name=sentiment" json:"sentiment,omitempty"` // The final sentiment of the sentence QuotationIndex *int32 `protobuf:"varint,31,opt,name=quotationIndex" json:"quotationIndex,omitempty"` // The index of the quotation this token refers to ConllUFeatures *MapStringString `protobuf:"bytes,32,opt,name=conllUFeatures" json:"conllUFeatures,omitempty"` CoarseTag *string `protobuf:"bytes,33,opt,name=coarseTag" json:"coarseTag,omitempty"` // The coarse POS tag (used to store the UPOS tag) ConllUTokenSpan *Span `protobuf:"bytes,34,opt,name=conllUTokenSpan" json:"conllUTokenSpan,omitempty"` ConllUMisc *string `protobuf:"bytes,35,opt,name=conllUMisc" json:"conllUMisc,omitempty"` ConllUSecondaryDeps *MapStringString `protobuf:"bytes,36,opt,name=conllUSecondaryDeps" json:"conllUSecondaryDeps,omitempty"` WikipediaEntity *string `protobuf:"bytes,37,opt,name=wikipediaEntity" json:"wikipediaEntity,omitempty"` IsNewline *bool `protobuf:"varint,38,opt,name=isNewline" json:"isNewline,omitempty"` // Fields set by other annotators in CoreNLP Gender *string `protobuf:"bytes,51,opt,name=gender" json:"gender,omitempty"` // gender annotation (machine reading) TrueCase *string `protobuf:"bytes,52,opt,name=trueCase" json:"trueCase,omitempty"` // true case type of token TrueCaseText *string `protobuf:"bytes,53,opt,name=trueCaseText" json:"trueCaseText,omitempty"` // true case gloss of token // Chinese character info ChineseChar *string `protobuf:"bytes,54,opt,name=chineseChar" json:"chineseChar,omitempty"` ChineseSeg *string `protobuf:"bytes,55,opt,name=chineseSeg" json:"chineseSeg,omitempty"` ChineseXMLChar *string `protobuf:"bytes,60,opt,name=chineseXMLChar" json:"chineseXMLChar,omitempty"` // Arabic character info ArabicSeg *string `protobuf:"bytes,76,opt,name=arabicSeg" json:"arabicSeg,omitempty"` // Section info SectionName *string `protobuf:"bytes,56,opt,name=sectionName" json:"sectionName,omitempty"` SectionAuthor *string `protobuf:"bytes,57,opt,name=sectionAuthor" json:"sectionAuthor,omitempty"` SectionDate *string `protobuf:"bytes,58,opt,name=sectionDate" json:"sectionDate,omitempty"` SectionEndLabel *string `protobuf:"bytes,59,opt,name=sectionEndLabel" json:"sectionEndLabel,omitempty"` // French tokens have parents Parent *string `protobuf:"bytes,61,opt,name=parent" json:"parent,omitempty"` // mention index info CorefMentionIndex []uint32 `protobuf:"varint,64,rep,name=corefMentionIndex" json:"corefMentionIndex,omitempty"` EntityMentionIndex *uint32 `protobuf:"varint,65,opt,name=entityMentionIndex" json:"entityMentionIndex,omitempty"` // mwt stuff IsMWT *bool `protobuf:"varint,67,opt,name=isMWT" json:"isMWT,omitempty"` IsFirstMWT *bool `protobuf:"varint,68,opt,name=isFirstMWT" json:"isFirstMWT,omitempty"` MwtText *string `protobuf:"bytes,69,opt,name=mwtText" json:"mwtText,omitempty"` // number info NumericValue *uint64 `protobuf:"varint,70,opt,name=numericValue" json:"numericValue,omitempty"` NumericType *string `protobuf:"bytes,71,opt,name=numericType" json:"numericType,omitempty"` NumericCompositeValue *uint64 `protobuf:"varint,72,opt,name=numericCompositeValue" json:"numericCompositeValue,omitempty"` NumericCompositeType *string `protobuf:"bytes,73,opt,name=numericCompositeType" json:"numericCompositeType,omitempty"` CodepointOffsetBegin *uint32 `protobuf:"varint,74,opt,name=codepointOffsetBegin" json:"codepointOffsetBegin,omitempty"` CodepointOffsetEnd *uint32 `protobuf:"varint,75,opt,name=codepointOffsetEnd" json:"codepointOffsetEnd,omitempty"` // contains filtered or unexported fields }
The serialized version of a Token (a CoreLabel).
func (*Token) Descriptor
deprecated
func (*Token) ExtensionRangeArray
deprecated
func (*Token) ExtensionRangeArray() []protoiface.ExtensionRangeV1
Deprecated: Use Token.ProtoReflect.Descriptor.ExtensionRanges instead.
func (*Token) GetArabicSeg ¶
func (*Token) GetBeginChar ¶
func (*Token) GetBeginIndex ¶
func (*Token) GetCategory ¶
func (*Token) GetChineseChar ¶
func (*Token) GetChineseSeg ¶
func (*Token) GetChineseXMLChar ¶
func (*Token) GetCoarseNER ¶
func (*Token) GetCoarseTag ¶
func (*Token) GetCodepointOffsetBegin ¶
func (*Token) GetCodepointOffsetEnd ¶
func (*Token) GetConllUFeatures ¶
func (x *Token) GetConllUFeatures() *MapStringString
func (*Token) GetConllUMisc ¶
func (*Token) GetConllUSecondaryDeps ¶
func (x *Token) GetConllUSecondaryDeps() *MapStringString
func (*Token) GetConllUTokenSpan ¶
func (*Token) GetCorefClusterID ¶
func (*Token) GetCorefMentionIndex ¶
func (*Token) GetEndChar ¶
func (*Token) GetEndIndex ¶
func (*Token) GetEntityMentionIndex ¶
func (*Token) GetFineGrainedNER ¶
func (*Token) GetHasXmlContext ¶
func (*Token) GetHeadWordIndex ¶
func (*Token) GetIsFirstMWT ¶
func (*Token) GetIsNewline ¶
func (*Token) GetMwtText ¶
func (*Token) GetNerLabelProbs ¶
func (*Token) GetNormalizedNER ¶
func (*Token) GetNumericCompositeType ¶
func (*Token) GetNumericCompositeValue ¶
func (*Token) GetNumericType ¶
func (*Token) GetNumericValue ¶
func (*Token) GetOperator ¶
func (*Token) GetOriginalText ¶
func (*Token) GetPolarity ¶
func (*Token) GetPolarityDir ¶
func (*Token) GetQuotationIndex ¶
func (*Token) GetSectionAuthor ¶
func (*Token) GetSectionDate ¶
func (*Token) GetSectionEndLabel ¶
func (*Token) GetSectionName ¶
func (*Token) GetSentiment ¶
func (*Token) GetSpeaker ¶
func (*Token) GetSpeakerType ¶
func (*Token) GetTimexValue ¶
func (*Token) GetTokenBeginIndex ¶
func (*Token) GetTokenEndIndex ¶
func (*Token) GetTrueCase ¶
func (*Token) GetTrueCaseText ¶
func (*Token) GetUtterance ¶
func (*Token) GetWikipediaEntity ¶
func (*Token) GetXmlContext ¶
func (*Token) ProtoMessage ¶
func (*Token) ProtoMessage()
func (*Token) ProtoReflect ¶
func (x *Token) ProtoReflect() protoreflect.Message
type TokenLocation ¶
type TokenLocation struct { SentenceIndex *uint32 `protobuf:"varint,1,opt,name=sentenceIndex" json:"sentenceIndex,omitempty"` TokenIndex *uint32 `protobuf:"varint,2,opt,name=tokenIndex" json:"tokenIndex,omitempty"` // contains filtered or unexported fields }
The index of a token in a document, including the sentence index and the offset.
func (*TokenLocation) Descriptor
deprecated
func (*TokenLocation) Descriptor() ([]byte, []int)
Deprecated: Use TokenLocation.ProtoReflect.Descriptor instead.
func (*TokenLocation) GetSentenceIndex ¶
func (x *TokenLocation) GetSentenceIndex() uint32
func (*TokenLocation) GetTokenIndex ¶
func (x *TokenLocation) GetTokenIndex() uint32
func (*TokenLocation) ProtoMessage ¶
func (*TokenLocation) ProtoMessage()
func (*TokenLocation) ProtoReflect ¶
func (x *TokenLocation) ProtoReflect() protoreflect.Message
func (*TokenLocation) Reset ¶
func (x *TokenLocation) Reset()
func (*TokenLocation) String ¶
func (x *TokenLocation) String() string
type TokensRegexRequest ¶
type TokensRegexRequest struct { Doc *Document `protobuf:"bytes,1,req,name=doc" json:"doc,omitempty"` Pattern []string `protobuf:"bytes,2,rep,name=pattern" json:"pattern,omitempty"` // contains filtered or unexported fields }
It's possible to send in a whole document, but we only care about the Sentences and Tokens
func (*TokensRegexRequest) Descriptor
deprecated
func (*TokensRegexRequest) Descriptor() ([]byte, []int)
Deprecated: Use TokensRegexRequest.ProtoReflect.Descriptor instead.
func (*TokensRegexRequest) GetDoc ¶
func (x *TokensRegexRequest) GetDoc() *Document
func (*TokensRegexRequest) GetPattern ¶
func (x *TokensRegexRequest) GetPattern() []string
func (*TokensRegexRequest) ProtoMessage ¶
func (*TokensRegexRequest) ProtoMessage()
func (*TokensRegexRequest) ProtoReflect ¶
func (x *TokensRegexRequest) ProtoReflect() protoreflect.Message
func (*TokensRegexRequest) Reset ¶
func (x *TokensRegexRequest) Reset()
func (*TokensRegexRequest) String ¶
func (x *TokensRegexRequest) String() string
type TokensRegexResponse ¶
type TokensRegexResponse struct { Match []*TokensRegexResponse_PatternMatch `protobuf:"bytes,1,rep,name=match" json:"match,omitempty"` // contains filtered or unexported fields }
The result will be a nested structure: repeated PatternMatch, one for each pattern each PatternMatch has a repeated Match, which tells you which sentence matched and where
func (*TokensRegexResponse) Descriptor
deprecated
func (*TokensRegexResponse) Descriptor() ([]byte, []int)
Deprecated: Use TokensRegexResponse.ProtoReflect.Descriptor instead.
func (*TokensRegexResponse) GetMatch ¶
func (x *TokensRegexResponse) GetMatch() []*TokensRegexResponse_PatternMatch
func (*TokensRegexResponse) ProtoMessage ¶
func (*TokensRegexResponse) ProtoMessage()
func (*TokensRegexResponse) ProtoReflect ¶
func (x *TokensRegexResponse) ProtoReflect() protoreflect.Message
func (*TokensRegexResponse) Reset ¶
func (x *TokensRegexResponse) Reset()
func (*TokensRegexResponse) String ¶
func (x *TokensRegexResponse) String() string
type TokensRegexResponse_Match ¶
type TokensRegexResponse_Match struct { Sentence *int32 `protobuf:"varint,1,req,name=sentence" json:"sentence,omitempty"` Match *TokensRegexResponse_MatchLocation `protobuf:"bytes,2,req,name=match" json:"match,omitempty"` Group []*TokensRegexResponse_MatchLocation `protobuf:"bytes,3,rep,name=group" json:"group,omitempty"` // contains filtered or unexported fields }
func (*TokensRegexResponse_Match) Descriptor
deprecated
func (*TokensRegexResponse_Match) Descriptor() ([]byte, []int)
Deprecated: Use TokensRegexResponse_Match.ProtoReflect.Descriptor instead.
func (*TokensRegexResponse_Match) GetGroup ¶
func (x *TokensRegexResponse_Match) GetGroup() []*TokensRegexResponse_MatchLocation
func (*TokensRegexResponse_Match) GetMatch ¶
func (x *TokensRegexResponse_Match) GetMatch() *TokensRegexResponse_MatchLocation
func (*TokensRegexResponse_Match) GetSentence ¶
func (x *TokensRegexResponse_Match) GetSentence() int32
func (*TokensRegexResponse_Match) ProtoMessage ¶
func (*TokensRegexResponse_Match) ProtoMessage()
func (*TokensRegexResponse_Match) ProtoReflect ¶
func (x *TokensRegexResponse_Match) ProtoReflect() protoreflect.Message
func (*TokensRegexResponse_Match) Reset ¶
func (x *TokensRegexResponse_Match) Reset()
func (*TokensRegexResponse_Match) String ¶
func (x *TokensRegexResponse_Match) String() string
type TokensRegexResponse_MatchLocation ¶
type TokensRegexResponse_MatchLocation struct { Text *string `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"` Begin *int32 `protobuf:"varint,2,opt,name=begin" json:"begin,omitempty"` End *int32 `protobuf:"varint,3,opt,name=end" json:"end,omitempty"` // contains filtered or unexported fields }
func (*TokensRegexResponse_MatchLocation) Descriptor
deprecated
func (*TokensRegexResponse_MatchLocation) Descriptor() ([]byte, []int)
Deprecated: Use TokensRegexResponse_MatchLocation.ProtoReflect.Descriptor instead.
func (*TokensRegexResponse_MatchLocation) GetBegin ¶
func (x *TokensRegexResponse_MatchLocation) GetBegin() int32
func (*TokensRegexResponse_MatchLocation) GetEnd ¶
func (x *TokensRegexResponse_MatchLocation) GetEnd() int32
func (*TokensRegexResponse_MatchLocation) GetText ¶
func (x *TokensRegexResponse_MatchLocation) GetText() string
func (*TokensRegexResponse_MatchLocation) ProtoMessage ¶
func (*TokensRegexResponse_MatchLocation) ProtoMessage()
func (*TokensRegexResponse_MatchLocation) ProtoReflect ¶
func (x *TokensRegexResponse_MatchLocation) ProtoReflect() protoreflect.Message
func (*TokensRegexResponse_MatchLocation) Reset ¶
func (x *TokensRegexResponse_MatchLocation) Reset()
func (*TokensRegexResponse_MatchLocation) String ¶
func (x *TokensRegexResponse_MatchLocation) String() string
type TokensRegexResponse_PatternMatch ¶
type TokensRegexResponse_PatternMatch struct { Match []*TokensRegexResponse_Match `protobuf:"bytes,1,rep,name=match" json:"match,omitempty"` // contains filtered or unexported fields }
func (*TokensRegexResponse_PatternMatch) Descriptor
deprecated
func (*TokensRegexResponse_PatternMatch) Descriptor() ([]byte, []int)
Deprecated: Use TokensRegexResponse_PatternMatch.ProtoReflect.Descriptor instead.
func (*TokensRegexResponse_PatternMatch) GetMatch ¶
func (x *TokensRegexResponse_PatternMatch) GetMatch() []*TokensRegexResponse_Match
func (*TokensRegexResponse_PatternMatch) ProtoMessage ¶
func (*TokensRegexResponse_PatternMatch) ProtoMessage()
func (*TokensRegexResponse_PatternMatch) ProtoReflect ¶
func (x *TokensRegexResponse_PatternMatch) ProtoReflect() protoreflect.Message
func (*TokensRegexResponse_PatternMatch) Reset ¶
func (x *TokensRegexResponse_PatternMatch) Reset()
func (*TokensRegexResponse_PatternMatch) String ¶
func (x *TokensRegexResponse_PatternMatch) String() string
type TsurgeonRequest ¶
type TsurgeonRequest struct { Operations []*TsurgeonRequest_Operation `protobuf:"bytes,1,rep,name=operations" json:"operations,omitempty"` Trees []*FlattenedParseTree `protobuf:"bytes,2,rep,name=trees" json:"trees,omitempty"` // contains filtered or unexported fields }
A protobuf for running Tsurgeon operations on constituency trees
func (*TsurgeonRequest) Descriptor
deprecated
func (*TsurgeonRequest) Descriptor() ([]byte, []int)
Deprecated: Use TsurgeonRequest.ProtoReflect.Descriptor instead.
func (*TsurgeonRequest) GetOperations ¶
func (x *TsurgeonRequest) GetOperations() []*TsurgeonRequest_Operation
func (*TsurgeonRequest) GetTrees ¶
func (x *TsurgeonRequest) GetTrees() []*FlattenedParseTree
func (*TsurgeonRequest) ProtoMessage ¶
func (*TsurgeonRequest) ProtoMessage()
func (*TsurgeonRequest) ProtoReflect ¶
func (x *TsurgeonRequest) ProtoReflect() protoreflect.Message
func (*TsurgeonRequest) Reset ¶
func (x *TsurgeonRequest) Reset()
func (*TsurgeonRequest) String ¶
func (x *TsurgeonRequest) String() string
type TsurgeonRequest_Operation ¶
type TsurgeonRequest_Operation struct { Tregex *string `protobuf:"bytes,1,req,name=tregex" json:"tregex,omitempty"` Tsurgeon []string `protobuf:"bytes,2,rep,name=tsurgeon" json:"tsurgeon,omitempty"` // contains filtered or unexported fields }
func (*TsurgeonRequest_Operation) Descriptor
deprecated
func (*TsurgeonRequest_Operation) Descriptor() ([]byte, []int)
Deprecated: Use TsurgeonRequest_Operation.ProtoReflect.Descriptor instead.
func (*TsurgeonRequest_Operation) GetTregex ¶
func (x *TsurgeonRequest_Operation) GetTregex() string
func (*TsurgeonRequest_Operation) GetTsurgeon ¶
func (x *TsurgeonRequest_Operation) GetTsurgeon() []string
func (*TsurgeonRequest_Operation) ProtoMessage ¶
func (*TsurgeonRequest_Operation) ProtoMessage()
func (*TsurgeonRequest_Operation) ProtoReflect ¶
func (x *TsurgeonRequest_Operation) ProtoReflect() protoreflect.Message
func (*TsurgeonRequest_Operation) Reset ¶
func (x *TsurgeonRequest_Operation) Reset()
func (*TsurgeonRequest_Operation) String ¶
func (x *TsurgeonRequest_Operation) String() string
type TsurgeonResponse ¶
type TsurgeonResponse struct { Trees []*FlattenedParseTree `protobuf:"bytes,1,rep,name=trees" json:"trees,omitempty"` // contains filtered or unexported fields }
The results of the Tsurgeon operation
func (*TsurgeonResponse) Descriptor
deprecated
func (*TsurgeonResponse) Descriptor() ([]byte, []int)
Deprecated: Use TsurgeonResponse.ProtoReflect.Descriptor instead.
func (*TsurgeonResponse) GetTrees ¶
func (x *TsurgeonResponse) GetTrees() []*FlattenedParseTree
func (*TsurgeonResponse) ProtoMessage ¶
func (*TsurgeonResponse) ProtoMessage()
func (*TsurgeonResponse) ProtoReflect ¶
func (x *TsurgeonResponse) ProtoReflect() protoreflect.Message
func (*TsurgeonResponse) Reset ¶
func (x *TsurgeonResponse) Reset()
func (*TsurgeonResponse) String ¶
func (x *TsurgeonResponse) String() string