Package com.clearnlp.propbank.verbnet

Examples of com.clearnlp.propbank.verbnet.PVVerb


 
  public Set<String> getRSet(PVMap pvMap, Set<String> prev)
  {
    Set<String> sVncls, sVerb, curr = new HashSet<String>();
    PVRoleset   pvRoleset;
    PVVerb      pvVerb;
   
    int[] count = new int[5];
    int total = 0, c;
   
    for (String verb : pvMap.keySet())
    {
      pvVerb = pvMap.get(verb);
       sVerb = pvVerb.keySet();
      total += sVerb.size();
     
      for (String roleset : sVerb)
      {
        pvRoleset = pvVerb.get(roleset);
        sVncls = new HashSet<String>(pvRoleset.keySet());
        c = sVncls.size();
        sVncls.removeAll(prev);
       
        if (sVncls.isEmpty())  c = 1;
View Full Code Here


 
  public Set<String> getVSet(PVMap pvMap, Set<String> prev)
  {
    Set<String> sVncls, sVerb, curr = new HashSet<String>();
    PVRoleset   pvRoleset;
    PVVerb      pvVerb;
   
    int[] count = new int[5];
    int total = 0, c;
   
    for (String verb : pvMap.keySet())
    {
      pvVerb = pvMap.get(verb);
       sVerb = pvVerb.keySet();
      sVncls = new HashSet<String>();
      total++;
     
      for (String roleset : sVerb)
      {
        pvRoleset = pvVerb.get(roleset);
        sVncls.addAll(pvRoleset.keySet());
      }
     
      c = sVncls.size();
      sVncls.removeAll(prev);
View Full Code Here

TOP

Related Classes of com.clearnlp.propbank.verbnet.PVVerb

Copyright © 2018 www.massapicom. 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.