code: public static void printDependencies(GrammaticalStructure gs, Collection<TypedDependency> deps, Tree tree, boolean conllx, boolean extraSep) {
      System.out.println(dependenciesToString(gs, deps, tree, conllx, extraSep));
    }
docs: Print typed dependencies in either the Stanford dependency representation
  or in the conllx format.
  
  @param deps
  Typed dependencies to print
  @param tree
  Tree corresponding to typed dependencies (only necessary if conllx
  == true)
  @param conllx
  If true use conllx format, otherwise use Stanford representation
  @param extraSep
  If true, in the Stanford representation, the extra dependencies
  (which do not preserve the tree structure) are printed after the
  basic dependencies