From babf67663bcea96bc88364528e588290153ebfc9 Mon Sep 17 00:00:00 2001 From: Michele De Bonis Date: Thu, 20 Dec 2018 11:05:08 +0100 Subject: [PATCH] modification of the README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 43cac62..5b06bd6 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ The decision tree has to be defined into the json configuration. The field decis : the nodeName is the key, the treeNodeDef contains the definition of the node. In particular the TreeNodeDef contains: - - List : list of fields processed by the node. Each field is associated to: + - List of FieldConf : list of fields processed by the node. Each field is associated to: - field: name of the field - comparator: name of the comparator to use for that particular field, it produces a similarity score, -1 if the comparison is not possible (missing field or few informations). > Each FieldConf contains a comparator name which has to be defined. It is sufficient to implement the Comparator interface that exposes a "compare" method returning the similarity score. The new comparator must be annotated with @ComparatorClass("name") specifying the name used by the FieldConf to access to the right comparator.