2018-10-02 10:37:54 +02:00
|
|
|
package eu.dnetlib.pace.config;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
import java.util.Map;
|
2023-06-16 09:41:11 +02:00
|
|
|
import java.util.regex.Pattern;
|
2018-10-02 10:37:54 +02:00
|
|
|
|
|
|
|
import eu.dnetlib.pace.model.ClusteringDef;
|
|
|
|
import eu.dnetlib.pace.model.FieldDef;
|
2019-08-09 10:08:34 +02:00
|
|
|
import eu.dnetlib.pace.tree.support.TreeNodeDef;
|
2018-10-02 10:37:54 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Interface for PACE configuration bean.
|
|
|
|
*
|
|
|
|
* @author claudio
|
|
|
|
*/
|
|
|
|
public interface Config {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Field configuration definitions.
|
|
|
|
*
|
|
|
|
* @return the list of definitions
|
|
|
|
*/
|
|
|
|
public List<FieldDef> model();
|
|
|
|
|
2019-08-09 15:41:49 +02:00
|
|
|
/**
|
|
|
|
* Decision Tree definition
|
|
|
|
*
|
|
|
|
* @return the map representing the decision tree
|
|
|
|
*/
|
2019-08-09 10:08:34 +02:00
|
|
|
public Map<String, TreeNodeDef> decisionTree();
|
|
|
|
|
2018-10-02 10:37:54 +02:00
|
|
|
/**
|
|
|
|
* Field configuration definitions.
|
|
|
|
*
|
|
|
|
* @return the list of definitions
|
|
|
|
*/
|
|
|
|
public Map<String, FieldDef> modelMap();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Clusterings.
|
|
|
|
*
|
|
|
|
* @return the list
|
|
|
|
*/
|
|
|
|
public List<ClusteringDef> clusterings();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Blacklists.
|
|
|
|
*
|
|
|
|
* @return the map
|
|
|
|
*/
|
2023-06-16 09:41:11 +02:00
|
|
|
public Map<String, List<Pattern>> blacklists();
|
2018-10-02 10:37:54 +02:00
|
|
|
|
2019-10-08 14:53:52 +02:00
|
|
|
|
2020-01-14 10:42:43 +01:00
|
|
|
/**
|
|
|
|
* Translation map.
|
|
|
|
*
|
|
|
|
* @return the map
|
|
|
|
* */
|
2019-10-08 14:53:52 +02:00
|
|
|
public Map<String, String> translationMap();
|
2018-10-02 10:37:54 +02:00
|
|
|
}
|