src/main/java/eu/digitisation/output/ErrorMeasure.java
public static double wer(String s1, String s2) {
        MinimalPerfectHash mph = new MinimalPerfectHash(false); // case unsensitive  
        TokenArray a1 = new TokenArray(mph, s1);
        TokenArray a2 = new TokenArray(mph, s2);

        return wer(a1, a2);
    }
/**
     * Compute word error rate
     *
     * @param s1 reference text
     * @param s2 fuzzy text
     * @return word error rate with respect to first file
     */
Compute word error rate
@param s1 reference text
@param s2 fuzzy text
@return word error rate with respect to first file
Compute word error rate @param s1 reference text @param s2 fuzzy text @return word error rate with respect to first file
public static double wer(String s1, String s2) {
        MinimalPerfectHash mph = new MinimalPerfectHash(false); 
        TokenArray a1 = new TokenArray(mph, s1);
        TokenArray a2 = new TokenArray(mph, s2);
        return wer(a1, a2);
    }
public static double wer ( String s1 , String s2 ) { MinimalPerfectHash mph = new MinimalPerfectHash ( false ) ; TokenArray a1 = new TokenArray ( mph , s1 ) ; TokenArray a2 = new TokenArray ( mph , s2 ) ; return wer ( a1 , a2 ) ; }
Compute word error rate
 @param s1 reference text
 @param s2 fuzzy text
 @return word error rate with respect to first file
Compute word error rate @param s1 reference text @param s2 fuzzy text @return word error rate with respect to first file
// case unsensitive  