private double getCustomScore(String token1, String token2, int minNumTokens){
        
        try{  
           int t1 = Integer.parseInt(token1);
           int t2 = Integer.parseInt(token2);
           
           if(t1 != t2){
               return 2;
           }
           else{
               return 1;
           }
        }  
        catch(Exception e){  
            if(((token1.length() == 1 && token2.charAt(0) == token1.charAt(0)) || 
                    (token2.length() == 1 && token1.charAt(0) == token2.charAt(0))) &&
                    minNumTokens > 2){
                     return 1;
                 }
                 else if(token1.length() == token2.length() && soundex(token1, token2) == 1){
                     return 1;
                 }
                 else{
                     return levenstein(token1, token2);
                 }
        }  
    }