code: public FgExampleList getData(LogLinearXYData data) {
          IntObjectBimap<String> alphabet = data.getFeatAlphabet();
          List<LogLinearExample> exList = data.getData();    
          if (this.alphabet == null) {
              this.alphabet = alphabet;
              this.stateNames = getStateNames(exList, data.getYAlphabet());
          }
          
          if (prm.cacheExamples) {
              FgExampleMemoryStore store = new FgExampleMemoryStore();
              for (final LogLinearExample desc : exList) {
                  LFgExample ex = getFgExample(desc);
                  store.add(ex);
              }
              return store;
          } else {
              return new FgExampleList() {
                  @Override
                  public LFgExample get(int i) {
                      return getFgExample(exList.get(i));
                  }
                  @Override
                  public int size() {
                      return exList.size();
                  }                
              };
          }
      }
docs: For testing only. Converts to the graphical model's representation of the data.