Examples of initConfig()


Examples of org.apache.uima.conceptMapper.support.tokens.TokenFilter.initConfig()

      // open input stream to data
      dictStream = dictLoader.getInputStream();

      TokenFilter tokenFilter = new TokenFilter(tokenAnnotationName, tokenTypeFeatureName,
              tokenClassFeatureName, logger);
      tokenFilter.initConfig(aContext);

      String langID = (String) aContext.getConfigParameterValue(PARAM_LANGID);
      if ((langID == null) || (langID == ""))
      {
        langID = DEFAULT_LANGID;
View Full Code Here

Examples of org.apache.uima.conceptMapper.support.tokens.TokenFilter.initConfig()

      // open input stream to data
      dictStream = dictLoader.getInputStream();

      TokenFilter tokenFilter = new TokenFilter(tokenAnnotationName, tokenTypeFeatureName,
              tokenClassFeatureName, logger);
      tokenFilter.initConfig(aContext);

      String langID = (String) aContext.getConfigParameterValue(PARAM_LANGID);
      if ((langID == null) || (langID == ""))
      {
        langID = DEFAULT_LANGID;
View Full Code Here

Examples of org.woped.config.metrics.WoPeDMetricsConfiguration.initConfig()

       
            // Load metrics configuration if check box is selected and
            // we do not have a non-static metrics configuration loaded yet
            if (useMetricsCheckBox.isSelected() && !ConfigurationManager.hasNonStaticMetricsConfiguration()) {
              WoPeDMetricsConfiguration metricsConfig = new WoPeDMetricsConfiguration();
              metricsConfig.initConfig();
              ConfigurationManager.setMetricsConfiguration(metricsConfig);
            }
       
            ConfigurationManager.getConfiguration().setAlgorithmDecimalPlaces(Integer.parseInt(algorithmDecimalPlacesSpinner.getModel().getValue().toString()));
            ConfigurationManager.getConfiguration().setVariableDecimalPlaces(Integer.parseInt(variableDecimalPlacesSpinner.getModel().getValue().toString()));
View Full Code Here

Examples of org.woped.config.metrics.WoPeDMetricsConfiguration.initConfig()

     
      // Check if metrics configuration should be loaded
      // and react accordingly
      if (getConfDocument().getConfiguration().getMetrics().getUseMetrics()) {
        WoPeDMetricsConfiguration metricsConfig = new WoPeDMetricsConfiguration();
        metricsConfig.initConfig();
        ConfigurationManager.setMetricsConfiguration(metricsConfig);
      }
    }
   
    return true;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.