src/main/java/eu/digitisation/distance/OcrOpWeight.java
@Override
    public int ins(char c) {
        if (ignorePunctuation) {
            return (Character.isSpaceChar(c) || Character.isLetterOrDigit(c))
                    ? 1 : 0;
        } else {
            return 1;
        }
    }
/**
     *
     * @param c a character
     * @return the cost of inserting a character c
     */
@param c a character
@return the cost of inserting a character c
@param c a character @return the cost of inserting a character c
@Override
    public int ins(char c) {
        if (ignorePunctuation) {
            return (Character.isSpaceChar(c) || Character.isLetterOrDigit(c))
                    ? 1 : 0;
        } else {
            return 1;
        }
    }
@ Override public int ins ( char c ) { if ( ignorePunctuation ) { return ( Character . isSpaceChar ( c ) || Character . isLetterOrDigit ( c ) ) ? 1 : 0 ; } else { return 1 ; } }
@param c a character
 @return the cost of inserting a character c
@param c a character @return the cost of inserting a character c