@SuppressWarnings("unchecked")
    public SUBCLASS setLanguage(Language language) {
        this.language = language != null ? language : Language.UNKNOWN;
        return (SUBCLASS)this;
    }
Sets the language of the text, or UNKNOWN to use language a independent invocation.
linguistics/src/main/java/com/yahoo/language/process/InvocationContext.java