uk.ac.ic.doc.automed.p2p.util.matcher
Class DictionaryMatcher

java.lang.Object
  extended by uk.ac.ic.doc.automed.p2p.util.matcher.TextMatcher
      extended by uk.ac.ic.doc.automed.p2p.util.matcher.DictionaryMatcher
All Implemented Interfaces:
StringMatcher

public class DictionaryMatcher
extends TextMatcher


Field Summary
private static DictionaryMatcher _instance
           
private  Dictionary dict
           
 
Constructor Summary
private DictionaryMatcher()
           
private DictionaryMatcher(java.lang.String dfile)
           
 
Method Summary
static DictionaryMatcher getInstance()
           
 int perform(java.lang.String s1, java.lang.String s2)
           
 
Methods inherited from class uk.ac.ic.doc.automed.p2p.util.matcher.TextMatcher
isCaseSensitive, main, match, match, matchHDMEdges, matchHDMNode2Edge, matchHDMNode2EdgeFullName, matchHDMNodes, setCaseSensitivity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dict

private Dictionary dict

_instance

private static DictionaryMatcher _instance
Constructor Detail

DictionaryMatcher

private DictionaryMatcher()

DictionaryMatcher

private DictionaryMatcher(java.lang.String dfile)
Method Detail

getInstance

public static DictionaryMatcher getInstance()

perform

public int perform(java.lang.String s1,
                   java.lang.String s2)
Specified by:
perform in interface StringMatcher
Overrides:
perform in class TextMatcher