public static String wordsToPhrase(List words) {
    StringBuffer stringBuffer = new StringBuffer();
    for (int i = 0; i < words.size(); i++) {
      if (i > 0)
        stringBuffer.append(" ");
      stringBuffer.append(words.get(i));
    }
    return stringBuffer.toString();
  }