Interface IEntityLinker

Namespace
NOpenNLP.Tools.Entitylinker
Assembly
NOpenNLP.Tools.dll

The non-generic base of IEntityLinker<T>, used to load and initialize an implementation whose span type is not known statically.

public interface IEntityLinker

Methods

Init(EntityLinkerProperties)

Allows for passing properties through the EntityLinkerFactory into all impls dynamically. IEntityLinker<T> impls should initialize reusable objects used by the impl in this method. If this is done, any errors will be captured and thrown by the EntityLinkerFactory.

void Init(EntityLinkerProperties initializationData)

Parameters

initializationData EntityLinkerProperties

The EntityLinkerProperties object that contains properties needed by the impl, as well as any other objects required for the impl.

Exceptions

IOException

Thrown if initialization fails.