public Model createLinkWithType(String entityType, String[] otherTypes, String mention, int beginIndex, int endIndex,
String taIdentRef, String referenceContext) {
Optional<NIFContext> nifContext = buildContext(prefix, beginIndex, endIndex);
Optional<NIFMention> nifMention = new NIFMention.NIFMentionBuilder().init().mention(mention)
.beginIndex(beginIndex).endIndex(endIndex)
<BUG>.type(entityType).taIdentRef(taIdentRef).build();
return getModel(nifContext, nifMention);</BUG>
}
public Model createLinkWithScore(String mention, int beginIndex, int endIndex, String taIdentRef, double score,
String referenceContext) {

public Model createLinkWithType(String entityType, String[] otherTypes, String mention, int beginIndex, int endIndex,
String taIdentRef, String referenceContext) {
Optional<NIFContext> nifContext = buildContext(prefix, beginIndex, endIndex);
Optional<NIFMention> nifMention = new NIFMention.NIFMentionBuilder().init().mention(mention)
.beginIndex(beginIndex).endIndex(endIndex)
.type(entityType).taIdentRef(taIdentRef).referenceContext(referenceContext).build();
return getModel(nifContext, nifMention);
}
public Model createLinkWithScore(String mention, int beginIndex, int endIndex, String taIdentRef, double score,
String referenceContext) {
