docs: public static int lookup(String text, int filter) {
          int type = UNKNOWN;
  
          if (LOOKUP.containsKey(text)) {
              type = LOOKUP.get(text);
              if (filter != UNKNOWN && !ofType(type, filter)) {
                  type = UNKNOWN;
              }
          }
  
          return type;
      }