private boolean isIndexable(int codepoint) {
            if (characterClasses.isLetterOrDigit(codepoint)) return true;
            if (characterClasses.isSymbol(codepoint)) return true;
            return false;
        }
The next gram or null if not determined yet
linguistics/src/main/java/com/yahoo/language/process/GramSplitter.java