Skip to content

Commit 5feb78a

Browse files
look for annotations in WebAnnotator folder
1 parent c1a1175 commit 5feb78a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

example/ner/data.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ def load_webstruct_data() -> List:
4444
)
4545

4646
trees2 = webstruct.load_trees(
47-
str(WEBSTRUCT_DATA / "corpus/us_contact_pages/annotated/*.xml"),
48-
loader=gate_loader
47+
str(WEBSTRUCT_DATA / "corpus/us_contact_pages/wa/*.html"),
48+
loader=wa_loader
4949
)
5050
trees = chain(trees1, trees2)
5151
return list(pages_progress(trees, desc="Loading webstruct default annotated data"))

0 commit comments

Comments
 (0)