205206207208209210211212213214215
if (vnset.size() > 1) poly.add(roleset, verbnet); } List<String> keys = new ArrayList<String>(poly.keySet()); Map<String,String> map = new HashMap<String,String>(); Collections.sort(keys); StringDoublePair[] ps; for (String key : keys)
493494495496497498499500501502503
for (String rkey : rkeys) { map = rmap.get(rkey); for (String key : map.keySet()) System.out.printf("%s\t%s\t%s\t%d\n", rkey, key, Arrays.toString(map.getProb1D(key)), map.getTotal1D(key)); } } }