private String removeQuotes( String word ) {
        if( word.length() <= 2 ) {
            return word;
        }
        word = word.replaceAll( "\\[\\[(.*?)\\]\\]", "$1" );
        char ch1 = word.charAt( 0 );
        char ch2 = word.charAt( word.length() - 1 );
        if( (ch1 == '\'' && ch2 == '\'') || (ch1 == '(' && ch2 == ')') ) {
            return removeQuotes( word.substring( 1, word.length() - 1 ) );
        }
        return word;
    }