public DataBase generate(int i, String type) {
        // look up the linguistic type from defined fuzzy sets for each contextual type
        String result = ruleBase.lookup(i, type);
        dataBase = new DataBase(i, type, result);
        
        return dataBase;
    }