* @param uniqueOnly if {@code true}, include only unique trees.
* @return a list of pairs containing parsed trees and their scores, sorted by scores in descending order.
*/
public List<ObjectDoublePair<DEPTree>> getParsedTrees(DEPTree tree, boolean uniqueOnly)
{
DEPState state = init(tree);
processAux(state);
List<ObjectsDoubleTriple<List<StringInstance>,StringIntPair[]>> branches = state.getBranches();
List<ObjectDoublePair<DEPTree>> trees = Lists.newArrayList();
Set<String> set = Sets.newHashSet();
String s;
UTCollection.sortReverseOrder(branches);