code: public static String parseResult(List<Vertex> path)
      {
          if (path.size() < 2)
          {
              throw new RuntimeException("路径节点数小于2:" + path);
          }
          StringBuffer sb = new StringBuffer();
  
          for (int i = 1; i < path.size() - 1; ++i)
          {
              Vertex v = path.get(i);
              sb.append(v.getRealWord() + " ");
          }
  
          return sb.toString();
      }
docs: 从一个路径中转换出空格隔开的结果
  @param path
  @return