Skip to content

Commit

Permalink
less verbose logs
Browse files Browse the repository at this point in the history
  • Loading branch information
ogrisel committed Jan 26, 2012
1 parent d160d00 commit 37db559
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dbpediakit.py
Expand Up @@ -82,7 +82,7 @@ def extract_link(archive_filename, max_items=None, predicate_filter=None,
current_line_number += 1
if max_items is not None and extracted > max_items:
break
if current_line_number % 100000 == 0:
if current_line_number % 500000 == 0:
logging.info("Decoding line %d", current_line_number)
m = LINK_LINE_PATTERN.match(line)
if m is None:
Expand Down Expand Up @@ -134,7 +134,7 @@ def extract_text(archive_filename, max_items=None, min_length=300,
current_line_number += 1
if max_items is not None and extracted > max_items:
break
if current_line_number % 100000 == 0:
if current_line_number % 500000 == 0:
logging.info("Decoding line %d", current_line_number)
m = TEXT_LINE_PATTERN.match(line)
if m is None:
Expand Down

0 comments on commit 37db559

Please sign in to comment.