* @param matchingSet
* in which the matcher stores the match pairs
* @return the best leaf tree matcher
*/
public static TreeMatcher getMatcher(Set<NodePair> matchingSet) {
StringSimilarityCalculator leafCalc = new NGramsCalculator(2);
double lTh = 0.6;
// node string matching
StringSimilarityCalculator nodeStringCalc = leafCalc;
double nStTh = lTh;
// node matching
NodeSimilarityCalculator nodeCalc = new ChawatheCalculator();
nodeCalc.setLeafMatchSet(matchingSet);