edu.upenn.cis.propbank_shen
Class Propbank
java.lang.Object
java.util.AbstractMap
java.util.HashMap
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. |
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
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