![]() |
GrammarScope
4.0.0
|
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< WordSegment > | wordSegments |
final String | text |
final List< Token > | tokens |
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< Entailment > | entailments |
final List< Triple > | triples |
Static Private Attributes | |
static final long | serialVersionUID = -1804339913468456498L |
Utility class assembling input/parse/analysis results
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
sentenceId | sentence id |
segment | segment |
text | text |
tokens | tokens |
tree | parse tree parse tree |
grammaticalStructure | grammatical structure |
typedDependencies | typed dependencies |
semanticGraphs | semantic graphs |
namedEntities | named entities |
sentiment | sentiment |
entailments | entailments |
triples | triples |
ASemanticGraph grammarscope.artifacts.AAnalysis.getSemanticGraph | ( | final TypedDependencyProvider | provider, |
final TypedDependencyMode | mode | ||
) |
final List<Entailment> grammarscope.artifacts.AAnalysis.entailments |
Entailments
final AGrammaticalStructure grammarscope.artifacts.AAnalysis.grammaticalStructure |
Grammatical structure
final ANamedEntities grammarscope.artifacts.AAnalysis.namedEntities |
Named Entities
final AParseTree grammarscope.artifacts.AAnalysis.parseTree |
Parse tree
final SentenceSegment grammarscope.artifacts.AAnalysis.segment |
Sentence segment
final Map<TypedDependencyProvider, Map<TypedDependencyMode, ASemanticGraph> > grammarscope.artifacts.AAnalysis.semanticGraphs |
Semantic graphs
final int grammarscope.artifacts.AAnalysis.sentenceId |
Sentence Id
final Sentiment grammarscope.artifacts.AAnalysis.sentiment |
Sentiment
|
staticprivate |
final String grammarscope.artifacts.AAnalysis.text |
Text
final List<Token> grammarscope.artifacts.AAnalysis.tokens |
Tokens
final List<Triple> grammarscope.artifacts.AAnalysis.triples |
Relation triples
final Map<TypedDependencyProvider, Map<TypedDependencyMode, ATypedDependencies> > grammarscope.artifacts.AAnalysis.typedDependencies |
Typed dependencies
final List<WordSegment> grammarscope.artifacts.AAnalysis.wordSegments |
Word segments