Closed BilalKoteich closed 6 years ago
Hey there, have you recompiled your code once you added the new pre-processing function? Also the change you applied will be included in your local branch of LIMES only.
I imported the project in eclipse, I modified the code then i compiled the project. to add a new pre-processing function .. do i have to change something in other classes ?
There was recently a refactoring of the pre-processing package, to make it more modular. I would recommend using the new architecture. You can find this change in the dev branch.
To add a new pre-processing function you should do the following:
org.aksw.limes.core.preprocessing.functions
package), that extends APreprocessingFunction and implements IPreprocessingFunctionapplyFunctionAfterCheck
, this is where your function applies the changes to the appropriate propertyminNumberOfArguments
and maxNumberOfArguments
accordingly Just take a look at the other pre-processing classes and you will see this is all pretty straightforward
I use now the dev branch. Thank you ! :D
I tried to add a new "Pre-processing Function" in the class Preprocessor.java which replaces a set of special characters, but when i use it i get the following warning "Unknown preprocessing function", I added my function ("normalize") in the following code:
`public class Preprocessor {
...
do we have to add something in other classes?