public class TermMentionUtils extends Object
| Constructor and Description |
|---|
TermMentionUtils(Graph graph,
VisibilityTranslator visibilityTranslator,
Authorizations authorizations,
User user) |
| Modifier and Type | Method and Description |
|---|---|
Vertex |
createTermMention(Vertex outVertex,
String propertyKey,
String propertyName,
String tmName,
String tmConceptType,
int tmStartOffset,
int tmEndOffset,
VisibilityJson visibilityJson) |
protected String |
mapToConceptType(String type) |
void |
removeHasDetectedEntityRelations(Vertex sourceVertex) |
List<Element> |
resolveTermMentions(Vertex outVertex,
List<Vertex> termMentions) |
public TermMentionUtils(Graph graph, VisibilityTranslator visibilityTranslator, Authorizations authorizations, User user)
public Vertex createTermMention(Vertex outVertex, String propertyKey, String propertyName, String tmName, String tmConceptType, int tmStartOffset, int tmEndOffset, VisibilityJson visibilityJson)
public List<Element> resolveTermMentions(Vertex outVertex, List<Vertex> termMentions)
public void removeHasDetectedEntityRelations(Vertex sourceVertex)
Copyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.