From 6bbfc9936576d4051ffa4fc11d4fd08689060f44 Mon Sep 17 00:00:00 2001 From: hanhxiao Date: Wed, 4 Sep 2019 12:03:34 +0800 Subject: [PATCH] refactor(score_fn): rename score functions --- gnes/score_fn/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnes/score_fn/__init__.py b/gnes/score_fn/__init__.py index 9bbcffbd..8dcd09bc 100644 --- a/gnes/score_fn/__init__.py +++ b/gnes/score_fn/__init__.py @@ -18,8 +18,8 @@ _cls2file_map = { 'BaseScoreFn': 'base', - 'ScoreCombinedFn': 'base', - 'ModifierFn': 'base', + 'CombinedScoreFn': 'base', + 'ModifierScoreFn': 'base', 'WeightedChunkScoreFn': 'chunk', 'WeightedDocScoreFn': 'doc', 'Normalizer1': 'normalize',