public class DocumentFactoryAsync extends AbstractDocumentFactory
text, textAnalysis| Constructor and Description |
|---|
DocumentFactoryAsync()
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, getWordspublic DocumentFactoryAsync()
throws java.lang.Exception
java.lang.Exception - exceptionpublic boolean init(java.lang.String text)
IDocumentFactoryinit in interface IDocumentFactoryinit in class AbstractDocumentFactorytext - input textpublic TypedDependencyMode[] getSupportedModes() throws java.lang.RuntimeException
IDocumentFactoryServicegetSupportedModes in interface IDocumentFactoryServicegetSupportedModes in class AbstractDocumentFactoryjava.lang.RuntimeExceptionpublic java.lang.String processText(java.lang.String text)
throws java.lang.Exception
processText in class AbstractDocumentFactoryjava.lang.Exception