Modifier and Type | Field and Description |
---|---|
private java.util.List<WordSegment> |
AbstractDocumentFactory.wordSegments
Word segments
|
java.util.List<WordSegment> |
AAnalysis.wordSegments
Word segments
|
Modifier and Type | Method and Description |
---|---|
private static java.util.List<WordSegment> |
AbstractDocumentFactory.flatten(java.util.List<java.util.List<WordSegment>> sentenceWordSegments)
Flatten hierarchical list of per-sentence word segments
|
java.util.List<WordSegment> |
AbstractDocumentFactory.getWords() |
Modifier and Type | Method and Description |
---|---|
private static java.util.List<WordSegment> |
AbstractDocumentFactory.flatten(java.util.List<java.util.List<WordSegment>> sentenceWordSegments)
Flatten hierarchical list of per-sentence word segments
|
private static java.util.List<SentenceSegment> |
AbstractDocumentFactory.groupToSentence(java.util.List<java.util.List<WordSegment>> sentenceWordSegments)
Make sentence segments and map : returns (list of segments, segment to list of words map)
|
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 | Field and Description |
---|---|
private java.util.List<WordSegment> |
SegmentedDocument.words
Words
|
Modifier and Type | Method and Description |
---|---|
java.util.List<WordSegment> |
SegmentedDocument.getWords() |
Modifier and Type | Field and Description |
---|---|
private java.util.List<WordSegment> |
GraphFactoryFromSemanticGraph.segmentation
Segmentation to use if absent on index word
|
private java.util.List<WordSegment> |
ASemanticGraphFactory.segmentation
Segmentation to use if absent on index word
|
private java.util.List<WordSegment> |
ATypedDependenciesFactory.segmentation
Segmentation to use if absent on index word
|
private java.util.List<WordSegment> |
AbstractDocumentFactory.wordSegments
Word segments
|
Modifier and Type | Method and Description |
---|---|
private static java.util.List<WordSegment> |
AbstractDocumentFactory.flatten(java.util.List<java.util.List<WordSegment>> sentenceWordSegments)
Flatten hierarchical list of per-sentence word segments
|
java.util.List<WordSegment> |
AbstractDocumentFactory.getWords() |
Modifier and Type | Method and Description |
---|---|
private static java.util.List<WordSegment> |
AbstractDocumentFactory.flatten(java.util.List<java.util.List<WordSegment>> sentenceWordSegments)
Flatten hierarchical list of per-sentence word segments
|
private static java.util.List<SentenceSegment> |
AbstractDocumentFactory.groupToSentence(java.util.List<java.util.List<WordSegment>> sentenceWordSegments)
Make sentence segments and map : returns (list of segments, segment to list of words map)
|
Constructor and Description |
---|
ASemanticGraphFactory(java.util.List<WordSegment> segmentation)
Constructor
|
ATypedDependenciesFactory(java.util.List<WordSegment> segmentation)
Constructor
|
GraphFactoryFromSemanticGraph(java.util.List<WordSegment> segmentation)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.util.List<WordSegment> |
DocumentFactory.getWords() |
Modifier and Type | Method and Description |
---|---|
java.util.List<WordSegment> |
IDocumentFactoryService.getWords()
Get words
|
Modifier and Type | Field and Description |
---|---|
protected java.util.List<java.util.List<WordSegment>> |
XMLDocument.segments
Sentence-indexed word segments
|
Modifier and Type | Method and Description |
---|---|
java.util.List<WordSegment> |
XMLDocumentFactory.getWords() |
Modifier and Type | Method and Description |
---|---|
private Token |
XMLDocument.makeToken(org.w3c.dom.Element tokenElement,
int sentenceIdx,
java.util.List<WordSegment> wordSegments,
java.lang.StringBuffer sb)
Make token from element
|
private java.util.Map<java.lang.Integer,Token> |
XMLDocument.makeTokens(org.w3c.dom.Element sentenceElement,
int sentenceIdx,
java.util.List<WordSegment> wordSegments,
java.lang.StringBuffer sb)
Make tokens from element
|
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 |
---|---|
java.util.List<WordSegment> |
NullDocumentFactory.getWords() |
Modifier and Type | Field and Description |
---|---|
java.util.List<WordSegment> |
BreadthAnalysis.wordSegments
Word segments
|
Modifier and Type | Method and Description |
---|---|
java.util.List<WordSegment> |
PipelineAnnotation.getWordSegments() |
java.util.List<WordSegment> |
DepthAnalysis.makeWords()
Make word segments
|
java.util.List<WordSegment> |
BreadthAnalysis.makeWords()
Make word segments
|
java.util.List<WordSegment> |
TextDepthAnalysis.makeWordSegments()
Make word segments
|
java.util.List<WordSegment> |
TextBreadthAnalysis.makeWordSegments()
Make word segments
|
private static java.util.List<WordSegment> |
Pipeline.makeWordSegments(java.util.List<java.lang.Integer> begins,
java.util.List<java.lang.Integer> ends)
Make word segments from positions
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
Pipeline.makeText(java.util.List<java.lang.String> tokens,
java.util.List<WordSegment> wordSegments)
Make text from tokens and segments
|
Modifier and Type | Method and Description |
---|---|
java.util.List<WordSegment> |
IPipelineAnnotation.getWordSegments()
Get word segments
|
Modifier and Type | Method and Description |
---|---|
static WordSegment |
SegmentationFactory.makeSegment(edu.stanford.nlp.ling.CoreLabel word)
Make word segment
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<WordSegment> |
SegmentationFactory.makeSegments(java.util.List<edu.stanford.nlp.ling.CoreLabel> words)
Make word segments
|