docs: public Set<IndexedPredicate> variableToIndexedPredicateArray(int varNum, long[] assignments) {
      Set<IndexedPredicate> predicates = Sets.newHashSet();
      for (int i = 0; i < assignments.length; i++) {
        if (CcgParser.getAssignmentVarNum(assignments[i]) == varNum) {
          int predicateNum = CcgParser.getAssignmentPredicateNum(assignments[i]);
          int index = CcgParser.getAssignmentWordIndex(assignments[i]);
          predicates.add(new IndexedPredicate((String) dependencyHeadType.getValue(predicateNum), index));
        }
      }
      return predicates;
    }