From db44bff21af3d9dcd5004ce71423266af8781f13 Mon Sep 17 00:00:00 2001 From: Alexander Date: Fri, 10 May 2024 14:31:45 +0200 Subject: [PATCH] Fixed bug where the preprocessing functions did not work based on uppercase or lowercase names --- .../core/io/preprocessing/PreprocessingFunctionFactory.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/limes-core/src/main/java/org/aksw/limes/core/io/preprocessing/PreprocessingFunctionFactory.java b/limes-core/src/main/java/org/aksw/limes/core/io/preprocessing/PreprocessingFunctionFactory.java index 987f52c22..fa2100f78 100644 --- a/limes-core/src/main/java/org/aksw/limes/core/io/preprocessing/PreprocessingFunctionFactory.java +++ b/limes-core/src/main/java/org/aksw/limes/core/io/preprocessing/PreprocessingFunctionFactory.java @@ -44,10 +44,10 @@ public class PreprocessingFunctionFactory { public static final String REMOVE_NON_ALPHANUMERIC = "regularalphabet"; public static final String URI_AS_STRING = "uriasstring"; public static final String SPLIT = "split"; - public static final String TO_WKT_POINT = "toWktPoint"; + public static final String TO_WKT_POINT = "towktpoint"; //toWktPoint public static PreprocessingFunctionType getPreprocessingType(String expression){ - switch(expression.trim()){ + switch(expression.trim().toLowerCase()){ case(CLEAN_IRI): return PreprocessingFunctionType.CLEAN_IRI; case(CLEAN_NUMBER):