Class RemoveLanguageTag
- java.lang.Object
-
- org.aksw.limes.core.io.preprocessing.APreprocessingFunction
-
- org.aksw.limes.core.io.preprocessing.functions.RemoveLanguageTag
-
- All Implemented Interfaces:
IPreprocessingFunction
public class RemoveLanguageTag extends APreprocessingFunction implements IPreprocessingFunction
Deletes everything after and including@Used to delete language tags so e.g.Ibuprofen@enwill becomeIbuprofen- Author:
- Daniel Obraczka
-
-
Field Summary
-
Fields inherited from class org.aksw.limes.core.io.preprocessing.APreprocessingFunction
AT, checkFunctionString, commaNotInsideQuotation
-
-
Constructor Summary
Constructors Constructor Description RemoveLanguageTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstanceapplyFunctionAfterCheck(Instance i, String property, String... arguments)intmaxNumberOfArguments()intminNumberOfArguments()-
Methods inherited from class org.aksw.limes.core.io.preprocessing.APreprocessingFunction
applyFunction, isComplex, retrieveArguments, retrieveKeywordArgumentValue, sanityCheckArguments, testIfNumberOfArgumentsIsLegal
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.aksw.limes.core.io.preprocessing.IPreprocessingFunction
applyFunction, isComplex
-
-
-
-
Method Detail
-
applyFunctionAfterCheck
public Instance applyFunctionAfterCheck(Instance i, String property, String... arguments)
- Specified by:
applyFunctionAfterCheckin classAPreprocessingFunction
-
minNumberOfArguments
public int minNumberOfArguments()
- Specified by:
minNumberOfArgumentsin interfaceIPreprocessingFunction
-
maxNumberOfArguments
public int maxNumberOfArguments()
- Specified by:
maxNumberOfArgumentsin interfaceIPreprocessingFunction
-
-