1 2 3 4 5 6 7
5c73c40bccfe 5c73c40bccfe 5c73c40bccfe 5c73c40bccfe 5c73c40bccfe 5c73c40bccfe 5c73c40bccfe
import pathlib import re DATA_DIR = pathlib.Path(__file__).with_name('data') def normalize_whitespace(s): return re.sub(r'(\t| {3,})', ' ', s)