while (prev.size() < curr.size());
}
public VerbNetCount(String pbvnFile, String inputDir) throws Exception
{
PVMap pvMap = new PVMap(new BufferedInputStream(new FileInputStream(pbvnFile)));
Map<String,Set<String>> mDif = new HashMap<String,Set<String>>();
Map<String,Set<String>> mSub = new HashMap<String,Set<String>>();
Pattern delim = Pattern.compile("\t");
String line, roleset, vncls;
BufferedReader fin;
Set<String> sVN;
DEPFeat feat;
String[] l;
for (String filename : UTFile.getInputFileList(inputDir, ".pmd"))
{
fin = UTInput.createBufferedFileReader(filename);
while ((line = fin.readLine()) != null)
{
line = line.trim();
if (line.isEmpty())
{
}
else
{
l = delim.split(line);
feat = new DEPFeat(l[6]);
roleset = feat.get(DEPLib.FEAT_PB);
vncls = feat.get(DEPLib.FEAT_VN);
if (roleset != null && vncls != null)
{
sVN = pvMap.getVNSet(roleset);
if (!sVN.contains(vncls))
{
if (checkSub(sVN, vncls)) add(mSub, roleset, vncls);
else add(mDif, roleset, vncls);