thanks for your work. I had some issues with using the library and I finally figured out that the example in the readme is wrong.
In the readme rel_func is set to None with a comment that the default relevance function will be used.
Unfortunately, this is not true. If None is set, then no relevance function gets set in the constructor and the code crashes.
rel_func='default' would be the right choice just as in the example files.
Would be good to correct this, so other people do not get strange problems when trying to use the lib.
Hi guys,
thanks for your work. I had some issues with using the library and I finally figured out that the example in the readme is wrong.
In the readme
rel_func
is set toNone
with a comment that the default relevance function will be used. Unfortunately, this is not true. IfNone
is set, then no relevance function gets set in the constructor and the code crashes.rel_func='default'
would be the right choice just as in the example files.Would be good to correct this, so other people do not get strange problems when trying to use the lib.
Kind regards, Florian