001 package edu.upenn.cis.propbank_shen; 002 003 import java.io.File; 004 005 006 /** 007 This class represents configuration information -- 008 particular filenames and directories of the propbank 009 data set. 010 @author Scott Cotton 011 */ 012 public class PBConfig { 013 014 public static String PropBankFile() { 015 return System.getProperty("PROPBANKFILE", "/usr/local/propbank/prop-all.idx"); 016 } 017 018 019 public static String TreeBankDir() 020 { 021 return System.getProperty("TREEBANKDIR", "/usr/local/corpora/wsj"); 022 } 023 024 public static String FrameDir() 025 { 026 return System.getProperty("FRAMEDIR", "/usr/local/lexica/frames"); 027 } 028 }