We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a2dbc8 commit bdfadc0Copy full SHA for bdfadc0
tibert/bertcoref.py
@@ -485,7 +485,7 @@ def from_sacr_dir(
485
documents = []
486
m_tokenizer = MosesTokenizer(lang=lang)
487
488
- for fpath in tqdm(glob.glob(f"{path}/*.sacr")):
+ for fpath in tqdm(sorted(glob.glob(f"{path}/*.sacr"))):
489
with open(fpath, **kwargs) as f:
490
text = f.read().replace("\n", " ")
491
0 commit comments