Skip to content

Commit

Permalink
Clarified desc
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolay-r committed Jan 8, 2023
1 parent 211bb2b commit e3180f2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion arelight/brat_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,10 @@ def __extract_data_from_samples(self, samples, docs_range):
text_terms = []
relations = []

for doc_id, doc_data in tqdm(self.__iter_docs_data(samples, sent_data_cols=sent_data_cols)):
it_data = tqdm(self.__iter_docs_data(samples, sent_data_cols=sent_data_cols),
desc="Iter documents data")

for doc_id, doc_data in it_data:

# Check whether document to be saved is actually in range.
if docs_range is not None and not (doc_id >= docs_range[0] and doc_id <= docs_range[1]):
Expand Down

0 comments on commit e3180f2

Please sign in to comment.