code: private void loadMorphoTaggerDicts(final Properties props) {
      final String resourcesDirectory = props.getProperty("resourcesDirectory");
      final Resources resources = new Resources();
      final URL binDictMorphoTaggerURL = resources.getBinaryTaggerDict(this.lang, resourcesDirectory);
      if (binDictMorphoTaggerURL == null) {
        final String resourcesLocation = resourcesDirectory == null ? "src/main/resources" : resourcesDirectory;
        System.err
            .println("ERROR: No binary POS tagger dictionary available for language "
                + this.lang + " in " + resourcesLocation + "!!");
        System.exit(1);
      }
      try {
        this.dictMorphoTagger = new MorfologikTagger(binDictMorphoTaggerURL,
            this.lang);
      } catch (final IOException e) {
        e.printStackTrace();
      }
    }
docs: Load the pos tagger dictionaries by language and format. Exits if no pos
  tagger dictionary (binary) is available for the input language.
  
  @param props
  the props object