Tabnine Logo
POS.values
Code IndexAdd Tabnine to your IDE (free)

How to use
values
method
in
de.tudarmstadt.ukp.dkpro.wsd.si.POS

Best Java code snippets using de.tudarmstadt.ukp.dkpro.wsd.si.POS.values (Showing top 9 results out of 315)

origin: de.tudarmstadt.ukp.dkpro.wsd/de.tudarmstadt.ukp.dkpro.wsd.core

@Override
public List<String> getSenses(String sod)
  throws SenseInventoryException
{
  List<String> senses = new ArrayList<String>();
  for (POS pos : POS.values()) {
    senses.addAll(getSenses(sod, pos));
  }
  return senses;
}
origin: de.tudarmstadt.ukp.dkpro.wsd/de.tudarmstadt.ukp.dkpro.wsd.evaluation

@Override
public void initialize(UimaContext context)
  throws ResourceInitializationException
{
  super.initialize(context);
  uniqueInstances = new HashSet<Pair<String, POS>>();
  polysemousInstanceCount = new HashMap<POS, Integer>();
  uniquePolysemousInstanceCount = new HashMap<POS, Integer>();
  monosemousInstanceCount = new HashMap<POS, Integer>();
  uniqueMonosemousInstanceCount = new HashMap<POS, Integer>();
  unknownInstanceCount = new HashMap<POS, Integer>();
  uniqueUnknownInstanceCount = new HashMap<POS, Integer>();
  polysemousSenseCount = new HashMap<POS, Integer>();
  uniquePolysemousSenseCount = new HashMap<POS, Integer>();
  for (POS pos : POS.values()) {
    polysemousInstanceCount.put(pos, Integer.valueOf(0));
    uniquePolysemousInstanceCount.put(pos, Integer.valueOf(0));
    monosemousInstanceCount.put(pos, Integer.valueOf(0));
    uniqueMonosemousInstanceCount.put(pos, Integer.valueOf(0));
    unknownInstanceCount.put(pos, Integer.valueOf(0));
    uniqueUnknownInstanceCount.put(pos, Integer.valueOf(0));
    polysemousSenseCount.put(pos, Integer.valueOf(0));
    uniquePolysemousSenseCount.put(pos, Integer.valueOf(0));
  }
}
origin: de.tudarmstadt.ukp.dkpro.wsd/de.tudarmstadt.ukp.dkpro.wsd.evaluation

for (POS pos : POS.values()) {
  agreement.put(pos, new double[2][2]);
clusteredScoreByLemma = new HashMap<String, Double>();
randomClusteredScoreByLemma = new HashMap<String, Double>();
for (POS pos : POS.values()) {
  clusteredScore.put(pos, Double.valueOf(0.0));
  randomClusteredScore.put(pos, Double.valueOf(0.0));
origin: de.tudarmstadt.ukp.dkpro.wsd/de.tudarmstadt.ukp.dkpro.wsd.evaluation

totalScore = new HashMap<POS, Double>();
backoffScore = new HashMap<POS, Double>();
for (POS pos : POS.values()) {
  testAnnotatedInstances.put(pos, Integer.valueOf(0));
  goldAnnotatedInstances.put(pos, Integer.valueOf(0));
origin: de.tudarmstadt.ukp.dkpro.wsd/de.tudarmstadt.ukp.dkpro.wsd.evaluation

    "---", "-----", "-----", "-------", "-------", "-------",
    "------", "--", "---");
for (POS pos : POS.values()) {
  totalUnknownInstanceCount += unknownInstanceCount.get(pos);
  totalMonosemousInstanceCount += monosemousInstanceCount.get(pos);
    "---", "-----", "-----", "-------", "-------", "-------",
    "------", "--", "---");
for (POS pos : POS.values()) {
  totalUnknownInstanceCount += uniqueUnknownInstanceCount.get(pos);
  totalMonosemousInstanceCount += uniqueMonosemousInstanceCount
origin: de.tudarmstadt.ukp.dkpro.wsd/de.tudarmstadt.ukp.dkpro.wsd.evaluation

double totalTotalScore = 0.0;
for (POS pos : POS.values()) {
  Pair<String, POS> algorithmPOS = new Pair<String, POS>(
      algorithm, pos);
origin: de.tudarmstadt.ukp.dkpro.wsd/de.tudarmstadt.ukp.dkpro.wsd.evaluation

for (POS pos : POS.values()) {
  totalAgreement[0][0] += agreement.get(pos)[0][0];
  totalAgreement[0][1] += agreement.get(pos)[0][1];
origin: de.tudarmstadt.ukp.dkpro.wsd/de.tudarmstadt.ukp.dkpro.wsd.evaluation

for (POS pos : POS.values()) {
  WSDStats wsdStats = new WSDStats(testAnnotatedInstances.get(pos),
      bothAnnotatedInstances.get(pos),
origin: de.tudarmstadt.ukp.dkpro.wsd/de.tudarmstadt.ukp.dkpro.wsd.evaluation

for (POS pos : POS.values()) {
  WSDStats unclusteredWsdStats = new WSDStats(
      testAnnotatedInstances.get(pos),
de.tudarmstadt.ukp.dkpro.wsd.siPOSvalues

Popular methods of POS

  • toString
  • valueOf

Popular in Java

  • Making http requests using okhttp
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getContentResolver (Context)
  • putExtra (Intent)
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Top plugins for Android Studio
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