Codota Logo
POS.values
Code IndexAdd Codota 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)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew LinkedList()
  • Codota IconCollections.emptyList()
  • Codota Iconnew ArrayList()
  • Smart code suggestions by Codota
}
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

  • Running tasks concurrently on multiple threads
  • onRequestPermissionsResult (Fragment)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • FileOutputStream (java.io)
    A file output stream is an output stream for writing data to aFile or to a FileDescriptor. Whether
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • JButton (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now