GrammarScope  4.0.0
Public Member Functions | Public Attributes | Static Private Attributes | List of all members
grammarscope.artifacts.AAnalysis Class Reference
Inheritance diagram for grammarscope.artifacts.AAnalysis:
Inheritance graph
[legend]
Collaboration diagram for grammarscope.artifacts.AAnalysis:
Collaboration graph
[legend]

Public Member Functions

 AAnalysis (final int sentenceId, final SentenceSegment segment, final String text, final List< WordSegment > wordSegments, final List< Token > tokens, final AParseTree tree, final AGrammaticalStructure grammaticalStructure, final Map< TypedDependencyProvider, Map< TypedDependencyMode, ATypedDependencies >> typedDependencies, final Map< TypedDependencyProvider, Map< TypedDependencyMode, ASemanticGraph >> semanticGraphs, final ANamedEntities namedEntities, final Sentiment sentiment, final List< Entailment > entailments, final List< Triple > triples)
 
ASemanticGraph getSemanticGraph (final TypedDependencyProvider provider, final TypedDependencyMode mode)
 

Public Attributes

final int sentenceId
 
final SentenceSegment segment
 
final List< WordSegmentwordSegments
 
final String text
 
final List< Tokentokens
 
final AParseTree parseTree
 
final AGrammaticalStructure grammaticalStructure
 
final Map< TypedDependencyProvider, Map< TypedDependencyMode, ATypedDependencies > > typedDependencies
 
final Map< TypedDependencyProvider, Map< TypedDependencyMode, ASemanticGraph > > semanticGraphs
 
final ANamedEntities namedEntities
 
final Sentiment sentiment
 
final List< Entailmententailments
 
final List< Tripletriples
 

Static Private Attributes

static final long serialVersionUID = -1804339913468456498L
 

Detailed Description

Utility class assembling input/parse/analysis results

Author
Bernard Bou

Constructor & Destructor Documentation

◆ AAnalysis()

grammarscope.artifacts.AAnalysis.AAnalysis ( final int  sentenceId,
final SentenceSegment  segment,
final String  text,
final List< WordSegment wordSegments,
final List< Token tokens,
final AParseTree  tree,
final AGrammaticalStructure  grammaticalStructure,
final Map< TypedDependencyProvider, Map< TypedDependencyMode, ATypedDependencies >>  typedDependencies,
final Map< TypedDependencyProvider, Map< TypedDependencyMode, ASemanticGraph >>  semanticGraphs,
final ANamedEntities  namedEntities,
final Sentiment  sentiment,
final List< Entailment entailments,
final List< Triple triples 
)

Constructor

Parameters
sentenceIdsentence id
segmentsegment
texttext
tokenstokens
treeparse tree parse tree
grammaticalStructuregrammatical structure
typedDependenciestyped dependencies
semanticGraphssemantic graphs
namedEntitiesnamed entities
sentimentsentiment
entailmentsentailments
triplestriples

Member Function Documentation

◆ getSemanticGraph()

ASemanticGraph grammarscope.artifacts.AAnalysis.getSemanticGraph ( final TypedDependencyProvider  provider,
final TypedDependencyMode  mode 
)

Member Data Documentation

◆ entailments

final List<Entailment> grammarscope.artifacts.AAnalysis.entailments

Entailments

◆ grammaticalStructure

final AGrammaticalStructure grammarscope.artifacts.AAnalysis.grammaticalStructure

Grammatical structure

◆ namedEntities

final ANamedEntities grammarscope.artifacts.AAnalysis.namedEntities

Named Entities

◆ parseTree

final AParseTree grammarscope.artifacts.AAnalysis.parseTree

Parse tree

◆ segment

final SentenceSegment grammarscope.artifacts.AAnalysis.segment

Sentence segment

◆ semanticGraphs

final Map<TypedDependencyProvider, Map<TypedDependencyMode, ASemanticGraph> > grammarscope.artifacts.AAnalysis.semanticGraphs

Semantic graphs

◆ sentenceId

final int grammarscope.artifacts.AAnalysis.sentenceId

Sentence Id

◆ sentiment

final Sentiment grammarscope.artifacts.AAnalysis.sentiment

Sentiment

◆ serialVersionUID

final long grammarscope.artifacts.AAnalysis.serialVersionUID = -1804339913468456498L
staticprivate

◆ text

final String grammarscope.artifacts.AAnalysis.text

Text

◆ tokens

final List<Token> grammarscope.artifacts.AAnalysis.tokens

Tokens

◆ triples

final List<Triple> grammarscope.artifacts.AAnalysis.triples

Relation triples

◆ typedDependencies

final Map<TypedDependencyProvider, Map<TypedDependencyMode, ATypedDependencies> > grammarscope.artifacts.AAnalysis.typedDependencies

Typed dependencies

◆ wordSegments

final List<WordSegment> grammarscope.artifacts.AAnalysis.wordSegments

Word segments


The documentation for this class was generated from the following file: