code: public static Type getType(TypeSystem typeSystem, String name)
        throws AnalysisEngineProcessException {
      Type type = typeSystem.getType(name);
  
      if (type == null) {
        throw new OpenNlpAnnotatorProcessException(
            ExceptionMessages.TYPE_NOT_FOUND,
            new Object[] {name});
      }
  
      return type;
    }
docs: Retrieves a type of the given name from the given type system.
  
  @param typeSystem
  @param name
  @return the type
  
  @throws AnalysisEngineProcessException