@Override
        public boolean equals(Object o) {
            if (this == o) return true;
            if ( ! (o instanceof Gram gram)) return false;

            if (codePointCount != gram.codePointCount) return false;
            if (start != gram.start) return false;
            return true;
        }
Returns this gram as a string from the input string
linguistics/src/main/java/com/yahoo/language/process/GramSplitter.java