public boolean isSymbol(int c) {
        return Character.getType(c) == Character.OTHER_SYMBOL;
    }
Returns true if the character is in the class "other symbol" - emojis etc.
linguistics/src/main/java/com/yahoo/language/process/CharacterClasses.java