edu.upenn.cis.propbank_shen
Class Propbank

java.lang.Object
  extended by java.util.AbstractMap
      extended by java.util.HashMap
          extended by edu.upenn.cis.propbank_shen.Propbank
All Implemented Interfaces:
Serializable, Cloneable, Map

public class Propbank
extends HashMap

This class encapsulates the actual Propbank annotation file as modified by Libin Shen.

Author:
Lucas Champollion
See Also:
Serialized Form

Constructor Summary
Propbank()
          Creates a new instance of Propbank, using the default location as indicated in (@link PBConfig}.
Propbank(String location)
          Creates a new instance of Propbank from the file location indicated (e.g.
 
Method Summary
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

Propbank

public Propbank()
Creates a new instance of Propbank, using the default location as indicated in (@link PBConfig}.


Propbank

public Propbank(String location)
Creates a new instance of Propbank from the file location indicated (e.g. "/usr/local/propbank/prop-all.idx").

Parameters:
location - a path to Libin Shen's Propbank file