thomasw21 commited on
Commit
af91e86
·
1 Parent(s): 113d6ab

Remove prints

Browse files
Files changed (1) hide show
  1. pmd.py +0 -4
pmd.py CHANGED
@@ -632,17 +632,13 @@ class YFCC100MLoader(BaseLoaderWithDLManager):
632
  # # TODO @thomasw21 we probably don't need to split all the way til the end ...
633
  # if len([substring for substring in self.WHITE_SPACE_REGEX.split(text) if substring != ""]) < 2:
634
  # return False
635
- print(text)
636
  if self.WEIRD_CHARACTERS_REGEX.search(text) is not None:
637
- print("there's a weird character")
638
  return False
639
 
640
  if self.SECOND_WORD_REGEX.search(text) is None:
641
- print("there's no second word")
642
  return False
643
 
644
  if self.DATE_HOUR_REGEX.search(text) is not None:
645
- print("there are dates")
646
  return False
647
 
648
  # filter only english
 
632
  # # TODO @thomasw21 we probably don't need to split all the way til the end ...
633
  # if len([substring for substring in self.WHITE_SPACE_REGEX.split(text) if substring != ""]) < 2:
634
  # return False
 
635
  if self.WEIRD_CHARACTERS_REGEX.search(text) is not None:
 
636
  return False
637
 
638
  if self.SECOND_WORD_REGEX.search(text) is None:
 
639
  return False
640
 
641
  if self.DATE_HOUR_REGEX.search(text) is not None:
 
642
  return False
643
 
644
  # filter only english