On 10/04/13 14:54, Jörn Kottmann wrote:
On 04/10/2013 03:46 PM, William Colen wrote:
Here I store the dictionary as a text file and encoding the
dictionary is
part of the build process, so it is easy to update the dictionary.
Maybe we should create an API that supports multiple implementations, a
default implementation can use JWNL, which is already available. We can
create other implementations in the sandbox as optional packages.
What about using our dictionary package for this? Couldn't we extend
it somehow that different
dictionary implementations are supported?
Jörn
Assuming that I understood Jorn correctly, I've already suggested this
6-7 months ago. Personally I don't see any reason for having he
DictionaryNameFinder accept a single Dictionary object. It should be
accepting any number of Dictionaries which should fall under the same
interface of course... That way different dictionary implementations
will be supported transparently by the same name-finder and with minimal
modifications. In fact, this is how my personal openNLP build works...
Jim
ps: apologies if I've completely misunderstood what is being discussed...