Skip to content

Commit

Permalink
more accurate filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Meyer committed Feb 27, 2018
1 parent 678ef32 commit b1c26f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trufflepig/preprocessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def preprocess(post_df, ncores=4, chunksize=500,
post_df.drop(to_drop.index, inplace=True)
logger.info('Kept {} posts'.format(len(post_df)))

logger.info('Filtering images')
logger.info('Filtering images and links')
post_df['filtered_body'] = post_df.body.apply(lambda x:
tftf.filter_images_and_links(x))

Expand Down

0 comments on commit b1c26f6

Please sign in to comment.