public class DocumentFactorySync extends AbstractDocumentFactory
text, textAnalysis
Constructor and Description |
---|
DocumentFactorySync()
Constructor
|
Modifier and Type | Method and Description |
---|---|
TypedDependencyMode[] |
getSupportedModes()
Get supported typed dependency modes
|
boolean |
init(java.lang.String text)
Init processing
|
java.lang.String |
processText(java.lang.String text) |
getAnalysis, getArtifactCoreferences, getArtifactEntailments, getArtifactGrammaticalStructure, getArtifactNamedEntities, getArtifactParseTree, getArtifactSegmentation, getArtifactSemanticGraph, getArtifactSemanticGraphs, getArtifactSentiment, getArtifactTriples, getArtifactTypedDependencies, getCoreferences, getEntailments, getGrammaticalStructure, getNamedEntities, getParseTree, getPoses, getRelationDependents, getReport, getReports, getSemanticGraph, getSemanticGraphs, getSentenceCount, getSentences, getSentiment, getSupportedProviders, getText, getTextAnalysis, getTextAnalysis, getTextReport, getTextReports, getTokens, getTriples, getTypedDependencies, getTypedDependencies, getWords
public DocumentFactorySync() throws java.lang.Exception
java.lang.Exception
- exceptionpublic boolean init(java.lang.String text)
IDocumentFactory
init
in interface IDocumentFactory
init
in class AbstractDocumentFactory
text
- input textpublic TypedDependencyMode[] getSupportedModes() throws java.lang.RuntimeException
IDocumentFactoryService
getSupportedModes
in interface IDocumentFactoryService
getSupportedModes
in class AbstractDocumentFactory
java.lang.RuntimeException
public java.lang.String processText(java.lang.String text) throws java.lang.Exception
processText
in class AbstractDocumentFactory
java.lang.Exception