docs: @Override
    protected void collapseDependenciesTree(List<TypedDependency> list) {
      correctDependencies(list);
      if (DEBUG) {
        printListSorted("After correctDependencies:", list);
      }
      eraseMultiConj(list);
      if (DEBUG) {
        printListSorted("After collapse multi conj:", list);
      }
  
      collapse2WP(list);
      if (DEBUG) {
        printListSorted("After collapse2WP:", list);
      }
  
      collapseFlatMWP(list);
      if (DEBUG) {
        printListSorted("After collapseFlatMWP:", list);
      }
  
      collapse2WPbis(list);
      if (DEBUG) {
        printListSorted("After collapse2WPbis:", list);
      }
  
      collapse3WP(list);
      if (DEBUG) {
        printListSorted("After collapse3WP:", list);
      }
  
      collapsePrepAndPoss(list);
      if (DEBUG) {
        printListSorted("After PrepAndPoss:", list);
      }
  
      collapseConj(list);
      if (DEBUG) {
        printListSorted("After conj:", list);
      }
  
      Collections.sort(list);
      if (DEBUG) {
        printListSorted("After all collapse:", list);
      }
    }