GrammarScope  4.0.0
Public Member Functions | List of all members
grammarscope.artifacts.ejb.client.parser.DocumentFactorySync Class Reference
Inheritance diagram for grammarscope.artifacts.ejb.client.parser.DocumentFactorySync:
Inheritance graph
[legend]
Collaboration diagram for grammarscope.artifacts.ejb.client.parser.DocumentFactorySync:
Collaboration graph
[legend]

Public Member Functions

 DocumentFactorySync () throws Exception
 
boolean init (final String text)
 
TypedDependencyMode[] getSupportedModes () throws RuntimeException
 
String processText (final String text) throws Exception
 
 DocumentFactorySync () throws Exception
 
boolean init (final String text)
 
TypedDependencyMode[] getSupportedModes () throws RuntimeException
 
String processText (final String text) throws Exception
 
- Public Member Functions inherited from grammarscope.artifacts.AbstractDocumentFactory
 AbstractDocumentFactory ()
 
TypedDependencyProvider[] getSupportedProviders () throws RuntimeException
 
String getText () throws RuntimeException
 
List< SentenceSegmentgetSentences () throws RuntimeException
 
int getSentenceCount () throws RuntimeException
 
List< WordSegmentgetWords () throws RuntimeException
 
List< TokengetTokens (final int sentenceIdx) throws RuntimeException
 
AParseTree getParseTree (final int sentenceIdx) throws RuntimeException
 
APartsOfSpeech getPoses (final int sentenceIdx) throws RuntimeException
 
AGrammaticalStructure getGrammaticalStructure (final int sentenceIdx) throws RuntimeException
 
ARelationDependents getRelationDependents (final int sentenceIdx) throws RuntimeException
 
ATypedDependencies getTypedDependencies (final int sentenceIdx, final TypedDependencyProvider provider, final TypedDependencyMode mode) throws RuntimeException
 
Map< TypedDependencyProvider, Map< TypedDependencyMode, ATypedDependencies > > getTypedDependencies (final int sentenceIdx) throws RuntimeException
 
ASemanticGraph getSemanticGraph (final int sentenceIdx, final TypedDependencyProvider provider, final TypedDependencyMode mode) throws RuntimeException
 
Map< TypedDependencyProvider, Map< TypedDependencyMode, ASemanticGraph > > getSemanticGraphs (final int sentenceIdx) throws RuntimeException
 
ANamedEntities getNamedEntities (final int sentenceIdx) throws RuntimeException
 
Sentiment getSentiment (final int sentenceIdx)
 
List< EntailmentgetEntailments (final int sentenceIdx)
 
List< TriplegetTriples (final int sentenceIdx)
 
ACoreferences getCoreferences () throws RuntimeException
 
ATextAnalysis getTextAnalysis (final TypedDependencyProvider provider, final TypedDependencyMode mode) throws RuntimeException
 
AAnalysis getAnalysis (final int sentenceIdx) throws RuntimeException
 
String[] getReports (final int sentenceIdx, final boolean xMLFlag) throws RuntimeException
 
String getReport (final int sentenceIdx, final boolean xMLFlag) throws RuntimeException
 
String getTextReport (final TypedDependencyProvider provider, final TypedDependencyMode mode, final boolean xMLModeFlag) throws RuntimeException
 
String[] getTextReports (final TypedDependencyProvider provider, final TypedDependencyMode mode, final boolean xMLModeFlag) throws RuntimeException
 
 AbstractDocumentFactory ()
 
TypedDependencyProvider[] getSupportedProviders () throws RuntimeException
 
String getText () throws RuntimeException
 
List< SentenceSegmentgetSentences () throws RuntimeException
 
int getSentenceCount () throws RuntimeException
 
List< WordSegmentgetWords () throws RuntimeException
 
List< TokengetTokens (final int sentenceIdx) throws RuntimeException
 
AParseTree getParseTree (final int sentenceIdx) throws RuntimeException
 
APartsOfSpeech getPoses (final int sentenceIdx) throws RuntimeException
 
AGrammaticalStructure getGrammaticalStructure (final int sentenceIdx) throws RuntimeException
 
ARelationDependents getRelationDependents (final int sentenceIdx) throws RuntimeException
 
ATypedDependencies getTypedDependencies (final int sentenceIdx, final TypedDependencyProvider provider, final TypedDependencyMode mode) throws RuntimeException
 
Map< TypedDependencyProvider, Map< TypedDependencyMode, ATypedDependencies > > getTypedDependencies (final int sentenceIdx) throws RuntimeException
 
ASemanticGraph getSemanticGraph (final int sentenceIdx, final TypedDependencyProvider provider, final TypedDependencyMode mode) throws RuntimeException
 
Map< TypedDependencyProvider, Map< TypedDependencyMode, ASemanticGraph > > getSemanticGraphs (final int sentenceIdx) throws RuntimeException
 
ANamedEntities getNamedEntities (final int sentenceIdx) throws RuntimeException
 
Sentiment getSentiment (final int sentenceIdx)
 
List< EntailmentgetEntailments (final int sentenceIdx)
 
List< TriplegetTriples (final int sentenceIdx)
 
ACoreferences getCoreferences () throws RuntimeException
 
ATextAnalysis getTextAnalysis (final TypedDependencyProvider provider, final TypedDependencyMode mode) throws RuntimeException
 
AAnalysis getAnalysis (final int sentenceIdx) throws RuntimeException
 
String[] getReports (final int sentenceIdx, final boolean xMLFlag) throws RuntimeException
 
String getReport (final int sentenceIdx, final boolean xMLFlag) throws RuntimeException
 
