public void readPhrasesWithTagScores(String filename, Pattern fieldDelimiterPattern, Pattern countDelimiterPattern) throws IOException
{
Timing timer = new Timing();
timer.doing("Reading phrases: " + filename);
BufferedReader br = IOUtils.getBufferedFileReader(filename);
<BUG>String line;
while ((line = br.readLine()) != null) {</BUG>
String[] columns = fieldDelimiterPattern.split(line);
String phrase = columns[0];
MapFactory<String,MutableDouble> mapFactory = (columns.length < 20)?

public void readPhrasesWithTagScores(String filename, Pattern fieldDelimiterPattern, Pattern countDelimiterPattern) throws IOException
{
Timing timer = new Timing();
timer.doing("Reading phrases: " + filename);
BufferedReader br = IOUtils.getBufferedFileReader(filename);
String line;
int lineno = 0;
while ((line = br.readLine()) != null) {
String[] columns = fieldDelimiterPattern.split(line);
String phrase = columns[0];
MapFactory<String,MutableDouble> mapFactory = (columns.length < 20)?
