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

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

Best Java code snippets using de.tudarmstadt.ukp.dkpro.wsd.si.resource.SenseInventoryResourceBase (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.resourceSenseInventoryResourceBase

Javadoc

An abstract resource wrapping sense inventories

Most used methods

  • initialize

Popular in Java

  • Running tasks concurrently on multiple threads
  • getSystemService (Context)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getSupportFragmentManager (FragmentActivity)
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • JFileChooser (javax.swing)
  • Top 12 Jupyter Notebook extensions
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