modbot.preprocessing.correct_msg

modbot.preprocessing.correct_msg(line)[source]

Santitize message. Delete usernames, prune characters, and remove repetitions

Parameters

line (str) – String containing message

Returns

Sanitized message

Return type

str