Commit c23161f9 authored by Baber's avatar Baber
Browse files

add todo

parent ee014926
......@@ -44,6 +44,7 @@ class FilterEnsemble:
def apply(self, instances: List[Instance]) -> None:
resps, docs = zip(*((inst.resps, inst.doc) for inst in instances))
# TODO: add backward
resps, docs = list([r.text] for y in resps for r in y), list(docs)
for f in self.filters:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment