예제 #1
0
 protected void saveTermExtractionResult(
     Vertex artifactGraphVertex, TermExtractionResult termExtractionResult) {
   List<TermMentionWithGraphVertex> termMentionsResults =
       saveTermMentions(artifactGraphVertex, termExtractionResult.getTermMentions());
   saveRelationships(termExtractionResult.getRelationships(), termMentionsResults);
   saveVertexRelationships(termExtractionResult.getVertexRelationships(), termMentionsResults);
 }
예제 #2
0
 protected void saveTermExtractionResult(
     Vertex artifactGraphVertex,
     TermExtractionResult termExtractionResult,
     String workspaceId,
     String visibilitySource) {
   List<TermMentionWithGraphVertex> termMentionsResults =
       saveTermMentions(
           artifactGraphVertex,
           termExtractionResult.getTermMentions(),
           workspaceId,
           visibilitySource);
   saveRelationships(termExtractionResult.getRelationships(), termMentionsResults);
   saveVertexRelationships(termExtractionResult.getVertexRelationships(), termMentionsResults);
 }