Skip to content

Commit c6aee2a

Browse files
fix: Typo in numbered_reference_annotator
1 parent 8ea7462 commit c6aee2a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deep_reference_parser/prodigy/numbered_reference_annotator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,9 @@ def annotate_numbered_references(input_file, output_file):
141141
logger.info("Loaded %s prodigy docs", len(numbered_reference_sections))
142142

143143
nra = NumberedReferenceAnnotator()
144-
docs = list(nra.run[numbered_reference_sections])
144+
docs = list(nra.run(numbered_reference_sections))
145145

146-
write_jsonl(output_file)
146+
write_jsonl(docs, output_file)
147147

148148
logger.info("Wrote %s annotated references to %s", len(docs),
149149
output_file)

0 commit comments

Comments
 (0)