Modifier and Type | Field and Description |
---|---|
Sentiment |
AAnalysis.sentiment
Sentiment
|
Modifier and Type | Method and Description |
---|---|
protected Sentiment |
AbstractDocumentFactory.getArtifactSentiment(int sentenceIdx)
Get sentiment
|
Sentiment |
AbstractDocumentFactory.getSentiment(int sentenceIdx) |
Modifier and Type | Method and Description |
---|---|
private static java.lang.String |
AbstractDocumentFactory.sentimentToString(Sentiment sentiment,
boolean isXml)
Sentiment to string
|
Constructor and Description |
---|
AAnalysis(int sentenceId,
SentenceSegment segment,
java.lang.String text,
java.util.List<WordSegment> wordSegments,
java.util.List<Token> tokens,
AParseTree tree,
AGrammaticalStructure grammaticalStructure,
java.util.Map<TypedDependencyProvider,java.util.Map<TypedDependencyMode,ATypedDependencies>> typedDependencies,
java.util.Map<TypedDependencyProvider,java.util.Map<TypedDependencyMode,ASemanticGraph>> semanticGraphs,
ANamedEntities namedEntities,
Sentiment sentiment,
java.util.List<Entailment> entailments,
java.util.List<Triple> triples)
Constructor
|
Modifier and Type | Method and Description |
---|---|
private static javax.swing.JComponent |
AnalysisDialog.makeSentimentWidget(Sentiment sentiment)
Make sentiment widget
|
void |
AnalysisDialog.set(java.lang.String text,
AParseTree aParseTree,
AGrammaticalStructure aGrammaticalStructure,
ASemanticGraph semanticGraph,
ANamedEntities namedEntities,
Sentiment sentiment,
java.util.List<Entailment> entailments,
java.util.List<Triple> triples,
boolean lemmatize)
Set data
|
Constructor and Description |
---|
Decorator(Sentiment sentiment)
Constructor
|
Modifier and Type | Field and Description |
---|---|
private Document.MapCache<java.lang.Integer,Sentiment> |
Document.sentiments
Sentiment
|
Modifier and Type | Method and Description |
---|---|
Sentiment |
Document.getSentiment(int sentenceIdx) |
Modifier and Type | Method and Description |
---|---|
protected Sentiment |
DocumentFactory.getStanfordSentiment(int sentenceIdx) |
Modifier and Type | Method and Description |
---|---|
protected Sentiment |
DocumentFactory.getStanfordSentiment(int sentenceIdx) |
Modifier and Type | Method and Description |
---|---|
Sentiment |
AbstractDocumentFactory.getSentiment(int sentenceIdx) |
protected abstract Sentiment |
AbstractDocumentFactory.getStanfordSentiment(int sentenceIdx)
Get sentiment
|
Modifier and Type | Method and Description |
---|---|
private static java.lang.String |
AbstractDocumentFactory.sentimentToString(Sentiment sentiment,
boolean isXml)
Sentiment to string
|
Modifier and Type | Method and Description |
---|---|
protected Sentiment |
DocumentFactory.getStanfordSentiment(int sentenceIdx) |
Modifier and Type | Method and Description |
---|---|
protected Sentiment |
DocumentFactory.getStanfordSentiment(int sentenceIdx) |
Modifier and Type | Method and Description |
---|---|
Sentiment |
IDocumentFactoryService.getSentiment(int sentenceIdx)
Get sentiment
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
AnalysisPrinter.getReport(int sentenceIdx,
java.lang.String text,
SentenceSegment sentenceSegment,
java.util.Map<java.lang.Integer,Token> tokens,
AParseTree parseTree,
AGrammaticalStructure grammaticalStructure,
java.util.Map<TypedDependencyProvider,java.util.Map<TypedDependencyMode,ATypedDependencies>> typedDependencies,
java.util.Map<TypedDependencyProvider,java.util.Map<TypedDependencyMode,ASemanticGraph>> semanticGraph,
ANamedEntities namedEntities,
Sentiment sentiment,
java.util.List<Entailment> entailments,
java.util.List<Triple> triples,
boolean xMLFlag)
Report
|
static java.lang.String[] |
AnalysisPrinter.getReports(int sentenceIdx,
java.lang.String text,
SentenceSegment sentenceSegment,
java.util.List<Token> tokens,
AParseTree parseTree,
AGrammaticalStructure grammaticalStructure,
java.util.Map<TypedDependencyProvider,java.util.Map<TypedDependencyMode,ATypedDependencies>> typedDependencies,
java.util.Map<TypedDependencyProvider,java.util.Map<TypedDependencyMode,ASemanticGraph>> semanticGraph,
ANamedEntities namedEntities,
Sentiment sentiment,
java.util.List<Entailment> entailments,
java.util.List<Triple> triples,
boolean xMLFlag)
Split reports
|
static java.lang.String |
Printer.sentimentToString(Sentiment sentiment)
Sentiment to string
|
private static java.lang.String |
AnalysisPrinter.sentimentToString(Sentiment sentiment,
boolean xMLFlag)
Named entities to string
|
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.Integer,Sentiment> |
XMLDocument.sentiments
Sentiments
|
Modifier and Type | Method and Description |
---|---|
Sentiment |
XMLDocumentFactory.getSentiment(int sentenceIdx) |
private Sentiment |
XMLDocument.makeSentiment(org.w3c.dom.Element sentenceElement)
Make sentiment
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
XMLPrinter.sentimentToXMLString(Sentiment sentiment)
Sentiment to string
|
Modifier and Type | Method and Description |
---|---|
private void |
XMLDocument.processSentences(org.w3c.dom.Element sentencesElement,
java.lang.StringBuffer textBuilder,
java.util.List<java.util.List<WordSegment>> segments,
java.util.Map<java.lang.Integer,AParseTree> parseTrees,
java.util.Map<java.lang.Integer,AGrammaticalStructure> grammaticalStructures,
java.util.Map<java.lang.Integer,java.util.Map<TypedDependencyProvider,java.util.Map<TypedDependencyMode,ATypedDependencies>>> typedDependencies,
java.util.Map<java.lang.Integer,java.util.Map<TypedDependencyProvider,java.util.Map<TypedDependencyMode,ASemanticGraph>>> semanticGraphs,
java.util.Map<java.lang.Integer,Sentiment> sentiments,
java.util.Map<java.lang.Integer,java.util.List<Entailment>> entailments,
java.util.Map<java.lang.Integer,java.util.List<Triple>> triples)
Process sentence
|
Modifier and Type | Method and Description |
---|---|
Sentiment |
NullDocumentFactory.getSentiment(int sentenceIdx) |
Modifier and Type | Field and Description |
---|---|
Sentiment |
DepthAnalysis.sentiment
Sentiment
|
Sentiment |
BreadthAnalysis.sentiment
Sentiment
|
Modifier and Type | Method and Description |
---|---|
Sentiment |
PipelineAnnotation.getSentiment(int sentenceIdx) |
(package private) static Sentiment |
SentimentFactory.make(edu.stanford.nlp.util.CoreMap sentenceMap) |
Modifier and Type | Method and Description |
---|---|
Sentiment |
IPipelineAnnotation.getSentiment(int sentenceIdx)
Get named entities
|
Modifier and Type | Field and Description |
---|---|
Sentiment |
Analysis.sentiment
Sentence's sentiment
|
Constructor and Description |
---|
Analysis(java.lang.String text,
SentenceSegment segment,
java.util.List<Token> tokens,
edu.stanford.nlp.trees.Tree parseTree,
edu.stanford.nlp.trees.GrammaticalStructure grammaticalStructure,
java.util.Map<TypedDependencyMode,java.util.Collection<edu.stanford.nlp.trees.TypedDependency>> typedDependencies,
java.util.Map<TypedDependencyMode,java.util.Collection<edu.stanford.nlp.trees.TypedDependency>> typedDependencies2,
java.util.Map<TypedDependencyMode,edu.stanford.nlp.semgraph.SemanticGraph> semanticGraphs,
java.util.Map<TypedDependencyMode,edu.stanford.nlp.semgraph.SemanticGraph> semanticGraphs2,
java.util.List<NamedEntity> namedEntities,
Sentiment sentiment,
java.util.List<Entailment> entailments,
java.util.List<Triple> triples)
Constructor
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
Printer.sentimentToString(Sentiment sentiment)
Sentiment to string
|
Modifier and Type | Method and Description |
---|---|
void |
AnalysisWriter.serialize(java.lang.String text,
SentenceSegment segment,
java.util.List<Token> tokens,
edu.stanford.nlp.trees.Tree parseTree,
edu.stanford.nlp.trees.GrammaticalStructure grammaticalStructure,
java.util.Map<TypedDependencyMode,java.util.Collection<edu.stanford.nlp.trees.TypedDependency>> typedDependencies,
java.util.Map<TypedDependencyMode,java.util.Collection<edu.stanford.nlp.trees.TypedDependency>> typedDependencies2,
java.util.Map<TypedDependencyMode,edu.stanford.nlp.semgraph.SemanticGraph> semanticGraphs,
java.util.Map<TypedDependencyMode,edu.stanford.nlp.semgraph.SemanticGraph> semanticGraphs2,
java.util.List<NamedEntity> namedEntities,
Sentiment sentiment,
java.util.List<Entailment> entailments,
java.util.List<Triple> relationTriples)
Serialize data
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
XMLPrinter.sentimentToXMLString(Sentiment sentiment)
Sentiment to string
|