public Map<String, String> extractAbbrPairs(String inFile) {
        FileReader fr;
        try {
            fr = new FileReader(inFile);
            return extractAbbrPairs(fr);
        } catch (FileNotFoundException e) {
            e.printStackTrace();
            return new HashMap<String, String>();
        }
    }
public Map < String , String > extractAbbrPairs ( String inFile ) { FileReader fr ; try { fr = new FileReader ( inFile ) ; return extractAbbrPairs ( fr ) ; } catch ( FileNotFoundException e ) { e . printStackTrace ( ) ; return new HashMap < String , String > ( ) ; } }
Method altered, 08/19/08. Processing code moved to extractAbbrPairs(Reader) to facilitate extraction of abbreviations directly from text (i.e.
a String not a file).

@param inFile
@return