Hi all,
the EntityLinker is created by the EntityLinkerFactory, and that one
requires an
EntityLinkerProperties object, which defines the EntityLinker instance
that is supposed
to be created.
The EntityLinkerProperties object can only be created from a file, I
suggest that we
extend this so it can be created from an InputStream as well, similar
how it is possible
with our other models (can be created form InputStream, File and URL).
Additionally I propose that we only have one method to create one
EntityLinker at a time which as the only
parameter takes the properties file, all the settings can be stored
inside it. That would make it
easier for me to integrate the EntityLinker, because all that is needed
to create it is the properties
file and no further configuration parameters.
For example:
EntityLinker createEntityLinker(EntityLinkerProperties) throws IOException
Is there a good reason to create multiple EntityLinkers with the same call?
Any opinions?
Jörn