Class YasmeenMatcher
- java.lang.Object
-
- org.gcube.dataanalysis.executor.nodes.transducers.bionym.abstracts.YasmeenMatcher
-
- All Implemented Interfaces:
Matcher
- Direct Known Subclasses:
FuzzyMatcher,GsayMatcher,LevensteinMatcher,MixedLexicalMatcher,SoundexMatcher,TrigramMatcher
public abstract class YasmeenMatcher extends Object implements Matcher
-
-
Field Summary
Fields Modifier and Type Field Description static StringmatcherLibintmaxResultsHashMap<String,String>parametersprotected StringsandBoxFolderdoublethreshold
-
Constructor Summary
Constructors Constructor Description YasmeenMatcher(String sandboxfolder, double threshold, int maxResults, HashMap<String,String> parameters)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected static HashMap<String,String>createPerformanceMap()protected static HashMap<String,String>createReferenceMap()protected HashMap<String,String>createReferenceMapFile(String localFolder)protected abstract StringgetLexicalDistancesWeights()protected abstract StringgetMatchlets()protected abstract StringgetStemming()voidinit(String sandboxfolder, double threshold, int maxResults, HashMap<String,String> parameters)MatcherOutputmatch(MatcherInput inputName)
-
-
-
Method Detail
-
createReferenceMapFile
protected HashMap<String,String> createReferenceMapFile(String localFolder)
-
getMatchlets
protected abstract String getMatchlets()
-
getLexicalDistancesWeights
protected abstract String getLexicalDistancesWeights()
-
getStemming
protected abstract String getStemming()
-
init
public void init(String sandboxfolder, double threshold, int maxResults, HashMap<String,String> parameters)
-
match
public MatcherOutput match(MatcherInput inputName) throws Exception
-
-