/** * Create a document graph from the given jCas. * * @param jCas to create the document from * @return the document graph * @throws AnalysisEngineProcessException */ public Graph create(JCas jCas) throws AnalysisEngineProcessException { Graph graph = createTransformGraph(options.isMultiValueProperties()); load(jCas, graph, graph.features()); return graph; }
/** * Create a document graph from the given jCas. * * @param jCas to create the document from * @return the document graph * @throws AnalysisEngineProcessException */ public Graph create(JCas jCas) throws AnalysisEngineProcessException { Graph graph = createTransformGraph(options.isMultiValueProperties()); load(jCas, graph, graph.features()); return graph; }
/** * Create a document graph from the given jCas. * * @param jCas to create the document from * @param features to use for the graph * @return the document graph * @throws AnalysisEngineProcessException */ public Graph create(JCas jCas, Features features) throws AnalysisEngineProcessException { Graph graph = createTransformGraph(features.vertex().supportsMultiProperties()); load(jCas, graph, features); return graph; }
/** * Create a document graph from the given jCas. * * @param jCas to create the document from * @param features to use for the graph * @return the document graph * @throws AnalysisEngineProcessException */ public Graph create(JCas jCas, Features features) throws AnalysisEngineProcessException { Graph graph = createTransformGraph(features.vertex().supportsMultiProperties()); load(jCas, graph, features); return graph; }