String getTextReport (final TypedDependencyProvider provider, final TypedDependencyMode mode, final boolean xMLModeFlag) throws RuntimeException
 
String[] getTextReports (final TypedDependencyProvider provider, final TypedDependencyMode mode, final boolean xMLModeFlag) throws RuntimeException
 

Additional Inherited Members

- Protected Member Functions inherited from grammarscope.artifacts.AbstractDocumentFactory
ATextAnalysis getTextAnalysis ()
 
Segmentation getArtifactSegmentation () throws RuntimeException
 
AParseTree getArtifactParseTree (final int sentenceIdx) throws RuntimeException
 
AGrammaticalStructure getArtifactGrammaticalStructure (final int sentenceIdx) throws RuntimeException
 
ATypedDependencies getArtifactTypedDependencies (final int sentenceIdx, final TypedDependencyProvider provider, final TypedDependencyMode mode) throws RuntimeException
 
Map< TypedDependencyMode, ATypedDependenciesgetArtifactTypedDependencies (final int sentenceIdx, final TypedDependencyProvider provider) throws RuntimeException
 
ASemanticGraph getArtifactSemanticGraph (final int sentenceIdx, final TypedDependencyProvider provider, final TypedDependencyMode mode) throws RuntimeException
 
Map< TypedDependencyProvider, Map< TypedDependencyMode, ASemanticGraph > > getArtifactSemanticGraphs (final int sentenceIdx) throws RuntimeException
 
ANamedEntities getArtifactNamedEntities (final int sentenceIdx) throws RuntimeException
 
Sentiment getArtifactSentiment (final int sentenceIdx) throws RuntimeException
 
List< EntailmentgetArtifactEntailments (final int sentenceIdx)
 
List< TriplegetArtifactTriples (final int sentenceIdx)
 
ACoreferences getArtifactCoreferences () throws RuntimeException
 
ATextAnalysis getTextAnalysis ()
 
Segmentation getArtifactSegmentation () throws RuntimeException
 
AParseTree getArtifactParseTree (final int sentenceIdx) throws RuntimeException
 
AGrammaticalStructure getArtifactGrammaticalStructure (final int sentenceIdx) throws RuntimeException
 
ATypedDependencies getArtifactTypedDependencies (final int sentenceIdx, final TypedDependencyProvider provider, final TypedDependencyMode mode) throws RuntimeException
 
ASemanticGraph getArtifactSemanticGraph (final int sentenceIdx, final TypedDependencyProvider provider, final TypedDependencyMode mode) throws RuntimeException
 
Map< TypedDependencyProvider, Map< TypedDependencyMode, ASemanticGraph > > getArtifactSemanticGraphs (final int sentenceIdx) throws RuntimeException
 
ANamedEntities getArtifactNamedEntities (final int sentenceIdx) throws RuntimeException
 
Sentiment getArtifactSentiment (final int sentenceIdx) throws RuntimeException
 
List< EntailmentgetArtifactEntailments (final int sentenceIdx)
 
List< TriplegetArtifactTriples (final int sentenceIdx)
 
ACoreferences getArtifactCoreferences () throws RuntimeException
 
- Protected Attributes inherited from grammarscope.artifacts.AbstractDocumentFactory
ATextAnalysis textAnalysis
 
String text
 
- Static Package Attributes inherited from grammarscope.artifacts.AbstractDocumentFactory
static XMLPrinter xMLPrinter = new XMLPrinterGrammarScope()
 

Detailed Description

Document factory implementation as Stanford Parser EJB client

Author
Bernard Bou

Constructor & Destructor Documentation

◆ DocumentFactorySync() [1/2]

grammarscope.artifacts.ejb.client.parser.DocumentFactorySync.DocumentFactorySync ( ) throws Exception

Constructor

Exceptions
Exceptionexception

◆ DocumentFactorySync() [2/2]

grammarscope.artifacts.ejb.client.parser.DocumentFactorySync.DocumentFactorySync ( ) throws Exception

Constructor

Exceptions
Exceptionexception

Member Function Documentation

◆ getSupportedModes() [1/2]

TypedDependencyMode [] grammarscope.artifacts.ejb.client.parser.DocumentFactorySync.getSupportedModes ( ) throws RuntimeException

Get supported typed dependency modes

Returns
array of supported typed dependency modes

Reimplemented from grammarscope.artifacts.AbstractDocumentFactory.

◆ getSupportedModes() [2/2]

TypedDependencyMode [] grammarscope.artifacts.ejb.client.parser.DocumentFactorySync.getSupportedModes ( ) throws RuntimeException

Get supported typed dependency modes

Returns
array of supported typed dependency modes

Reimplemented from grammarscope.artifacts.AbstractDocumentFactory.

◆ init() [1/2]

boolean grammarscope.artifacts.ejb.client.parser.DocumentFactorySync.init ( final String  text)

Init processing

Parameters
textinput text
Returns
true if successful

Reimplemented from grammarscope.artifacts.AbstractDocumentFactory.

◆ init() [2/2]

boolean grammarscope.artifacts.ejb.client.parser.DocumentFactorySync.init ( final String  text)

Init processing

Parameters
textinput text
Returns
true if successful

Reimplemented from grammarscope.artifacts.AbstractDocumentFactory.

◆ processText() [1/2]

String grammarscope.artifacts.ejb.client.parser.DocumentFactorySync.processText ( final String  text) throws Exception

◆ processText() [2/2]

String grammarscope.artifacts.ejb.client.parser.DocumentFactorySync.processText ( final String  text) throws Exception

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