docs: public List<DependencyStructure> getDependenciesWithHeadWord(int wordIndex) {
      List<DependencyStructure> deps = getAllDependencies();
      List<DependencyStructure> filteredDeps = Lists.newArrayList();
      for (DependencyStructure dep : deps) {
        if (dep.getHeadWordIndex() == wordIndex) {
          filteredDeps.add(dep);
        }
      }
      return filteredDeps;
    }