Tabnine Logo
SenseInventoryResourceBase.initialize
Code IndexAdd Tabnine to your IDE (free)

How to use
initialize
method
in
de.tudarmstadt.ukp.dkpro.wsd.si.resource.SenseInventoryResourceBase

Best Java code snippets using de.tudarmstadt.ukp.dkpro.wsd.si.resource.SenseInventoryResourceBase.initialize (Showing top 4 results out of 315)

origin: de.tudarmstadt.ukp.dkpro.wsd/de.tudarmstadt.ukp.dkpro.wsd.si.linkdatabase

@SuppressWarnings({ "unchecked", "rawtypes" })
@Override
public boolean initialize(ResourceSpecifier aSpecifier, Map additionalParams)
throws ResourceInitializationException
{
  if (!super.initialize(aSpecifier, additionalParams)) {
    return false;
  }
  inventory = new LinkDatabaseInventory(resourceHost, resourceDatabase);
  return true;
}
origin: de.tudarmstadt.ukp.dkpro.wsd/de.tudarmstadt.ukp.dkpro.wsd.core

@SuppressWarnings({ "unchecked", "rawtypes" })
@Override
public boolean initialize(ResourceSpecifier aSpecifier, Map aAdditionalParams)
  throws ResourceInitializationException
{
  if (!super.initialize(aSpecifier, aAdditionalParams)) {
    return false;
  }
  inventory = new TestSenseInventory();
  return true;
}
origin: de.tudarmstadt.ukp.dkpro.wsd/de.tudarmstadt.ukp.dkpro.wsd.core

  @SuppressWarnings({ "unchecked", "rawtypes" })
  @Override
  public boolean initialize(ResourceSpecifier aSpecifier,
      Map aAdditionalParams)
    throws ResourceInitializationException
  {
    if (!super.initialize(aSpecifier, aAdditionalParams)) {
      return false;
    }

    inventory = new FixedSenseInventory(fixedSenseId, fixedSenseDescription);

    return true;
  }
}
origin: de.tudarmstadt.ukp.dkpro.wsd/de.tudarmstadt.ukp.dkpro.wsd.si.lsr

  @SuppressWarnings({ "unchecked", "rawtypes" })
  @Override
  public boolean initialize(ResourceSpecifier aSpecifier, Map aAdditionalParams)
    throws ResourceInitializationException
  {
    if (!super.initialize(aSpecifier, aAdditionalParams)) {
      return false;
    }

    try {
      inventory = new LsrSenseInventory(lsrName, resourceLanguage);
    }
    catch (ResourceLoaderException e) {
      throw new ResourceInitializationException(e);
    }

    return true;
  }
}
de.tudarmstadt.ukp.dkpro.wsd.si.resourceSenseInventoryResourceBaseinitialize

Popular methods of SenseInventoryResourceBase

    Popular in Java

    • Making http requests using okhttp
    • getExternalFilesDir (Context)
    • getOriginalFilename (MultipartFile)
      Return the original filename in the client's filesystem.This may contain path information depending
    • setScale (BigDecimal)
    • BufferedInputStream (java.io)
      A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
    • Runnable (java.lang)
      Represents a command that can be executed. Often used to run code in a different Thread.
    • Locale (java.util)
      Locale represents a language/country/variant combination. Locales are used to alter the presentatio
    • JLabel (javax.swing)
    • FileUtils (org.apache.commons.io)
      General file manipulation utilities. Facilities are provided in the following areas: * writing to a
    • IOUtils (org.apache.commons.io)
      General IO stream manipulation utilities. This class provides static utility methods for input/outpu
    • Best IntelliJ plugins
    Tabnine Logo
    • Products

      Search for Java codeSearch for JavaScript code
    • IDE Plugins

      IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
    • Company

      About UsContact UsCareers
    • Resources

      FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
    Get Tabnine for your IDE now