code: private POSModel loadModel(final String lang, final String modelName, final Boolean useModelCache) {
      final long lStartTime = new Date().getTime();
      POSModel model = null;
      try {
        if (useModelCache) {
          synchronized (posModels) {
            if (!posModels.containsKey(lang)) {
              model = new POSModel(new FileInputStream(modelName));
              posModels.put(lang, model);
            }
          }
        } else {
          model = new POSModel(new FileInputStream(modelName));
        }
      } catch (final IOException e) {
        e.printStackTrace();
      }
      final long lEndTime = new Date().getTime();
      final long difference = lEndTime - lStartTime;
      System.err.println("ixa-pipe-pos model loaded in: " + difference
          + " miliseconds ... [DONE]");
      return model;
    }
docs: Loads statically the probabilistic model. Every instance of this finder
  will share the same model.
  
  @param lang
  the language
  @param modelName
  the model to be loaded
  @param useModelCache
  whether to cache the model in memory
  @return the model as a {@link POSModel} object