private void loadLemmatizerDicts(final Properties props) {
    final String resourcesDirectory = props.getProperty("resourcesDirectory");
    final Resources resources = new Resources();
    final URL binLemmatizerURL = resources.getBinaryDict(this.lang, resourcesDirectory);
    if (binLemmatizerURL == null) {
      final String resourcesLocation = resourcesDirectory == null ? "src/main/resources" : resourcesDirectory;
      System.err
          .println("WARNING: No lemmatizer dictionary available for language "
              + this.lang + " in " + resourcesLocation + "!");
    } else {
      try {
        this.dictLemmatizer = new MorfologikLemmatizer(binLemmatizerURL);
      } catch (final IOException e) {
        e.printStackTrace();
      }
    }

  }
private void loadLemmatizerDicts ( final Properties props ) { final String resourcesDirectory = props . getProperty ( "resourcesDirectory" ) ; final Resources resources = new Resources ( ) ; final URL binLemmatizerURL = resources . getBinaryDict ( this . lang , resourcesDirectory ) ; if ( binLemmatizerURL == null ) { final String resourcesLocation = resourcesDirectory == null ? "src/main/resources" : resourcesDirectory ; System . err . println ( "WARNING: No lemmatizer dictionary available for language " + this . lang + " in " + resourcesLocation + "!" ) ; } else { try { this . dictLemmatizer = new MorfologikLemmatizer ( binLemmatizerURL ) ; } catch ( final IOException e ) { e . printStackTrace ( ) ; } } }
Load the binary lemmatizer dictionaries by language. Exits if no lemmatizer
dictionary (binary) is available for the input language.

@param props
the props object